Skip to content

Features flicker on selection change  #871

@NCorbeau

Description

@NCorbeau

Hello,

When mapbox-gl-draw source is getting big, user can observe flickering of drawn features on selection change:

feb-22-2019 12-00-28

It seems like plugin moves features from one source to another and when there's many features on the map this operation takes time. Maybe for a moment features affected by selection change are not part of any source.

Do you think it is possible to somehow fix this?

Demo: https://jsfiddle.net/tpe907dc/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions