refactor: compose configurable geocoding and route services

This commit is contained in:
Sameh Khamis committed 2026-09-13 21:23:13 -07:00
1 parent 3b91feffdc
commit 8b36c28b06
25 files changed
+764 -211

No files matched your search

+2
View File
@@ -12,6 +12,7 @@ let constructed = false;
export function createStandaloneApplication({
googleApiKey,
cesiumToken,
geospatial = {},
allowQaRegistration = false,
}) {
if (constructed)
@@ -23,6 +24,7 @@ export function createStandaloneApplication({
return createApplication({
createScene: (context) => {
placeSearch = createStandalonePlaceSearch({
...geospatial,
resolveApiKey: () => googleApiKey,
signal: context.signal,
});