src/app/component/amap/amap.component.ts
| selector | stbui-amap |
| styleUrls | ./amap.component.scss |
| templateUrl | ./amap.component.html |
Methods |
Inputs |
constructor(api: AmapService, elementRef: ElementRef)
|
|||||||||
|
Defined in src/app/component/amap/amap.component.ts:22
|
|||||||||
|
Parameters :
|
| height | |
Type : string
|
|
|
Defined in src/app/component/amap/amap.component.ts:18
|
|
| lat | |
Type : number
|
|
Default value : 116.397428
|
|
|
Defined in src/app/component/amap/amap.component.ts:19
|
|
| lng | |
Type : number
|
|
Default value : 39.90923
|
|
|
Defined in src/app/component/amap/amap.component.ts:20
|
|
| options | |
Type : object
|
|
Default value : {}
|
|
|
Defined in src/app/component/amap/amap.component.ts:22
|
|
| width | |
Type : string
|
|
|
Defined in src/app/component/amap/amap.component.ts:17
|
|
| zoom | |
Type : number
|
|
Default value : 11
|
|
|
Defined in src/app/component/amap/amap.component.ts:21
|
|
| getStyles |
getStyles()
|
|
Defined in src/app/component/amap/amap.component.ts:42
|
|
Returns :
{ width: string; height: string; }
|
| ngOnDestroy |
ngOnDestroy()
|
|
Defined in src/app/component/amap/amap.component.ts:49
|
|
Returns :
void
|
| ngOnInit |
ngOnInit()
|
|
Defined in src/app/component/amap/amap.component.ts:26
|
|
Returns :
void
|
./amap.component.scss