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
I am using leaflet to create a set of swipable layers. Mapbox has an example of this: https://www.mapbox.com/mapbox.js/example/v1.0.0/swipe-layers/ My issue is that when a layer is getting clipped UTFGrid does not respect it. So it still gives the UTFGrid data for the last added layer. When hovering the other layer. Hopefully this make sense.
The text was updated successfully, but these errors were encountered:
Technically this is a bug just in the example / mapbox.js, but it's going to be tricky to pull off something that does the 'right thing' here - the swipe example uses CSS to hide & show layers, and the gridcontrol has no way of knowing. This is probably a bit out of scope & would be handled best in your own custom code.
I am using leaflet to create a set of swipable layers. Mapbox has an example of this: https://www.mapbox.com/mapbox.js/example/v1.0.0/swipe-layers/ My issue is that when a layer is getting clipped UTFGrid does not respect it. So it still gives the UTFGrid data for the last added layer. When hovering the other layer. Hopefully this make sense.
The text was updated successfully, but these errors were encountered: