Replies: 2 comments
-
What do you mean by extent? In vector tiles the term extent is the number of integer coordinates in each layer's drawing space. There is a |
Beta Was this translation helpful? Give feedback.
-
Hello @pnorman, I noticed while debugging OpenLayers that on their example https://openlayers.org/en/latest/examples/mapbox-vector-layer.html, the city names are rendered. When checking the features in the ol.render.canvas.TextBuilder.js I noticed that the feature coming from mapbox having extents (so a real geometry rather than a point): Best regards, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I wanted to ask, if there is a way to create a extent for labels (e.g. for everything that is in "place" layer).
Background: When using MapboxVectorLayer (usually used for MapBox..) in OpenLayer to use client side rendering no Labels are shown. After a bit of debugging I found out that the root cause is the missing extent box of the labels. Therefore when declutter is executed all labels are removed. Currently, the only way seems to use no decluttering at all, what overflows the map at some zoom levels.
Does anyone have an better idea?
(I already planed to switch to MapLibre in my implementation, but there is still a lot to do)
Beta Was this translation helpful? Give feedback.
All reactions