Select to view content in your preferred language

Reverse GeoCode

3534
10
Jump to solution
08-04-2014 06:36 AM
jaykapalczynski
Frequent Contributor

Any examples out there of allowing the user to type in a lat long and creating a point at that location and/or zooming to it,,,,

Much like the below but with XY not address

Geocode an address | ArcGIS API for JavaScript

0 Kudos
10 Replies
jaykapalczynski
Frequent Contributor

Think I got it with the below.....thanks for all your help.....

            var graphicExtent = graphic1._extent.getExtent();

          app.map.centerAndZoom(evt.address.location,15);

0 Kudos