Hello.
I'm looking into migrating from Google maps.
How to work with two layers (or overlays) with different projections?
For example, I need EPSG:3857 (like OpenStreetMap) and EPSG:3395 (like Yandex Maps) on one map.
In Google maps api I had to create Custom Projection and implement fromLatLngToPixel and fromPixelToLatLng, then create custom Tile Layer and implement loadTile.
Could you provide an example?
Thank you.
I'm looking into migrating from Google maps.
How to work with two layers (or overlays) with different projections?
For example, I need EPSG:3857 (like OpenStreetMap) and EPSG:3395 (like Yandex Maps) on one map.
In Google maps api I had to create Custom Projection and implement fromLatLngToPixel and fromPixelToLatLng, then create custom Tile Layer and implement loadTile.
Could you provide an example?
Thank you.