If a layer is a VectorLayer, then there should appear a checkbox for toggling decluttering on or off.
Example layer definition (fill in overlapping features)
new VectorLayer({
title: 'Areas of interest',
source: new VectorSource({}),
declutter: true
})
If features are very close to each other, then some of them will be hidden. We want to be able to turn on/off this by setting declutter to true/false.
If a layer is a VectorLayer, then there should appear a checkbox for toggling decluttering on or off.
Example layer definition (fill in overlapping features) new VectorLayer({ title: 'Areas of interest', source: new VectorSource({}), declutter: true }) If features are very close to each other, then some of them will be hidden. We want to be able to turn on/off this by setting declutter to true/false.