feat(outlines): voice outlines without Overpass — bundled US places and neighborhoods, guarded Nominatim, OpenFreeMap streets and buildings

This commit is contained in:
Bilawal Sidhu committed 2026-09-28 22:49:23 -05:00
1 parent e7707d9a0f
commit 9559e7a282
333 files changed
+13203 -271

No files matched your search

+9 -1
View File
@@ -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.