setGeoJsonSync

fun setGeoJsonSync(feature: Feature?)

Updates the GeoJson with a single feature. The update is performed synchronously, so the data will be immediately visible and available to query when this method returns.

Parameters

feature

the GeoJSON Feature to set


fun setGeoJsonSync(geometry: Geometry?)

Updates the GeoJson with a single geometry. The update is performed synchronously, so the data will be immediately visible and available to query when this method returns.

Parameters

geometry

the GeoJSON Geometry to set


fun setGeoJsonSync(featureCollection: FeatureCollection?)

Updates the GeoJson. The update is performed synchronously, so the data will be immediately visible and available to query when this method returns.

Parameters

featureCollection

the GeoJSON FeatureCollection


Updates the GeoJson. The update is performed synchronously, so the data will be immediately visible and available to query when this method returns.

Parameters

json

the raw GeoJson FeatureCollection string