Geoportal Extension for Leaflet API Reference

Module: CRS

L.geoportalCRS

CRS (Coordinate Reference Systems) Factory to create L.Proj.CRS instances.

Example

var map = L.Map('divmap', {
   crs : L.geoportalCRS.EPSG2154
 }).setView();

 var lyr = L.geoportalLayer.WMTS(
   {
     layer : "ORTHOIMAGERY.ORTHOPHOTOS.BDORTHO.L93"
   },
   {
     opacity : 1,
     transparent : true,
     minZoom : 1,
     maxZoom : 21
     ...
   });

 lyr.addTo(map); // ou map.addLayer(lyr);

Members

innerCRSL.geoportalCRS

Methods

staticEPSG2154(){EPSG2154}

Leaflet/CRS/CRS.js, line 42

Lambert 93 ("EPSG:2154") CRS definition to be used with Leaflet.

Returns:
code

staticEPSG27572(){EPSG27572}

Leaflet/CRS/CRS.js, line 54

CRS : Lambert 2 extened

Returns:
code