Custom
            class CustomGeometrySource(id: String, options: CustomGeometrySourceOptions) : StyleContract.StyleSourceExtension
Content copied to clipboard
Custom Vector Source, allows using FeatureCollections.
CustomGeometrySource uses a coalescing model for frequent data updates targeting the same tile id, which means, that the in-progress request as well as the last scheduled request are guaranteed to finish. Any requests scheduled meanwhile can be canceled.
Constructors
CustomGeometrySource
                          
                    Link copied to clipboard
                        fun CustomGeometrySource(id: String, options: CustomGeometrySourceOptions)
Content copied to clipboard
Functions
bind
                    Link copied to clipboard
                        Add the source to the Style.
invalid
                    Link copied to clipboard
                        Invalidate region for provided custom geometry source.
invalid
                    Link copied to clipboard
                        Invalidate tile for provided custom geometry source.
set
                    Link copied to clipboard
                        fun setTileData(tileID: CanonicalTileID, featureCollection: MutableList<Feature>)
Content copied to clipboard
Set tile data of a custom geometry.