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 have disabled all other plugins and the issue still persists.
Possible solution
I see the correct Zoom calls being set in on("first-layer-ready"), so I'm wondering if that's just happening too early? I tried calling resetZoom in that function, but it still didn't resolve the issue.
The text was updated successfully, but these errors were encountered:
Facing a similar issue with the following configuration. The map doesn't load centered, and upon clicking the Reset Zoom button, it zooms to the features. Expected is to zoom to features on load.
Same problem here. I have found that when zoomFeature is true, it starts with the zoom level of the minZoom parameter.
and as others have said, manually clicking on Reset Zoom causes the zoom and location to be correct and align with what the expected initial zoom and position would be.
Check for existing bug reports before submitting.
Expected Behavior
Loading the map should render all tiles, and respect the
zoomFeature
configuration.Current behaviour
When
zoomFeature
is true, the map loads zoomed out extremely far. Most map tiles are not rendered.With
zoomFeature
removed, it seems to have a reasonable default zoom, but still fails to load most map tiles.Clicking
Reset Zoom
brings it to the expected map location.Reproduction
Please see the video below for a detailed reproduction.
The settings used in the video are here:
Which Operating Systems are you using?
Obsidian Version Check
1.3.7
Plugin Version
5.7.1
Confirmation
Possible solution
I see the correct Zoom calls being set in
on("first-layer-ready")
, so I'm wondering if that's just happening too early? I tried callingresetZoom
in that function, but it still didn't resolve the issue.The text was updated successfully, but these errors were encountered: