feat(platform): integrate runtime amap vehicle maps
This commit is contained in:
19
vehicle-data-platform/apps/web/src/vite-env.d.ts
vendored
19
vehicle-data-platform/apps/web/src/vite-env.d.ts
vendored
@@ -7,3 +7,22 @@ interface ImportMetaEnv {
|
||||
interface ImportMeta {
|
||||
readonly env: ImportMetaEnv;
|
||||
}
|
||||
|
||||
interface Window {
|
||||
__LINGNIU_APP_CONFIG__?: {
|
||||
amapWebJsKey?: string;
|
||||
amapSecurityJsCode?: string;
|
||||
amapSecurityServiceHost?: string;
|
||||
};
|
||||
_AMapSecurityConfig?: {
|
||||
securityJsCode?: string;
|
||||
serviceHost?: string;
|
||||
};
|
||||
AMapLoader?: {
|
||||
load: (options: {
|
||||
key: string;
|
||||
version: string;
|
||||
plugins?: string[];
|
||||
}) => Promise<unknown>;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user