The example shows how to load data using JQuery.getJSON()
and display it on the map.
Loaded data is provided in GeoJSON format. To add it to the map, use geoQuery.
Note that the object coordinates are set in the order "longitude, latitude". Since the API uses "latitude, longitude" by default,
the "coordorder" parameter with the "lotlang" value must be passed when enabling the API. For more information, see the section Enabling the API.
The example shows how to load data using JQuery.getJSON() and display it on the map.
Loaded data is provided in GeoJSON format. To add it to the map, use geoQuery.
Note that the object coordinates are set in the order "longitude, latitude". Since the API uses "latitude, longitude" by default, the "coordorder" parameter with the "lotlang" value must be passed when enabling the API. For more information, see the section Enabling the API.