Remove direct calls to stadia API from geocoding

This commit is contained in:
Eli Ribble 2026-04-06 16:54:48 +00:00
parent 43dce16fbd
commit 9ef6aaa406
No known key found for this signature in database
20 changed files with 213 additions and 274 deletions

View file

@ -47,8 +47,8 @@ const props = withDefaults(defineProps<Props>(), {
// default bounds cover a bunch of the continental US
bounds: () => {
return {
max: { lng: -70, lat: 50 },
min: { lng: -125, lat: 25 },
max: { longitude: -70, latitude: 50 },
min: { longitude: -125, latitude: 25 },
};
},
});
@ -59,8 +59,8 @@ const map: Ref<MapLibreMap | null> = shallowRef(null);
function _bounds(): LngLatBoundsLike {
return new maplibregl.LngLatBounds(
new maplibregl.LngLat(boundsSafe.min.lng, boundsSafe.min.lat),
new maplibregl.LngLat(boundsSafe.max.lng, boundsSafe.max.lat),
new maplibregl.LngLat(boundsSafe.min.longitude, boundsSafe.min.latitude),
new maplibregl.LngLat(boundsSafe.max.longitude, boundsSafe.max.latitude),
);
}
const initializeMap = () => {