Map Coordinates: display Lat=34.xxx and Long = -82.xxx
Hello,
I need to see the coordinates displayed in the following manner:
- I need for the coordinates to be displayed as decimal degrees but with the negative sign for longitude vs. W for west. For example, instead of 82.456W, I need -82.456.
- AND for display to say "Lon = -82.xxx" and "Lat = 34.xxx" instead of "X=" and Y="
- AND for the above to be the default (the base layers for the app is based on SCSP)
_img_ alt="Lat LOng Preferred Look" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906f2000000XbzS&feoid=Body&refid=0EMf2000000YBxQ"_/_img_
In Essentials, I have tried several combinations, but this is the closest I have gotten:
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906f2000000XbzS&feoid=Body&refid=0EMf2000000YBxV" _/_img_
It is confusing what the X/Y is for users who have to copy and paste these values into other software (that we have no control over) that have labels of "Lat/Lon" since it is reversed in their minds.
Is there a way to have the above display "Lat/Lon" ? If it has to be "Lon/Lat", that is fine. It is okay if I have to alter an XML, json, etc behind the scenes. I can achieve #1 and #2 and #3 but not #s 1,2,&3.
Thanks,
Carmen
0
-
HI Carmen,
You seem to have gotten the negative number to work. On the other 2:
To change the X and Y text to Long and Lat, you can make a change in this file:
C:\inetpub\wwwroot\YOURVIEWER\Resources\Locales\Mapping.Infrastructure.en-US.json.js
make this change:
"language-coordinates-x": "Long",
"language-coordinates-y": "Lat",
This will apply to all sites you have in this instance, so beware.
To make this the default spatial reference, in Essentials Manager, edit the viewer and edit "Map". In "Map Coordinate Systems", click off the "Default Coordinate Display Types" you don't need and keep your X/Y (which will show as Lat Long).
I hope this helps,
Marion.0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar