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
Both Google and Leaflet maps use zoom levels that are off by 1 from Mapbox GL/Maplibre maps. In our current implementation we bump the zoom levels to prioritize maps aligning in the interface rather than the zoom levels being 100% accurate. For example:
The argument for keeping this as it is is that we will generally only be using Google/Leaflet maps as reference maps and it is less important that the zoom levels are accurate. Looking at multiple map panes with the Google/Leaflet maps at different scales could be confusing.
The text was updated successfully, but these errors were encountered:
We certainly could use mapbox/maplibre for raster sources or at least have that as an option! We would want to hold on to Leaflet support for Tangram for now though I believe.
As mentioned in #129 here.
Both Google and Leaflet maps use zoom levels that are off by 1 from Mapbox GL/Maplibre maps. In our current implementation we bump the zoom levels to prioritize maps aligning in the interface rather than the zoom levels being 100% accurate. For example:
For Google Maps we do this in a few places:
maperture/src/components/GoogleMap.svelte
Lines 68 to 76 in ed54ba1
maperture/src/components/GoogleMap.svelte
Lines 35 to 45 in ed54ba1
And we do something similar for Leaflet maps.
The argument for keeping this as it is is that we will generally only be using Google/Leaflet maps as reference maps and it is less important that the zoom levels are accurate. Looking at multiple map panes with the Google/Leaflet maps at different scales could be confusing.
The text was updated successfully, but these errors were encountered: