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
Beginning with v.0.45.0 a mouseenter event is fired on the wrong layer if two layers are using the same GeoJSON source and the mouseenter listener is on the second layer.
Steps to Trigger Behavior
Add two line layers using the same source to a map.
Set up a mouseenter listener on the second layer to change the line-color of this layer.
mapbox-gl-js version: v0.46.0
browser: Chrome on Linux
Beginning with v.0.45.0 a
mouseenter
event is fired on the wrong layer if two layers are using the same GeoJSON source and themouseenter
listener is on the second layer.Steps to Trigger Behavior
mouseenter
listener on the second layer to change theline-color
of this layer.Link to Demonstration
https://jsbin.com/resezeyosu/edit?html,output
Expected Behavior
line-color
of the second layer changes when hovering over the second layer.Demonstration with v0.44.2: https://jsbin.com/bicatukoxa/edit?html,output
Actual Behavior
line-color
of the second-layer changes when hovering over the first layerThe text was updated successfully, but these errors were encountered: