Jump to content
TNG Community

***NEW Release **** Add N S E W to Latitude / Longitude Mod


RickM

Recommended Posts

 **** Release UPDATE ****

Hi All

I have created a little Mod that will add N S E W to Latitude / Longitude results in the display pages. It works using decimal numbers eg: -41.327312, 174.807598 (Wellington International Airport Wellington New Zealand).. the page will show -41.327312 S, 174.807598 W . See attached image for example.

Lat_Long-NSEW_Mod_img-after.jpg

https://tng.lythgoes.net/wiki/index.php?title=Lat-Long_NSEW

With much thanks to both XerxX & Brett for their patience and input..

 

The Mod could be expanded further to allow for the option to use North South East or West rather than N S E or W. Please let me know if this is something you might like/prefer!! Also if there are pages, places I have missed modifying please let me know..

Rick M

Link to comment
Share on other sites

  • 2 years later...

Rick, Couldn't find a later thread indicating your recent update to your mod, but I installed it, and an not able to see the display like you indicate from Open Street Maps.  

Lat_Long-NSEW_Mod_img-after.jpg

Michel K. indicates that is not coming from the mod and likely additional mod or code??

Ron

Link to comment
Share on other sites

1 hour ago, tngrlkrz said:

Rick, Couldn't find a later thread indicating your recent update to your mod, but I installed it, and an not able to see the display like you indicate from Open Street Maps.  

Lat_Long-NSEW_Mod_img-after.jpg

Michel K. indicates that is not coming from the mod and likely additional mod or code??

Ron

Ron,

Could you provide a snapshot of what you are seeing and / or access to your site to allow me to check the differences please??

Could possibly be due to the images coming from either TNG v13.0.x or TNG v12.0.0.2..

 

Edited by RickM
Added possible explanation
Link to comment
Share on other sites

1 hour ago, RickM said:

Ron,

Could you provide a snapshot of what you are seeing and / or access to your site to allow me to check the differences please??

Could possibly be due to the images coming from either TNG v13.0.x or TNG v12.0.0.2..

 

The question relates to the images presented in the wiki article, in which the latitude and longitude were both shown next to the pin in both the before and the after images.  Did you put/edit those there just to demonstrate the addition internally of the NSEW, and in fact are not actually displayed.  If so, not to worry, I was just mislead by the posted images.  

Ron

Link to comment
Share on other sites

Not sure I follow your issue..

I believe the 'Pin' shows in both without Mod and Mod installed. The OpenStreetMap images etc may be related to a previous version of Open StreetMap. The imagaes are definitely from a previous version of TNG Not v13.1.2 OR v14.0

I guess you are suggesting I update the images???

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...