Help needed on loading map with x,y/lat,long marked on a map and zoomed to that level

466
1
02-10-2014 09:32 PM
Pavan_KumarChebrolu
New Contributor
I am very much new to ArcGIS maps, I am looking for javascript to load an existing x,y/lat.long that I stored in the database on the map. My requirement is when ever user records get loaded I need to fetch the co-ordinates that are stored in the database and locate it in the map and zoomed to that level, like how locate works right now, but there I cant pass my custom co-ordinates to it.

Any pointers to this is greatly appreciated.
0 Kudos
1 Reply
RobertoPepato
Occasional Contributor II
I am very much new to ArcGIS maps, I am looking for javascript to load an existing x,y/lat.long that I stored in the database on the map. My requirement is when ever user records get loaded I need to fetch the co-ordinates that are stored in the database and locate it in the map and zoomed to that level, like how locate works right now, but there I cant pass my custom co-ordinates to it.

Any pointers to this is greatly appreciated.


If you already have the point reference, you can zoom to it through map.centerAndZoom passing the point as a parameter.
0 Kudos