milsymbol icon indicating copy to clipboard operation
milsymbol copied to clipboard

Selecting "set" of symbols with AMD in similar way to ES6

Open vmbajop opened this issue 2 years ago • 0 comments

Passing the sidc 10030100001101000000, the symbol obtained with APP6D is different than obtained with MIL-STD-2525D. Working with AMD, the symbol that it returns by default is 2525-D, needing the symbol from APP6D. Is it possible to select the app6d symbol set using AMD in a similar way to ES-6 as in: "import { ms, std2525c } from '../../index.esm.js'; ms.addIcons(std2525c);"

using app6d instead std2525c, somethis like

require([ "milsymbol" ], function(ms){ ms.addIcons("app6d"); var symbol = new ms.Symbol('SFG-UCI----D',{size:30}); }); ?

vmbajop avatar Sep 02 '22 10:09 vmbajop