mil-sym-ts is an TypeScript port of the Java-based MIL-STD rendering libraries that have been used in US Army Mission Command software for years. In November 2013 Mission Command was given the approval to release and maintain these libraries as public open source. Eventually work on the MIL-STD-2525C SEC Renderer ended and the project was retired.
This is a continuation of that effort and this library aims to support 2525D, 2525E and potentially more future versions.
Simple Interactive Tester
Multipoint Web Worker Example
SinglePoint Web Worker Example
The old JavaScript 2525C renderer has been retired but the libraries and usage information are still available here:
2525C Renderer Overview
The MIL-STD-2525 standard defines how to visualize military symbology. This project provides support for the entire MIL-STD-2525D Change 1 and 2525E Change 1.
Starting with version 2.2.0, support for running in NodeJS was added.
The node release will be the baseline version on npmjs.com
The web version of the release will be mil-sym-ts-web
The Node version depends on node-canvas.
npm install canvas
The Web version leverage the canvas in the browser.
Compilation Options:
//For Web Target
buildWeb.bat
//For Node Target
buildNode.bat
The following classes are exported by the module:
Point
Point2D
Rectangle2D
Font
Color
AffiliationColors
DistanceUnit
LogLevel
ErrorLogger
MilStdAttributes
Modifiers
DrawRules
MODrawRules
GENCLookup
MSLookup
MSInfo
SVGInfo
SVGSymbolInfo
SymbolUtilities
RendererSettings
SymbolID
MilStdSymbol
MilStdIconRenderer
WebRenderer