🚧 These docs are a work in progress — content is incomplete and may change without notice.
Skip to content

Control Measures ​

@orbat-mapper/control-measures is the framework-agnostic core of the package family. It turns input coordinates plus options into MIL-STD-2525 / APP-6 tactical control measure graphics as plain GeoJSON Features — no mapping framework required.

Each control measure (Block, Ambush, Fortified Area, Attack-by-Fire, …) is a generator paired with a definition record describing its required points, geometry type, options, and symbology. The registry derives everything callers see — the catalog, defaults, and dispatch — from that one set of definitions.

Start here ​

  • Generate GeoJSON — install the package and render your first measure: points and options in, GeoJSON Features out.
  • Styling — set the monocolor symbol color, override stroke and fill, and export to simplestyle-spec.
  • Catalog — every measure the library can generate, with its geometry, point contract, parameters, and a static shape preview — generated from the library's own metadata.

This core has no map dependency. To draw and edit these measures interactively on a live map, see TacticalDraw.