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
We expect that Marker positions would be updated whenever DEM data loads.
Actual Behavior
Currently Marker positions are updated on move and moveend events, but they’re not fired whenever DEM data loads after enabling terrain. We should either subscribe to a corresponding event in the marker code, or fire move on terrain load since it may extent to other similar use cases. https://github.com/mapbox/mapbox-gl-js/blob/main/src/ui/marker.js#L259-L260
The text was updated successfully, but these errors were encountered:
mapbox-gl-js version: 2.4.1
browser: Chrome
Steps to Trigger Behavior
raster-dem
source is added to the map, the markers end up in the incorrect spotLink to Demonstration
https://jsfiddle.net/0wku2q8L/
Expected Behavior
We expect that Marker positions would be updated whenever DEM data loads.
Actual Behavior
Currently Marker positions are updated on move and moveend events, but they’re not fired whenever DEM data loads after enabling terrain. We should either subscribe to a corresponding event in the marker code, or fire move on terrain load since it may extent to other similar use cases. https://github.com/mapbox/mapbox-gl-js/blob/main/src/ui/marker.js#L259-L260
The text was updated successfully, but these errors were encountered: