“Uncaught SyntaxError: Cannot use import statement outside a module” when importing ECMAScript 6 I’m using ArcGIS JSAPI 4.12 and wish to use Spatial Illusions to draw military symbols on a map. When I add milsymbol.js to the script, the console returns error... April 28, 2022 0 Comments