mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
feat(outlines): voice outlines without Overpass — bundled US places and neighborhoods, guarded Nominatim, OpenFreeMap streets and buildings
This commit is contained in:
1 parent
e7707d9a0f
commit
9559e7a282
333 files changed
+13203
-271
No files matched your search
@@ -54,7 +54,15 @@ export function createDefaultPlaceSearch({
|
||||
return fetchImpl(url.toString(), { signal });
|
||||
},
|
||||
}),
|
||||
createPhotonGeocoder({ fetchImpl, endpoint: endpoints.photon }),
|
||||
// `endpoints.photon === null` is the operator's "no Photon".
|
||||
...(endpoints.photon === null
|
||||
? []
|
||||
: [
|
||||
createPhotonGeocoder({
|
||||
fetchImpl,
|
||||
endpoint: endpoints.photon ?? undefined,
|
||||
}),
|
||||
]),
|
||||
// Last resort: the local Nominatim route, which answers with no key when
|
||||
// neither of the two above did. It speaks the same result shape, so it
|
||||
// rides the existing Google adapter rather than needing its own.
|
||||
|
||||
Reference in new issue
Block a user