Draw a Maidenhead Locator System lines and labels.
“The Maidenhead Locator System (a.k.a. QTH Locator and IARU Locator) is a geographic co-ordinate system used by amateur radio operators to succinctly describe their locations”
Demo anyone?
Usage example
Include the maidenhead javasript file:
<script src="https://ha8tks.github.io/Leaflet.Maidenhead/src/L.Maidenhead.js"></script>After instantiating the map:
L.maidenhead({ color : 'rgba(255, 0, 0, 0.4)' }).addTo(map);Options
- color: The color of the lines and labels. Default
rgba(255, 0, 0, 0.4)