Skip to content

turban/leaflet-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leaflet plugins

Various plugins to make life easier with Leaflet.

L.Graticule.js

The graticule plugin displays a grid of latitude/longitude lines projected on the map. Extends GeoJson.

Example

Usage

L.graticule().addTo(map);
L.graticule({
  onEachFeature: function(feature, layer) {
    layer.bindPopup('<strong>' + feature.properties.name + '</strong>');
  }
}).addTo(map);
L.graticule({
  surface: true,
  style: {
    fillColor: '#99b3cc',
    fillOpacity: 1,
    weight: 0
  }      
}).addTo(map);

About

Plugins for Leaflet mapping library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published