interface GeoJsonSource : Source
The interface that represents a GeoJSON source.
abstract fun setGeoJson(geoJson: String): Unit
Sets the GeoJSON data for the source using abstract fun setGeoJson(geoJson: GeoJsonObject): Unit
Sets the GeoJSON data for the source using |
|
abstract fun setUrl(url: String): Unit
Sets the URL of GeoJSON data for the source. |
abstract fun getId(): String
Returns the ID (a human-readable name) of the source. |