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.