Skip to content

featuresAt() returns false positives with road labels #862

Closed

Description

@peterqliu

This test case shows black roads with black_label that are symbol_placement=line, and red roads with red_label that use default symbol placement.

When I hover over either road type to do a featuresAt({radius:10}), it returns road labels even when A) the cursor is clearly between labels, or B) the zoom level is too low for labels to even appear. Again, this happens regardless of symbol placement.

I would like to surface road labels only when (and where) the label is actually present.

cc/ @jfirebaugh @mourner

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions