Computed Source
actual constructor(id: String, options: ComputedSourceOptions, getFeatures: (bounds: BoundingBox, zoomLevel: Int) -> FeatureCollection)(source)
expect constructor(id: String, options: ComputedSourceOptions = ComputedSourceOptions(), getFeatures: (bounds: BoundingBox, zoomLevel: Int) -> FeatureCollection)(source)
Parameters
id
Unique identifier for this source
get Features
A function that retrieves a FeatureCollection for the given BoundingBox and zoom level.
options
actual constructor(id: String, options: ComputedSourceOptions, getFeatures: (bounds: BoundingBox, zoomLevel: Int) -> FeatureCollection)(source)
actual constructor(id: String, options: ComputedSourceOptions, getFeatures: (bounds: BoundingBox, zoomLevel: Int) -> FeatureCollection)(source)
actual constructor(id: String, options: ComputedSourceOptions, getFeatures: (bounds: BoundingBox, zoomLevel: Int) -> FeatureCollection)(source)