refactor(map): switch reverse geocoding from Bing to Mapbox

Reuse the existing Mapbox token instead of maintaining a separate Bing
Maps key. Note the coordinate order flips to lon,lat for the Mapbox
geocoding endpoint.
This commit is contained in:
Julien Calixte
2026-06-01 21:47:09 +02:00
parent 029fbae471
commit 39accae46e
4 changed files with 12 additions and 56 deletions

1
.env
View File

@@ -1,3 +1,2 @@
VITE_COUCHDB=https://couch.apoena.dev
VITE_MAP_KEY=AnLDo_m_IGvMsQPLuBak9igWj3gNYvqBodj0esZZ7VfI1OkqVWvg04eTZ4U9R0Y2
VITE_MAPBOX_KEY=pk.eyJ1IjoiamNhbGl4dGUiLCJhIjoiY2s3cmo1aHhlMDZ3dDNtc2Z0OXl3M3c5dSJ9.rkkIAZ4lKSJZssoFvH7Fpw