MrMufflon / Leaflet.Coordinates

Leaflet plugin to view mouse coordinates
http://mrmufflon.github.io/Leaflet.Coordinates/
Other
104 stars 55 forks source link

L.CRS.Simple XYZ coordinate support? #15

Open TORParse opened 9 years ago

TORParse commented 9 years ago

Hello,

I'd like to use your plugin on a L.CRS.Simple projection Leaflet map using X, Y, Z coordinates. What would I need to change in the code to make it display the X, Y, and Z coordinates instead of latitude and longitude? Any help is much appreciated, thanks!

MrMufflon commented 9 years ago

Hi, do you have a sample? Maybe extending the LatLng class with an altitude property and extend the L.Coordinates code with this property?