update Geo JSONSource Features
fun updateGeoJSONSourceFeatures(sourceId: String, dataId: String, features: List<Feature>): Expected<String, None>
Update features in 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.updateGeoJSONSourceFeatures instead.
Parameters
source Id
the id of the GeoJSON source
data Id
an arbitrary string used to track the given GeoJSON data, empty string means null ID
features
list of features to update