getFeaturesForBounds

abstract fun getFeaturesForBounds(bounds: LatLngBounds, zoomLevel: Int): FeatureCollection(source)

Interface method called by CustomGeometrySource to request features for a tile.

Return

Return a @{link FeatureCollection} to be displayed in the requested tile.

Parameters

bounds

LatLngBounds of the tile.

zoomLevel

Tile zoom level.