Leaflet.AutoLayers
Leaflet.AutoLayers copied to clipboard
ESRI and NGS layers misaligned in simple.html(example)
Hi, While playing with your examples I came across an issue I thought you might like to know about. Using Chrome (I haven't checked other browsers) both ESRI layers and the NGS move when they are added. The markers stay the same on the screen, but are now in the middle of the Pacific.
This is due to the example using servers that offer two different map projects. I am considering adding projection to the options and swapping projections on the map when the basemap changes.
An issue is how leaflet .7.x handles projections - it's for everything, not layer based, which can result in overlays going out of sync with basemaps if multiple projections are used.