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

Conflict with other map elements

Open sprattek opened this issue 7 years ago • 5 comments

Hey guys,

I've noticed that there is an issue while moving with circle while there are also some other elements placed on the map, like markers. When you move across these elements it will stop dragging the circle, I've prepared codepen example so you can check it out. I think that issue exists there from version 1.4.0, I'm using version 1.3.0 for now as it's working fine there.

Example

sprattek avatar Nov 10 '17 09:11 sprattek

This issue should be fixed in the 1.6.2 release.

carlba avatar Dec 04 '17 22:12 carlba

@sprattek Can you confirm that @carlba's assumption is correct? Should be fixed with #62. If so, please close this issue.

mblomdahl avatar Dec 07 '17 17:12 mblomdahl

@mblomdahl @carlba sorry guys for delay, yes it seems fixed, thank you.

sprattek avatar Dec 11 '17 10:12 sprattek

Hey guys, I've noticed that this issue still exists there when you try to drag circle across the popup. I've updated the codepen example so you can easily check it out. Thanks.

sprattek avatar Jan 26 '18 11:01 sprattek

@sprattek This is actually working by design. "Drag" is cancelled if you go outside the map canvas element, because we can't reliably track what you're doing outside the window or on external HTML elements (e.g. mouse-up). The kittens are actually on the map canvas; the popup is just a floating div somewhere. :)

ghost avatar May 27 '18 16:05 ghost