Open PROgram52bc opened 3 years ago
In ipyleaflet the CRS is just passed to Leaflet, so I guess this is a Leaflet issue. Did you try to see if it behaves the same in pure Leaflet.js?
This issue might be related to the upstream leaflet JavaScript. A relevant issue: https://github.com/jupyter-widgets/ipyleaflet/issues/684
I am a little bit confused by the coordinate system used in the ipyleaflet
Map
object. Below is a simple example demonstrating what I mean:Map with the EPSG:4326 projection system
Map with the default projection system
The two markers are referencing the same point, but it seems like the longitude value is off by 90 degrees under the EPSG:4326 projection system. Is this behavior documented anywhere? Is there any standard functions to convert between one coordinate to another?
Thanks!