DOCUMENTATION EXAMPLES INTRODUCTION

Milsymbol - military symbology in JavaScript

Milsymbol is a small library in pure JavaScript that creates military unit symbols according to to MIL-STD-2525 and STANAG APP6.

Get the Code from GitHub

This is the documentation for milsymbol . You can view the changelog to see what has been changed in the different releases.
Please star the library on GitHub if you like it, also I appriciate all information I can get about what you use milsymbol for. Milsymbol is created in my spare time and all maintenance and development is done without any external funding.

Milsymbol summary

The following standards are supported in milsymbol.

MIL-STD-2525B* MIL-STD-2525B Tactical Points*
MIL-STD-2525C MIL-STD-2525C Tactical Points
MIL-STD-2525D
APP6-B APP6-B Tactical Points
* Just extends with symbol codes that are missing in 2525C.

Milsymbol also supports a lot of different options for the rendered symbols: For detaild descriptions of what is possible with milsymbol, see the API documentation.

Milsymbol can be integrated with most common javascript libraries, such as: You can find samples of this on the Examples page.

Technology

Milsymbol uses pure javascript to create SVG, Scalable Vector Graphics, and also has built in for native Canvas support.
The symbols are created using building blocks defined in the code and no images or fonts are used, this makes it possible to modify almost every aspect of the symbols, such as fill, frame, color, size, stroke width and easily switch between APP6 and 2525 symbology. It is also quite easy to extend milsymbol with new functionality or modify existing icons.

Contact

Milsymbol is created and maintained by Måns Beckman.
http://www.spatialillusions.com to see more examples of what milsymbol can be used for
https://twitter.com/spatialillusion for milsymbol and mapping/military related information

Licensing

MIT, See license.txt for details



Milsymbol is used in several systems around the world