Hi Drew,
I've found out what it's happening. The data frame is ED50, but my service is ETRS89, and when you load my service in Arcmap, it doesn't apply any transformation by default (see attached screenshot1). However if I select the correct transformation method the location is fine (see attached screenshot2, we have a customized transformation that is more accurate, but you can test with ED_1950_To_ETRS_1989_7). I don't know how difficult is you include that in your widget, but I think it should be able to specify a coordinate system transformation method. What do you think of about?
Thanks very much,
Pedro.
Drew,
Any way to work with degrees minutes seconds in your widget?
Thanks,
~ Dan
Great little widget, works like a charm.
I can get the displayed coordinates to show only 2 decimal points, but can't figure out how to make the X,Y copied to the clipboard be only 2 decimal points.
Especially would like to be able to set this for the copy Map coord to clipboard. Would be nice for the projected coordinates also, but mainly would like to get the map coords truncated.
Am I missing something easy? If not, any suggestions?
Thanks,
R_
Career ESRI beta tester
copyString = copyString.replace(/{X}/g, mPoint.x.toFixed(2)); //replace X copyString = copyString.replace(/{Y}/g, mPoint.y.toFixed(2)); // replace y
rzufelt,
That functionality is not configurable yet
If you want, you can modify the source code and recompile to get your desired functionality now.
EDIT line 197, 198 in CoordinateMenuWidget.mxml to be the following...copyString = copyString.replace(/{X}/g, mPoint.x.toFixed(2)); //replace X copyString = copyString.replace(/{Y}/g, mPoint.y.toFixed(2)); // replace y
I will try and add that functionality into the config next release..
Thanks for the info
Drew