Questions tagged [openlayers-6]

v6 specific questions on the OpenLayers mapping library

OpenLayers v6 is the latest release of the OpenLayers mapping library.

412 questions
2
votes
1 answer

Openlayers 6 get geometry of a modified feature

How can I get the new feature geometry after its modification in Openlayers 6? I'm listening to the modifyend event. The source contains around 100 features. How can I do this? var modify = new ol.interaction.Modify({ source:…
Philiz
  • 429
  • 5
  • 25
2
votes
1 answer

Openlayers 6 z-index at feature level

In Openlayers 6, is it possible to set z-index at the feature level instead of the layer level to get a result like this: Given 3 layers: Layer of red triangles Layer of blue rectangles Layer of green stars The idea is to be able to stack…
Philiz
  • 429
  • 5
  • 25
2
votes
1 answer

Minified OpenLayers without modules

When working with openlayers, I use the plain JS (no modules) distribution by using