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

Detecting user location

Save as filesEdit on JSFiddle

The API lets you get information about the user's probable location by the IP address.

Access to this data is provided by the geolocation static object.