url
Deprecated
Method url() is deprecated in favor of data() method as they do the same thing
Replace with
data(value, dataId)
Content copied to clipboard
Parameters
value
an URL to a GeoJSON file, or an inline GeoJSON.
data Id
optional metadata to filter the SOURCE_DATA_LOADED events later. Empty string is treated as no data id.