KmlOverlay class
January 28, 2020 ยท View on GitHub
this.map.addKmlOverlay(options: KmlOverlayOptions).then((kmlOverlay: KmlOverlay) => {
});
API Reference
Instance properties
| Params | Type | Details |
|---|---|---|
| camera | ILatLng[] | Camera target bounds that contains all overlays |
| kmlData | any | Kml data |
Instance methods
-
getId()
Returns the ID of instance.
:arrow_right: Returns
string -
getMap()
Returns the map instance.
:arrow_right: Returns GoogleMap instance.
-
getDefaultViewport()
Returns the viewport to contains all overlays
:arrow_right: Returns CameraPosition<ILatLng | ILatLng[]>.
-
setVisible(visible)
Set marker visibility
Params Type Details visible boolean true or false -
getVisible()
Returns true if the marker is visible.
:arrow_right: Returns
boolean. -
setClickable(clickable)
Changes click-ability of the KmlOverlay
Params Type Details clickable boolean true or false -
getClickable()
Returns true if the KmlOverlay is clickable.
:arrow_right: Returns
boolean. -
remove()
Remove the KmlOverlay