Is it possible to use Leaflet javascript library to show map data from a WMTS (Web Map Tile Service) based server? Leaflet doesn't seem to support WMTS out of the box, but are there any plugins for that?
Is it possible to use Leaflet javascript library to show map data from a WMTS (Web Map Tile Service) based server? Leaflet doesn't seem to support WMTS out of the box, but are there any plugins for that?
Share Improve this question edited Sep 18, 2012 at 3:56 Juha Syrjälä asked Sep 17, 2012 at 20:29 Juha SyrjäläJuha Syrjälä 34.3k33 gold badges136 silver badges189 bronze badges1 Answer
Reset to default 7You can use the L.TileLayer.WMTS class as implemented here: http://depot.ign.fr/geoportail/api/develop/tech-docs-js/examples/js/geoportalLeaflet.js
Here is the result: http://depot.ign.fr/geoportail/api/develop/tech-docs-js/examples/geoportalLeaflet.html