Boilerplate templates for creating custom control and layer plugins for the Leaflet JavaScript mapping library.
JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
control
layer
.gitignore
LICENSE
README.md

README.md

leafletjs-plugin-templates

This repository contains boilerplate templates for creating custom control and layer plugins for the Leaflet 1.0 JavaScript mapping library:

  • The control folder contains the template for creating a Leaflet control plugin.
  • The layer folder contains the template for creating a Leaflet layer plugin.

The Leaflet Control Template

The Leaflet Control Template contains two files:

  • LeafletControlTemplate.js contains the JavaScript implementation template for a Leaflet control.
  • LeafletControlTemplate.css contains the CSS template for styling the Leaflet control.

The Leaflet Layer Template

The Leaflet Layer Template contains two files:

  • LeafletLayerTemplate.js contains the JavaScript implementation template for a Leaflet layer.
  • LeafletLayerTemplate.css contains the CSS template for styling the Leaflet layer.