Google Maps Bug

This commit is contained in:
Eric Gullickson
2025-11-08 12:17:29 -06:00
parent efbe9ba3c0
commit bb4a356b9e
39 changed files with 1175 additions and 449 deletions

View File

@@ -13,6 +13,8 @@
export interface AppConfig {
/** Google Maps JavaScript API key for map visualization */
googleMapsApiKey: string;
/** Google Maps Map ID for vector basemap and advanced markers */
googleMapsMapId?: string;
}
/**
@@ -60,6 +62,21 @@ export function getGoogleMapsApiKey(): string {
}
}
/**
* Get Google Maps Map ID (optional)
*
* @returns Google Maps Map ID or empty string
*/
export function getGoogleMapsMapId(): string {
try {
const config = getConfig();
return config.googleMapsMapId || '';
} catch {
console.warn('Google Maps Map ID not available. Advanced map features may be limited.');
return '';
}
}
/**
* Check if configuration is available
* Useful for conditional feature enablement