data

fun data(value: String): GeoJsonSource

A URL to a GeoJSON file, or inline GeoJSON.

val data: String?

A URL to a GeoJSON file, or inline GeoJSON.

Note: Getter for plain Geojson string data is not supported due to performance consideration.