is there any sample for go to x y ? I need a sample that user can change wkid manual and go to x y ..
Anjelina,
Here is a link to a tool that was put together for that:
https://community.esri.com/people/timw1984/blog/2014/08/18/javascript-api-location-widget
Thanks
How we can use UTM coordinate instead of MGRS in this sample ?
Anjelina,
That would involve you adding new code to handle UTM using the geomertyService to project the coordinates. Happy programming.
Hi
Thnks, but I saw a geocode url in the above sample. how we can generat new one?
Anjelina,
In that sample (which is a couple of years old) Tim uses a Geocode service to take a MGRS string and get a coordinate. This is not a route you need to concern yourself with.
I need more help...
What have your tried?.. Did you look at the GeometryService project method?
https://developers.arcgis.com/javascript/3/jsapi/geometryservice-amd.html#project
Anjelina,
This widget for JS API will help:
https://community.esri.com/docs/DOC-11136-gotoxy-widget-version-10-122717