Skip to content

Latest commit

 

History

History
111 lines (73 loc) · 1.88 KB

File metadata and controls

111 lines (73 loc) · 1.88 KB

KmlOverlay class

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.

    ➡️ Returns string

  • getMap()

    Returns the map instance.

    ➡️ Returns GoogleMap instance.

  • getDefaultViewport()

    Returns the viewport to contains all overlays

    ➡️ 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.

    ➡️ 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.

    ➡️ Returns boolean.

  • remove()

    Remove the KmlOverlay