-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
map.setLayoutProperty('layerID', 'visibility', 'none')
will trigger duplicate http request
#7459
Comments
mapbox-gl-js/src/style/style.js Lines 343 to 395 in 1d734ca
|
I found that the branch of 0.20.0 version of the same code, the request is not made, the new code on request |
This was likely fixed by #7459. I'll reopen if it's not the case. |
Oh, I meant #8005. Let's reopen and check again then. |
mapbox-gl-js version: 0.49.0
Question
simple hidden a raster layer
map.setLayoutProperty('layerID', 'visibility', 'none')
will duplicate http request`Is it a special feature or something need improved?
step
add a raster layer with google map source.and clear network console
hidden raster layer by
map.setLayoutProperty('layerID', 'visibility', 'none')
,and you will find it trigger duplicate httpThe text was updated successfully, but these errors were encountered: