Custom Geometry Source
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.
class CustomGeometrySource(id: String, options: CustomGeometrySourceOptions) : StyleContract.StyleSourceExtension
Content copied to clipboard
Constructors
CustomGeometrySource
Link copied to clipboard
fun CustomGeometrySource(id: String, options: CustomGeometrySourceOptions)
Content copied to clipboard
Functions
bindTo
Link copied to clipboard
equals
Link copied to clipboard
invalidRegion
Link copied to clipboard
invalidTile
Link copied to clipboard
setTileData
Link copied to clipboard
fun setTileData(tileID: CanonicalTileID, featureCollection: MutableList<Feature>)
Content copied to clipboard