You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: A polygon in view gets no label when its label point is out of view #3276
I searched the existing issues and did not find a duplicate.
This is a bug report, not a usage question (questions belong in Discussions).
What happened?
A polygon that fills part of the map view has no label when its label point (Geometry::label_point) is outside the view, for example after zooming into one end of a large lake. The polygon is skipped before any label place is tried (crates/render/src/lib.rs).
Steps to reproduce
Add a polygon layer and turn its labels on.
Zoom into one part of a large polygon, so that its label point is out of view.
The polygon is drawn with no label.
Expected behavior
A polygon in view is labelled at a place inside its visible part, at least for a class with "Try other places inside the polygon" on (#3268).
Also with Lock on: a polygon label locked at the place inside (#3268, in #3275) is hidden when its label point leaves the view, though the place it was locked at is still in view.
Activity
jgregoriorincon commentedon Nov 28, 2026
I'm taking this one.
jgregoriorincon commentedon Nov 29, 2026
Also with Lock on: a polygon label locked at the place inside (#3268, in #3275) is hidden when its label point leaves the view, though the place it was locked at is still in view.
fix(labels): point a callout back to the place inside with the label …
fix(labels): label a polygon in its visible part when its label point…