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 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 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.