Version:
Popular examples
Map
Geo objects
Balloon and hint
Controls
Hotspots
Regions
Clustering
GeoQuery
Behaviors and events
Search on a map
Traffic
User's location
Routing
YMapsML
GeoXML
ObjectManager
Modular system
Panoramas
External modules

Loading geo data using jQuery and adding it to the map

Save as filesEdit on JSFiddle

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.