ngx-openlayers
ngx-openlayers copied to clipboard
Use modular ol package
There is now a bundler friendly package of OL which is much better suited for our purposes: https://www.npmjs.com/package/ol/
I think this one should be used instead of the monolithic openlayers package.
Another related issue is custom builds. OL is very large and users are supposed to create a cutomized build with the features they need. The way angular2-openlayers works, it drags in dependencies for everything it implements and it exports everything globally.
I suggest to change it to have one component per file and not export everything by default. This way users can only pick what they need and not have unneeded OL dependencies because of this library.
Any suggestions?
100% in favor of moving to the modular package.
Couldn't get to the ol package to work from TypeScript.
https://github.com/openlayers/openlayers/issues/6496
Has anybody given this another try? Not using a monolithic openlayers would have a a lot of advantages.
Not yet, but we are very interested about this.