rememberGeoJsonSource

@Composable
fun rememberGeoJsonSource(options: ComputedSourceOptions = ComputedSourceOptions(), getFeatures: (bounds: BoundingBox, zoomLevel: Int) -> FeatureCollection): ComputedSource(source)

Remember a new ComputedSource with the given options from the given getFeatures function.


@Composable
fun rememberGeoJsonSource(data: GeoJsonData, options: GeoJsonOptions = GeoJsonOptions()): GeoJsonSource(source)

Remember a new GeoJsonSource with the given options from the given GeoJsonData.