Leaflet plugin for easy adding of tiles from Kartverket
JavaScript HTML
Latest commit 20ac18c Oct 14, 2015 @atlefren atlefren fix merge chaos
Permalink
Failed to load latest commit information.
dist release 1.0.2 Oct 14, 2015
.gitignore initial commit May 21, 2015
Gruntfile.js add example May 22, 2015
L.TileLayer.Kartverket.js add lookup layer name Oct 14, 2015
LICENSE.md initial commit May 21, 2015
bower.json release 1.0.2 Oct 14, 2015
example.html add lookup layer name Oct 14, 2015
package.json release 1.0.2 Oct 14, 2015
readme.md add link to demo May 22, 2015

readme.md

L.TileLayer.Kartverket

L.TileLayer.Kartverket is a Leaflet.js plugin for creating tile layers from Kartverket (The Norwegian Mapping Authority). It is essentially a wrapper over L.TileLayer.

Usage

Either install using bower:

bower install L.TileLayer.Kartverket -S

or, download manually. Include the file in yout page, and use it:

L.tileLayer.kartverket('layer_name', options).addTo(map);

or, more verbose:

var layer = new L.TileLayer.Kartverket('layer_name', options);

Where layer_name is the name of a layer from kartverket, and options is a set of TileLayer options

To get a list of layer names, call:

var layer_names = L.tileLayer.kartverket.getLayers();

Demo

See the demo page.

License

This plugin is licensed under the Apache Software License, Version 1.1, see LICENSE.md

Background

This plugin is developed by Norkart on behalf of the Norwegian arts Council as part of the "Kultur- og naturreise demo"-project