missioncommand / mil-sym-js

(RETIRED) MIL-STD-2525 symbol rendering JavaScript library for modern web applications
Apache License 2.0
76 stars 25 forks source link

Allow the setting of the preferred affiliation colors for units, and tactical graphics #24

Closed alberto-acevedo closed 6 years ago

alberto-acevedo commented 6 years ago

SitAware (using mil-sim-android ) is using blue as the default color for friendly units. Most of the applications use black, and that color is the default in the renderer. The adding of setUnitDefaultColors, and setGraphicDefaulktColors will allow applications to set their preferred affiliation colors.