spatialillusions / milsymbol

Military Symbols in JavaScript
www.spatialillusions.com/milsymbol
MIT License
544 stars 133 forks source link

symbol infoField flag not honored by all symbols #229

Closed dehmer closed 4 years ago

dehmer commented 4 years ago

Setting infoFields to false does not remove labels from all symbols. While it works on units, equipments and such, labels on (general) points (e.g. 'START POINT') stay visible.

I don't if it is the intended behavior, but it would be nice if infoField would have an effect on all symbols.

spatialillusions commented 4 years ago

IIRC that text is part of the symbol "icon" and because of this the text is not removed. infoField just removes text thats that has been set by the user. I'll consider for the future if I should change this.