Skip to content

geodesign/leaflet-plugins

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 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);

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%