How to Manually add marker/pointer to Arcgis Map using X/Y Coordinates

6747
7
07-08-2013 07:31 PM
LeoQuah
New Contributor
I am trying to use OneMap(Singapore Map) multi route function.

The multi route function is completed but it only shows the route and no pointers/markers

Since OneMap is develop using Arcgis map, arcgis manual marker should be able to be implemented into OneMap.

How can i add markers into a map using X/Y Coordinates?

Thank you
0 Kudos
7 Replies
KenBuja
MVP Esteemed Contributor
0 Kudos
LeoQuah
New Contributor
Here are two samples that show how to add points to a map programmatically

https://developers.arcgis.com/en/javascript/jssamples/graphics_svg_path.html
https://developers.arcgis.com/en/javascript/jssamples/map_topo_graphics.html


Hi ~ Thank you very much~ But i tried the code and put locations in Singapore but the marker did not appear. Do you know why?
0 Kudos
LeoQuah
New Contributor
Currently i tried the links and i put the coordinates of location in Singapore but it cannot be use.
0 Kudos
KenBuja
MVP Esteemed Contributor
What are the coordinates that you're putting in? Are they latitude/longitude coordinates or in another projection?
0 Kudos
Radheshsoni
New Contributor

i copied the coordinates from google map . can to defined how can i convert them for arcGIS map.

0 Kudos
LeoQuah
New Contributor
What are the coordinates that you're putting in? Are they latitude/longitude coordinates or in another projection?


Hi

I am using X/Y Coordinates as OneMap(Singapore Map) uses X/Y coordinates

Thank You
0 Kudos
KenBuja
MVP Esteemed Contributor
Please show the code you're using to put the points on your map.
0 Kudos