Skip to content

Introduction ​

Render MIL-STD-2525E, FM 1-02.2 and APP-06 tactical graphics (axis-of-advance arrows, phase lines, mission tasks, range fans, boundaries) as plain GeoJSON.

Describe a graphic by adding a tacticalGraphic object to any GeoJSON feature's properties. Call one function. Get GeoJSON back. Draw it with OpenLayers, MapLibre, or anything else that reads GeoJSON.

This library complements the single-point unit symbol libraries, @zaes/military-symbols and milsymbol. Tactical Graphics handles the multi-point geometries they don't: arrows that bend along a drawn path, corridors with parallel rails, arcs and fans sized in meters.

▶ Try the live demo — draw any graphic, edit its handles, and set its amplifiers in the browser. No install, no sign-up.

324 graphics are implemented and verified today, covering 337 doctrinal variants, across 21 APP-06 entities — see Supported graphics for the full catalog, and Upcoming graphics for what's next. Release history is in the changelog.

The demo's sample sweep, framed on the middle of the block it draws

The demo's Draw samples button, drawing every verified graphic in one sweep — framed on the middle of the block, so the rows above and below run past the edge of the frame. Press it yourself in the live demo — nothing here is a mock-up, it is the library rendering through the same path your code would. Both renderers draw this from the identical GeoJSON, so switching engines in the demo redraws the same grid.

Released under the MIT License.