mapbox-gl-draw icon indicating copy to clipboard operation
mapbox-gl-draw copied to clipboard

Features flicker on selection change

Open NCorbeau opened this issue 6 years ago • 8 comments

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/

NCorbeau avatar Feb 22 '19 12:02 NCorbeau

Facing the same issue

vladimir-barsuchenko avatar Mar 22 '19 13:03 vladimir-barsuchenko

We are also facing the same. Please fix this.

We're also experiencing this and it happens with just 2 features on the map. The switching between the hot and cold layers is very noticeable.

Danita avatar Apr 15 '19 14:04 Danita

Any news here? Flikering starts at first mousemove after select/deselect video

Akiyamka avatar Apr 17 '19 12:04 Akiyamka

Similar problem in our application.

macobo avatar Sep 10 '19 23:09 macobo

Same problem for us. Any update on this?

campusano13 avatar Feb 26 '20 15:02 campusano13

This is a borderline showstopper for switching from leaflet draw with leaflet-mapbox to straight mapbox on a personal project :(

agusterodin avatar Apr 15 '20 00:04 agusterodin

Is there any plan to review/merge #1026 anytime soon? Or any reason why you won't? It fixes this issue for our project

gushuro avatar Mar 03 '21 15:03 gushuro