Leaflet Print Map – Legends, Title, Layer, Color
This plugin can be downloaded from https://github.com/mapbox/leaflet-image/blob/gh-pages/leaflet-image.js link. To implement this plugin on your system, you first need to create map, which can be done by following this article.
First of all add the leaflet library in your document by adding these scripts.
<link rel="stylesheet" href="https://firstname.lastname@example.org/dist/leaflet.css"/> <script scr="https://email@example.com/dist/leaflet.js" ></ script>
Thereafter, create a division using