angular-openlayers-directive
angular-openlayers-directive copied to clipboard
Use my own OL version
Hi,
I installed angular-openlayers-directive 1.14.0 and openlayers 3.16.0 via NPM in my project. But i have a problem to make AOD works properly with my OL version.
AOD automatically includes OL from his own node_modules subfolder (3.8.2 ...) and does not consider mine.
I have to comment line 5 of dist/angular-openlayers-directive.js to make it work.
var ol = require('openlayers');
In your opinion, what is the best solution to use my own OL library ?
EDIT : i use a continuous deployment server and it is not possible for me to modify AOD file.
Hmmm..this is in fact an issue. Generally speaking I think it isn't necessary to include ol3 within this package. I think we could resolve this with npm peer dependencies.
I have to think about this and what effect it would have for others which at the moment rely on the bundled version. Any comments are welcome