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 centering the map in non-NAIP areas (e.g. outside of the contiguous United States) using the NAIP tileset, the map fails to trigger the load map event, even though the map and tiles are visible. Strangely, when interacting with the map, like panning or zooming, only then the load map event fires.
This issue gets resolved for the majority of cases if I specify a bounds on the tile set, but it won't work all cases since there are portions of the United States and Mexico that get included in the bounding box. See the following image.
mapbox-gl-js version: 3.3.0
browser: Firefox 125.0
Steps to Trigger Behavior
Enter your access token on line 29
Open browser console
Notice 'loaded' does not get logged to the console
Interact with the map (e.g. pan / zoom)
Notice 'loaded' gets logged to the console
Uncomment bounds property on line 44/45
Notice map loads properly at the same center point, as it is outside of the bounding box
When centering the map in non-NAIP areas (e.g. outside of the contiguous United States) using the NAIP tileset, the map fails to trigger the
load
map event, even though the map and tiles are visible. Strangely, when interacting with the map, like panning or zooming, only then theload
map event fires.This issue gets resolved for the majority of cases if I specify a
bounds
on the tile set, but it won't work all cases since there are portions of the United States and Mexico that get included in the bounding box. See the following image.mapbox-gl-js version: 3.3.0
browser: Firefox 125.0
Steps to Trigger Behavior
bounds
property on line 44/45Link to Demonstration
https://stackblitz.com/edit/mapbox-mapboxgl-tsh2bl?file=index.html
Expected Behavior
The map 'load' event should fire, and the logged text 'loaded' should show in the console.
Actual Behavior
The map 'load' event does not fire, and the logged next 'loaded' does not show even though the map and tiles are visible and interactable.
The text was updated successfully, but these errors were encountered: