milsymbol
milsymbol copied to clipboard
Military Symbols in JavaScript
I'm trying to use the bundled ESM version of milsymbol (`dist/milsymbol.esm.js`) provided in the NPM package but I encounter an error when trying to create a milsymbol using `asCanvas`. The...
improved TypeScript typings for `SymbolMetadata` - added missing booleans `dismounted` and `unit` - added list of allowed strings for `affiliation` (and base), `dimension` (and base), `condition`, `context`, `echelon`, and (was...
the code for Symbol constructor allows for any number of options arguments. Fix typescript typings to reflect that.
I ran into some issues with adding milsymbol to a React application. Apparently all of the import calls need to be at the start of the file? Anyway, I can...
I'm using `uniqueDesignation` to add text beside a symbol, and in order to make it legible against varied backgrounds I need it to render as black with a white outline....
From my understanding of MIL-STD-2525C (Appendix A, TABLE A-II) the SIDC values for equipment mobility indicator should be the following: * Barge: MX (not MY) * Amphibious: MY (not MZ)...
Modifier.js should be broken into one function for echelon and one for mobility for ease of code maintenance.
All symbols should use label definitions in sort of the same way as tactical points, so that it could be possible for a developer to change how labels are placed.
For easier reuse in other programming languages, all symbol definitions should be moved to JSON files using something similar to Template literals for colors and such. In the best of...
All icons that uses these functions should be replaced with updated symbol geometries, this will speed up the canvas rendering.