SVoyt / esri-leaflet-dynamic-advanced

Other
9 stars 6 forks source link

Not working in Antarctica (3031) #9

Open scaddenp opened 4 years ago

scaddenp commented 4 years ago

See https://codepen.io/scaddenp/pen/oNNmQqw for simple example. Open the codepen. It opens with same graticle layer added as both dynamicMapLayer and dynamicMapLayerAdvanced. They overlay fine. Now zoom in or out. The dynamicMapLayer is draw in correct place. The Advanced version is offset all over the show. I am not having this issue in other projections. When you zoom, I see that ordinary and advanced are generating different bbox values.

scaddenp commented 4 years ago

Done some further work. It appears that is doesnt work on layers that dont cross the 180 line. It generates the incorrect bbox for the map request.

scaddenp commented 4 years ago

Actually I dont think it is working for any projection other than 3857. https://codepen.io/scaddenp/pen/dyPweeO