I want to know what's mean the following error in OpenLayers
Uncaught SyntaxError: Cannot use import statement outside a module
I get this error only when I try to execute on the following example
javascriptopenlayers
I want to know what's mean the following error in OpenLayers
Uncaught SyntaxError: Cannot use import statement outside a module
I get this error only when I try to execute on the following example
Best Answer
You need to get basic setup like nodejs in order to run openlayers examples.