projects/ngx-amap/src/shared/ngx-amap-config.ts
Properties |
apiKey |
apiKey:
|
Type : string
|
Optional |
apiVersion |
apiVersion:
|
Type : string
|
Optional |
debug |
debug:
|
Type : boolean
|
Optional |
debugTags |
debugTags:
|
Type : string
|
Optional |
protocol |
protocol:
|
Type : "http" | "https"
|
Optional |
uiVersion |
uiVersion:
|
Type : string
|
Optional |
import { InjectionToken } from '@angular/core';
export interface NgxAmapConfig {
apiKey?: string;
apiVersion?: string;
uiVersion?: string;
protocol?: 'http' | 'https';
debug?: boolean;
debugTags?: string;
}
export const NGX_AMAP_CONFIG = new InjectionToken<NgxAmapConfig>('NGX_AMAP_CONFIG');