This is the demo for showing how to use non-mercator basemap services from Lithuanian Spatial Information portal geoportal.lt with Leaflet.
Rigth now 4 types of different basemaps are added:
- Orthophoto imagery
- National base map
- Georeference cadastre (GRPK) map
- Hybrid map: orthophoto + labels
In order to transform mercator based CRS of leaflet proj4js library is used. More information:
- For coordinate transformation - Proj4Js
- For custom CRS creation in Leaflet - Proj4Leaflet
Just simple clone or download this repository and open index.html file.
This example is created using:
- PatrickMcKinney1 blog post Adding Map Services with Custom Tiling Schemes to Leaflet
- ESRI-Leaflet example - Non-mercator projection