Re: [openlayers-dev] fixing the examples

2019-01-15 Thread OpenLayers Dev
Hi Andreas, I edited rbush and quickselect so that they use es6 export/import syntax and got the simple examples working. Additionally I had to edit ./ol/structs/RBush.js ./ol/renderer/canvas/VectorLayer.js ./ol/renderer/canvas/VectorTileLayer.js so they could find rbush. And in the user code ha

Re: [openlayers-dev] fixing the examples

2019-01-15 Thread OpenLayers Dev
Hey Rich, the new examples will be in the next release, which will be v6.0, and is scheduled to be released in February. Thanks for writing up that blog post. Did you really get option 3 to work? When I tried it, it failed because some of OpenLayers's dependencies do not use ES modules. Andreas.

Re: [openlayers-dev] fixing the examples

2019-01-13 Thread OpenLayers Dev
Andreas, That's fantastic. And the codesandbox is really helpful. I started a blog post here

Re: [openlayers-dev] fixing the examples

2019-01-11 Thread OpenLayers Dev
Hey Richard, the pull request https://github.com/openlayers/openlayers/pull/9103 is now ready for review. It also contains a comment with a link to an example. Let me know what you think. Thanks, Andreas. On Mon, Jan 7, 2019 at 6:39 PM Andreas Hocevar wrote: > > Thanks for your thoughts Richard

Re: [openlayers-dev] fixing the examples

2019-01-07 Thread OpenLayers Dev
Thanks for your thoughts Richard. I have started a pull request (https://github.com/openlayers/openlayers/pull/9103), with the goal to use what you referenced as the "bundle way". Feel free to comment there if you have additional ideas. Thanks again, Andreas. On Fri, Jan 4, 2019 at 3:58 AM OpenL

[openlayers-dev] fixing the examples

2019-01-03 Thread OpenLayers Dev
I don't know if this is the right place to discuss this. Let me know if there is a better place. OpenLayers is an awesome library that I've enjoyed since I was introduced to it at FOSS4G Lausanne. The examples were a great on-ramp for new users. But the current version examples don't work right ou