Skip to content

milsymbol 2.0.0

Compare
Choose a tag to compare
@spatialillusions spatialillusions released this 25 Apr 15:20
· 212 commits to master since this release
fb5f684

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.