Skip to content

[Bug]: Building footprints stop accepting clicks above ~zoom 18 #115

Description

@airshiner

Summary

Above roughly zoom 18, clicking a building footprint in the Interactive Labeler does nothing — no label, no error. The same click at zoom ~16.6 works.

Measurement

Same building, same click target (the footprint's interior point projected through the map's own positionsToPixels), varying only camera zoom:

Zoom Result
16.61 labels correctly
17.67 labels correctly
18.05 no label, no error
18.12 no label, no error

Reproduced consistently across many buildings and both label classes.

Impact

Zooming in is the natural response to needing precision on a small or tightly-packed building, so this fails exactly when the user is being careful. Because it's silent, it reads as "my click missed the building" rather than "the tool has stopped accepting clicks" — so the instinctive fix is to zoom in further, which makes it worse.

This also silently breaks any scripted labeling that centres tightly on each target.

Suggested fix

Keep the footprint hit-test layer interactive at all zoom levels. If there's a rendering or tiling reason for the cutoff, surface it — e.g. an explicit "zoom out to label" hint whenever the map is above the interactive range.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions