Hello,
An attempting to upgrade OL from 3.19.1 to 4.1.1 in ol3-google-maps has been made without success so far. See:
The tests fail as well as the examples fail to be loaded as well due to errors such as:
node tasks/test.js
/Users/hawk/code/ol3-google-maps/node_modules/closure-util/lib/manager.js:186
throw new Error('Unsatisfied dependency "' + require + '" ' +
^
Error: Unsatisfied dependency "ol" in script: /Users/hawk/code/ol3-google-maps/src/gm/maplabel.js
at /Users/hawk/code/ol3-google-maps/node_modules/closure-util/lib/manager.js:186:21
at Array.forEach (native)
at visit (/Users/hawk/code/ol3-google-maps/node_modules/closure-util/lib/manager.js:183:25)
at /Users/hawk/code/ol3-google-maps/node_modules/closure-util/lib/manager.js:190:13
at Array.forEach (native)
at visit (/Users/hawk/code/ol3-google-maps/node_modules/closure-util/lib/manager.js:183:25)
at /Users/hawk/code/ol3-google-maps/node_modules/closure-util/lib/manager.js:212:11
at Array.forEach (native)
at Manager.getDependencies (/Users/hawk/code/ol3-google-maps/node_modules/closure-util/lib/manager.js:205:34)
at Server._requestListener (/Users/hawk/code/ol3-google-maps/node_modules/closure-util/lib/server.js:153:32)
The closure-util library is used. In the examples and tests, we used to ommit any "goog.require" for any dependencies from ol. We only defined "goog.require" in the source files. It would seem that may be the source of the problem, but I haven't figured this out yet. Any hint would be welcome.
Thanks,
Alexandre