milsymbol
milsymbol copied to clipboard
replace ms._scale and ms._translate
All icons that uses these functions should be replaced with updated symbol geometries, this will speed up the canvas rendering.
As an example, if we look at the icon GR.IC.ENGINEER used in src\numbersidc\sidc\landequipment.js. It is sometimes used with a scale factor of 0.6 or 0.7, depending on the scenario. We would need to create at least 2 new symbols. How do you envision the naming convention?
From src\numbersidc\sidc\landequipment.js: line 271: ms._scale(0.7, icn["GR.IC.ENGINEER"]) should the new symbol be named GR.IC.ENGINEER_SC0.7? line 329, 333, 344: ms._scale(0.6, icn["GR.IC.ENGINEER"]) should the new symbol be named GR.IC.ENGINEER_SC0.6?