updateGeoJSON method

Future<void>? updateGeoJSON(
  1. String geoJson
)

Update this GeojsonSource with a URL to a GeoJSON file, or inline GeoJSON.

Implementation

Future<void>? updateGeoJSON(String geoJson) async {
  return _style?.setStyleSourceProperty(id, "data", geoJson);
}