I can get the mapPoint or screenPoint of a circle geometry, however after moving or panning the map i want to get the new screen coordinates in relation to the circle geometry and its screen position. Is this possible?
Solved! Go to Solution.
Evon,
If I am understanding your question. Yes you can get the screen coordinates of any map point using the maps toScreen method:
https://developers.arcgis.com/javascript/3/jsapi/map-amd.html#toscreen
Evon,
If I am understanding your question. Yes you can get the screen coordinates of any map point using the maps toScreen method:
https://developers.arcgis.com/javascript/3/jsapi/map-amd.html#toscreen
I will look over that link thanks Robert. I currently have a Circle geometry added to the map when you click which is suppose to highlight some Points, but when I check the coordinates for the circle they stay the same even after panning the map, I want to get the new coordinates as it relates to position on the screen after you pan, so it might be at X:100 , Y: 150 on initial click then when you pan the map the the left the screen position of 'X' should change right? Or will it stay the same X,Y as before?
I was trying to use the Map object instead of MapView at one point after following your link but that does the trick thanks!