A layer for Leaflet.js to display "Worked All Britain" grids https://misc.ianrenton.com/Leaflet.WorkedAllBritain/examples/index.html
Find a file
2025-09-05 10:11:35 +00:00
.idea Migrate WAB layer into its own project 2025-06-07 15:39:44 +01:00
docs Migrate WAB layer into its own project 2025-06-07 15:39:44 +01:00
examples Explanatory text 2025-09-03 20:26:24 +00:00
modules/geodesy Include licence information for Geodesy library mods 2025-06-07 17:07:12 +01:00
L.WorkedAllBritain.js Provide full URL to fix Chrome browser support 2025-09-05 10:11:35 +00:00
LICENSE Initial commit 2025-06-07 14:12:43 +01:00
README.md Update README.md 2025-09-03 20:29:05 +00:00

Leaflet.WorkedAllBritain

A layer for Leaflet.js to display "Worked All Britain" grids.

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.WorkedAllBritain/L.WorkedAllBritain.js"></script>

Features

  • Britain, Northern Ireland 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

Screenshot Screenshot Screenshot Screenshot

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