| .idea | ||
| docs | ||
| examples | ||
| modules/geodesy | ||
| L.WorkedAllBritainIreland.js | ||
| LICENSE | ||
| README.md | ||
Leaflet.WorkedAllBritainIreland
A layer for Leaflet.js to display UK Ordnance Survey and Irish Grids, intended for use with the amateur radio "Worked All Britain" and "Worked All Ireland" awards schemes.
Used in some of my amateur radio mapping tools such as Field Spotter and the QSO Map Tool.
You can use this live, direct from wherever you serve your Leaflet.js project, by adding the following to your code:
<script src="https://misc.ianrenton.com/Leaflet.WorkedAllBritainIreland/L.WorkedAllBritainIreland.js"></script>
Note that for WAB and WAI, the national borders (including England/Wales and England/Scotland) are important. For example, NT95 (England) and NT95 (Scotland) are counted separately. This layer does not attempt to capture any borders, only the grid squares themselves.
Features
- Britain, Ireland (North & South) and Channel Islands covered
- Detail level based on zoom
- Avoids rendering off-screen small squares for efficient CPU/memory use
- Deconfliction of small squares around overlapping regions
Third-Party Libraries & Thanks
The project contains self-hosted modified copies of classes from Chris Veness' Geodesy library, located in the /modules/geodesy directory. These have been modified allow the "OV" square for OSGB, to support the Irish grid system, and add parsing of Channel Islands grid references, for use with the Worked All Britain & Ireland layer. This code is subject to the MIT licence. It is used with many thanks.
Thanks are also due to HA8TKS for their Maidenhead, ITU & CQ zone libraries, which I used as an example of how to create a Leaflet layer class.



