You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using custom vector tiles, empty tiles will return a 404, which is expected behavior. However, if a we have missing tiles within the viewport and we use setFilter() on click on a layer using the missing tiles, map.loaded() will continuously return false.
mapbox-gl-js version: 0.49
browser: Chrome, FireFox, Safari
Steps to Trigger Behavior
Create custom vector tiles
Add a layer to filter and a layer to set the on click event on.
Add an on click event to the layer
4 . Add a setFiler() on click
When using custom vector tiles, empty tiles will return a 404, which is expected behavior. However, if a we have missing tiles within the viewport and we use setFilter() on click on a layer using the missing tiles, map.loaded() will continuously return
false
.mapbox-gl-js version: 0.49
browser: Chrome, FireFox, Safari
Steps to Trigger Behavior
4 . Add a
setFiler()
on clickmap.loaded()
Link to Demonstration
Here is a jsFiddle: https://jsfiddle.net/f27j8rqs/
Expected Behavior
map.loaded()
should returntrue
.Actual Behavior
map.loaded()
returnsfalse
.The text was updated successfully, but these errors were encountered: