Skip to content

[Bug]: A polygon in view gets no label when its label point is out of view #3276

Done

Description

@jgregoriorincon

Before you start

  • 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

  1. Add a polygon layer and turn its labels on.
  2. Zoom into one part of a large polygon, so that its label point is out of view.
  3. 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).

How are you running RustGIS?

Desktop app (built from source)

Version

1790b92

Activity

  1. added
    unconfirmed possible issue
    on Nov 28, 2026
  2. jgregoriorincon commented on Nov 28, 2026

    @jgregoriorincon
    ContributorAuthor

    I'm taking this one.

  3. jgregoriorincon commented on Nov 29, 2026

    @jgregoriorincon
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    unconfirmed possible issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions