packages/core/src/lib/directives/kml-layer.ts
Selector | agm-kml-layer |
Properties |
|
Methods |
|
Inputs |
Outputs |
constructor(_manager: KmlLayerManager)
|
||||||
Parameters :
|
clickable | |
Default value : true
|
|
If true, the layer receives mouse events. Default value is true. |
screenOverlays | |
Default value : true
|
|
Whether to render the screen overlays. Default true. |
suppressInfoWindows | |
Default value : false
|
|
Suppress the rendering of info windows when layer features are clicked. |
url | |
Type : string
|
|
Default value : null
|
|
The URL of the KML document to display. |
zIndex | |
Type : number | null
|
|
Default value : null
|
|
The z-index of the layer. |
defaultViewportChange | |
Type : EventEmitter<void>
|
|
This event is fired when the KML layers default viewport has changed. |
layerClick | |
Type : EventEmitter<google.maps.KmlMouseEvent>
|
|
This event is fired when a feature in the layer is clicked. |
statusChange | |
Type : EventEmitter<void>
|
|
This event is fired when the KML layer has finished loading. At this point it is safe to read the status property to determine if the layer loaded successfully. |
Private _addEventListeners |
_addEventListeners()
|
Returns :
void
|
Private _updatePolygonOptions | ||||||
_updatePolygonOptions(changes: SimpleChanges)
|
||||||
Parameters :
Returns :
void
|
id |
id()
|
Returns :
string
|
ngOnChanges | ||||||
ngOnChanges(changes: SimpleChanges)
|
||||||
Parameters :
Returns :
void
|
ngOnDestroy |
ngOnDestroy()
|
Returns :
void
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
toString |
toString()
|
Returns :
string
|
Private _addedToManager |
Default value : false
|
Private _id |
Type : string
|
Default value : (layerId++).toString()
|
Private Static _kmlLayerOptions |
Type : string[]
|
Default value : ['clickable', 'preserveViewport', 'screenOverlays', 'suppressInfoWindows', 'url', 'zIndex']
|
Private _subscriptions |
Type : Subscription[]
|
Default value : []
|