Grid systems for OpenLayers.
A flexible graticule layer with pluggable grid systems, lat/lon, projected (any proj4 CRS), MGRS, Dutch RD with bundled RDNAPTRANS 2018, ten WWII Modified British System theatres, and the Kriegsmarine Marinequadratkarte. Live demos below.
-
Lat/lon graticule + cursor readout
World map with a geographic graticule and the built-in
CursorPositionControl. -
Pixel ruler over an image
@zwaarcontrast/ol-graticule · PixelGridSystem
Image-coordinate ruler on a synthetic 2000×1200 canvas. Same package as the lat/lon demo, but with
PixelGridSystem({ yInverted: true })for IIIF / canvas / scanned-document use cases. -
UTM zone 33N over Central Europe
A proj4-backed projected grid (EPSG:32633) overlaid on a web-Mercator basemap, fitted to the zone's EPSG bounds.
-
Modified British System (10 WWII theatres)
Letter-cell artillery grids across every theatre catalogued on Thierry Arsicaud's Echo Delta (this package would not exist without it), Nord de Guerre, French Lambert I/II/III, British and Irish Cassini, the Dunnose-origin War Office grid for actual WWII Army sheets, Scandinavian Zone 3, both Italian zones, and the Iberian Peninsula. Pick one from the dropdown.
-
Dutch RD New (EPSG:28992)
Rijksdriehoekstelsel grid over the Netherlands, using the bundled RDNAPTRANS 2018 datum-shift grid.
-
MGRS / NATO grid (worldwide)
Military Grid Reference System over UTM. Grid Zone Designators (e.g.
32U) and 100 km squares (e.g.WL); cursor reads out a full MGRS reference. Norway and Svalbard exceptions are handled. -
Kriegsmarine Marinequadratkarte
@zwaarcontrast/ol-graticule-marinequadratkarte
WWII German naval grid with progressive subdivision. Grid data and subdivision logic ported from Jan Kockrow's navalgrid.com, this package would not exist without that work. (Not yet published to npm, see the package README.)
-
Luftwaffe Planquadrat (GNMV / JMN)
WWII Luftwaffe map reference grids: the Gradnetzmeldeverfahren (GNMV) used from before the war until April 1943 (and refined from May 1943 onward) and the Jägermeldenetz (JMN) fighter reporting network introduced 1 May 1943. Six levels from the 10° Zusatzzahlgebiet down to the 33" Arbeitstrapez.