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
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.