Select to view content in your preferred language

LATITUDE AND LONGITUDE RESULT ON MAP BY USER

2948
7
Jump to solution
02-03-2016 08:16 PM
ADITIROY
Deactivated User

HELLO GUYS,CAN YOU PLEASE HELP ME.  I WANT TO SHOW THE RESULT OF LATITUDE AND LONGITUDE ON THE MAP AS POINT AND LAT AND LONG WILL BE FEED BY THE USER IN ARCGIS JAVASCRIPT.

0 Kudos
1 Solution

Accepted Solutions
ADITIROY
Deactivated User

Dear Robert,

Thank you for your help.

Aditi

View solution in original post

0 Kudos
7 Replies
DanPatterson_Retired
MVP Emeritus

so what have you read?  what have you tried? a very open question or are you looking for a pre-done solution?

ADITIROY
Deactivated User

Hello Sir,

Thank you for the prompt reply. I am new to ArcGIS JavaScript. I want some help in doing the coding and want to see some pre done solution on this topic. Basically I want to search the location of the point on the earth when  I feed latitude and longitude from an user point of view . It will something similar to geocode  example where instead of inputting the location or address the user will feed latitude and longitude.

Thanks Again,

Aditi

0 Kudos
MiriamBrockmann
Frequent Contributor

Good Morning!

I would have a close look at esris map.centerAt(mapPoint)

Here's the Hyperlink to it. Normaly that's all you need to zoom to a Point on a Map.

Map | API Reference | ArcGIS API for JavaScript

Regards, Miriam

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Adita,

   Sure Tim Witt has a widget out there just for this:

http://jsfiddle.net/timw1984/ahnmv8gy/embedded/result/

ADITIROY
Deactivated User

Dear Robert,

Thank you for your help.

Aditi

0 Kudos
ADITIROY
Deactivated User

Hi Everyone,

I have one more question, the point plotted on the map and I want to directly do a buffer on the point on click.

Thanks,

Aditi

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Aditi,

   You will have to add code to the function where the graphic is added to the map.Look at the Geometry Engine buffer method:

esri/geometry/geometryEngine | API Reference | ArcGIS API for JavaScript | Buffer

Also if your original question has been answered then make sure you mark this thread as the correct answer.