Control Measures ​
@orbat-mapper/control-measures turns coordinates and options into MIL-STD-2525 and APP-6 graphics. It returns standard GeoJSON and has no map or framework dependency, so it runs in the browser, in Node, and in tests.
Every control-measure kind describes its point requirements, geometry, options, text fields, and symbology in metadata. The library uses that metadata to provide defaults, dispatch rendering, and populate the catalog, and your application can use it to build editors without per-kind code.
Start here ​
- Generate GeoJSON: install the package and render your first control measure.
- Labels and text amplifiers: add designations, date-time groups, and other doctrinal text, and move labels.
- Styling: set colors, strokes, fills, patterns, opacity, and text halos, or export to simplestyle-spec.
- Pixel and meter sizes: show and switch the units of symbol and label sizes in an editor.
- Catalog: browse every supported kind, including its preview, point requirements, text fields, and options.
Related packages ​
- TacticalDraw adds interactive drawing and editing on OpenLayers, MapLibre GL JS, or Leaflet.
- Map sheets prints control measures on scale-accurate SVG and PDF sheets with an MGRS grid.