File

src/app/component/amap/amap.config.ts

Index

Properties

Properties

Optional apiKey
Type : string
Optional apiVersion
Type : string
Default value : '1.4.5'
Optional urlPath
Type : string
Default value : '//webapi.amap.com/maps'
import { ViewContainerRef, InjectionToken } from '@angular/core';

export const STBUI_AMAP_DATA = new InjectionToken<any>('StbuiAmapData');

export class AmapConfig {
  apiKey?: string;
  apiVersion?: string = '1.4.5';
  urlPath?: string = '//webapi.amap.com/maps';
}

result-matching ""

    No results matching ""