Show co-ordinates

558
3
07-31-2012 02:02 AM
PramodHarithsa1
Occasional Contributor II
I have used
map.showCoordinateTracker = true;
to track the co-ordinates on mouse move in web ADF(Java)
do we have something similar in Javascript as well ?
0 Kudos
3 Replies
MostafaFouly
New Contributor
you can show your current position on extent change, check the following sample:
http://help.arcgis.com/en/webapi/javascript/arcgis/demos/map/map_currentextent.html

also you can tweak it to show the position and not the extent,
http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jsapi_start.htm#jsapi/ma...
0 Kudos
MostafaFouly
New Contributor
you can also show x, y coordinates on mouse move like the following sample:
http://help.arcgis.com/en/webapi/javascript/arcgis/demos/map/map_xycoords.html
0 Kudos
PramodHarithsa1
Occasional Contributor II
Thanks Mostafa:)
0 Kudos