Skip to content

MapViewAnnotation now disappear when anchor point comes out of the screen #2353

@corpusapp

Description

@corpusapp

Hi,

I just updated Mapbox packages to the latest version 11.14 and suddenly MapViewAnnotation started to disappear as soon as their anchor point left the screen. It was not doing that before the update (version 11.11). From reading the documentation it seems like a normal behavior, which is surprising because it wasn´t doing that before I updated....

"When a view annotation is added or updated, visibility can be specified explicitly. An annotation becomes hidden when it goes out of map view’s bounds or visible property is changed."

I didnt change anything in the code.

Any explanation or suggestion of workaround ?

11.14.mov

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