Skip to content

Releases: spatialillusions/milsymbol

milsymbol 2.2.0

15 Mar 16:36
Compare
Choose a tag to compare
  • Fixed #280 that broke in the last release.
  • Added support for the option fillColor that makes it possible to fill a symbol with any color in a simple way.

milsymbol 2.1.0

05 Mar 09:05
Compare
Choose a tag to compare

2.1.0 05 MAR 2023

Changed

Since MIL-STD-2525D never was released, we reverted a lot of things in the cyberspace appendix.

Also updated to use the NMP packages stanag-app6 and mil-std-2525 instead of the old milstd.

And a bunch of minor fixes.

milsymbol 2.0.0

25 Apr 15:20
fb5f684
Compare
Choose a tag to compare

2.0.0 25 APR 2019

Added

  • Added support for Engagement Bars

  • Use the option engagementBar to set the bar text

  • Use the option engagementType to define "TARGET", "NON-TARGET", or "EXPIRED" as type

  • Added support for the field country as specified in APP-6 D

  • Added support for the field installationComposition as specified in APP-6 D

  • Added possiblity to control more color on symbol level

  • Support for speed leaders

  • Support for text background color using infoBackground and infoBackgroundFrame options

Changed

  • symbol.getProperties() is removed and symbol.getMetadata() should be used instead.

  • ms.getHqStafLength changed to ms.getHqStaffLength, fixed spelling

  • ms.setHqStafLength changed to ms.setHqStaffLength, fixed spelling

  • Thanks to @okwolf we moved from webpack to rollup for development

  • Where there are multiple text fields in the same position, they are now joined
    by a / instead of a space

  • Changed location of feint/dummy indicator to be more similar to images in
    standard documents

  • Make it possible to set infoColor to a Color Mode

Deprecated

Removed

  • symbol.getProperties() is removed (use symbol.getMetadata() instead)

  • ms.setAutoSVG has now been removed.

Fixed

  • Fields commonIdentifier (AF) and equipmentTeardownTime (AE) had swiched
    places, now corrected

  • The condition bar is now drawn below the headquartersElement field

  • Some natural events in 2525C was framed even if they shouldn't be

Security

  • Prevented XSS issue where malicious code could be inserted into text fields of SVG symbols, all < and > are now encoded to prevent this.

milsymbol 1.3.3

14 Nov 18:24
Compare
Choose a tag to compare

1.3.3 14 NOV 2017

Added

Changed

  • Updated and moved the unit generator from dev to examples.

Deprecated

Removed

Fixed

  • The option infoColor was not set when used, this is now fixed, again.
  • The option hqStafLength was not set when used, this is now fixed.
  • Fill opacity affected outline opacity as well in canvas output.

Security

milsymbol 1.3.2

13 Nov 16:22
Compare
Choose a tag to compare

1.3.2 13 NOV 2017

Added

Changed

Deprecated

Removed

Fixed

  • Following symbols were drawn as fixed wing instead of rotary wing

    • WAR.SOFUNT.AVN.ROT.ATK
    • WAR.SOFUNT.AVN.ROT.UTY
    • WAR.SOFUNT.AVN.ROT.UTY.LIT
    • WAR.SOFUNT.AVN.ROT.UTY.MDM
    • WAR.SOFUNT.AVN.ROT.UTY.HVY
  • The option infoColor was not set when used, this is now fixed.

Security

milsymbol 1.3.1

17 Oct 16:24
Compare
Choose a tag to compare

1.3.1 17 OCT 2017

Added

Changed

Deprecated

Removed

Fixed

  • Fixed canvas output in Microsoft Edge 14

Security

milsymbol 1.3.0

21 Aug 16:05
Compare
Choose a tag to compare

1.3.0 21 AUG 2017

Added

  • symbol.getOptions(includeStyle) will return the options that are set on the symbol.

  • symbol.getStyle() will return the style options that are set on the symbol.

  • Added files for intellisense when used in Visual Studio Code

Changed

  • Options and Style are now stored in separate Objects on the symbol for better structure.

  • ms.Symbol and setOptions can now take any number of arguments from 0 to n.

Deprecated

Removed

Fixed

  • ArcGIS example had to be updated because of change of how Options and Style are stored.

  • monoColor was initialized as false instead of an empty string, this is now corrected and makes the correct status modifiers to be used by default.

  • 10031000001104000000 was drawn with an icon IW instead of IO (Since it is IW in 2525C, but that is now fiexed.)

  • Fixed the size of the sensor icon used in 2525D

Security

milsymbol 1.2.1

12 Jun 17:26
Compare
Choose a tag to compare

1.2.1 12 JUN 2017

Added

Changed

Deprecated

Removed

Fixed

  • Altitude/Depth was sometimes not labeled on 2525D symbols

  • Typo in Changelog

Security

milsymbol 1.2.0

11 Jun 08:57
Compare
Choose a tag to compare

1.2.0 11 JUN 2017

Added

  • Added build-amd, to build an AMD only module you can now run npm run build-amd

Changed

  • isValid(option) can now take an bolean input that makes it return a validaton object with extended information about the vadility.

  • isValid now validates the mobility modifier as well as the symbol icon.

  • Updated ENERGY FACITILIES INFRASTRUCTURE to better representation of the standard.

Deprecated

Removed

  • Removed all methods that was deprecated in milsymbol 1.0.0

Fixed

  • The quantiy field would be cut if the content was wider than the symbol, this is now fixed so that the symbol size adopts to to width of the quantity field.

  • Fixed Land Unit M1 10 command and control that was displayed in as a Y instead of C2.

  • Some modifiers on Signals Intelligence symbols in 2525C was incorrect

Security

milsymbol 1.1.0

16 Apr 09:22
Compare
Choose a tag to compare

1.1.0 16 APR 2017

I would like to thank @okwolf that has contributed with unit tests and some code reorganization.

Added

  • It is now possible to use sidc or SIDC in an options object.

  • It is now possible to initiate a symbol with just an options object ms.Symbol({options}).

  • ms.Symbol().isValid() now returns a boolean representing if it was possible to find the symbol icon for the provided SIDC.

  • The source code for the unit generator is now provided in the dev folder.

  • Added 2525B symbols that are missing in 2525C, so now we have full support for 2525B as well.

  • Initial unit tests added to the repository.

Changed

Deprecated

Removed

Fixed

  • Fix for that tactical points with labels with large font sizes might draw too narrow so that part of the label can't be seen.

  • Fix for that units with invalid icon part in the SIDC did not get the upside down question mark when canvas output was used.

  • G-F-PTS--- TACGRP.FSUPP.PNT.TGT.PTGT and G-C-FSTP-- 2.X.2.3.1.1.1 POINT/SINGLE TARGET now uses altitudeDepth instead of additionalInformation1 to display the target altitude.

  • Made sure that tactical points that dosen't have labels in the specifications don't get labels even if they are set.

Security