removeGeoJSONSourceFeatures

fun removeGeoJSONSourceFeatures(sourceId: String, dataId: String, featureIds: List<String>): Expected<String, None>

Remove features from the GeoJSON source. Call may take significant time for parsing and marshalling depending on the data size. Direct method use is not recommended, consider using GeoJsonSource.removeGeoJSONSourceFeatures instead.

Parameters

sourceId

the id of the GeoJSON source

dataId

an arbitrary string used to track the given GeoJSON data, empty string means null ID

featureIds

list of feature ids to remove