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

This layer does not render properly when switching zoom

Open liuyongly opened this issue 2 years ago • 5 comments

This layer does not render properly when switching zoom

mapbox-gl-js version:v1.1.1

browser: chrome version 98.0.4758.102

Steps to Trigger Behavior

1.create map 2.addSource 3.addLayer 4.Mouse wheel to switch zoom

https://jsfiddle.net/liuyongly/bc3xu6mf/31/

Expected Behavior

When the mouse wheel switches zoom, Layer renders normally

Actual Behavior

This layer does not render properly when switching zoom

liuyongly avatar Jul 05 '22 03:07 liuyongly

Hi @liuyongly I'm not seeing an issue with zoom and mousewheel on the example you provided. Have you experienced this issue with a more recent version of gl-js? If so, can you share a recording of what you are experiencing?

avpeery avatar Jul 11 '22 16:07 avpeery

layer When the mouse wheel is rolled, this layer sometimes displays normally and sometimes abnormally

liuyongly avatar Jul 15 '22 02:07 liuyongly

version mapbox-gl-js v1.1.1

liuyongly avatar Jul 15 '22 02:07 liuyongly

@avpeery I added, need help

liuyongly avatar Sep 06 '22 08:09 liuyongly

@liuyongly do you see this issue when using a later version on GL JS? If you do not want to upgrade to v2 of gl-js, please try with the latest v1 version: v1.13.2. Often times, some issues may already be fixed in later versions.

avpeery avatar Nov 08 '22 16:11 avpeery