go to x y

1502
8
12-17-2017 12:58 AM
anjelinaponkerat
Occasional Contributor II

is there any sample for go to x y ? I need a sample that user can change wkid manual and go to x y ..

0 Kudos
8 Replies
RobertScheitlin__GISP
MVP Emeritus

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 

anjelinaponkerat
Occasional Contributor II

Thanks

How we can use UTM coordinate instead of MGRS in this sample ?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Anjelina,


  That would involve you adding new code to handle UTM using the geomertyService to project the coordinates. Happy programming.

0 Kudos
anjelinaponkerat
Occasional Contributor II

Hi

Thnks, but I saw a geocode url in the above sample. how we can generat new one?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

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.

0 Kudos
anjelinaponkerat
Occasional Contributor II

I need more help...

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

What have your tried?.. Did you look at the GeometryService project method?

https://developers.arcgis.com/javascript/3/jsapi/geometryservice-amd.html#project 

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Anjelina,

   This widget for JS API will help:

https://community.esri.com/docs/DOC-11136-gotoxy-widget-version-10-122717