Open scaddenp opened 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.
Actually I dont think it is working for any projection other than 3857. https://codepen.io/scaddenp/pen/dyPweeO
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.