Jean-Marc Viglino
Jean-Marc Viglino
I'm almost done upgrading to ES6 classes. All examples are using ol v.7 I still have to check some extra classes and lint... Try to publish a new version asap.
@mike-000 I've noticed a bug on VectorLayer opacity. It seems it is applied twice. You can see it on: https://viglino.github.io/ol-ext/examples/layer/test.html The first time the opacity is set is right. But...
I've published a new version 4.0.0 👉 4️⃣.0️⃣.0️⃣ https://www.npmjs.com/package/ol-ext Now compatible with ol v7 Tell me if you see bugs 🐞
😃 Official release : https://twitter.com/jmviglino/status/1573291101791948800 
> Oh need to make a new release for the types then no pressure...
The style only applies to draw the link and it only uses the fill color (to fill the link triangle). Stroke width and color are ignored...
The idea is to have speech bubble with link that points the bubble source... 
@ngjiajunsg I've added an ol/legend/Image item to add a legend image See: https://viglino.github.io/ol-ext/examples/legend/map.control.legend.image.html You can also link the legend to a layer to have it visible when the layer is...
Ol-ext is an ES6 module so you can import classes. There is also a pure js file (but deprecated). It is used in the examples. It doesn't include typescript definition...
Look at the ol quickstart: https://openlayers.org/doc/quickstart.html Just add ol-ext by tapping in the console: `npm install ol-ext` Then import classes in the js.