KmlScreenOverlay Class

Bing
 

Overlays HTML elements within the map container that are above the map.

KmlScreenOverlay(htmlElement?: string or HTMLElement, options?: KmlScreenOverlayOptions)

NameTypeDescription
metadataobjectOptional property to store any additional metadata for this overlay.
NameReturn TypeDescription
clear()Removes all the data in the layer.
getBelowNavigationBar()booleanGets a boolean indicating if the screen overlay is displayed above or below the navigation bar.
getHtmlElement()HTMLElementReturns the data source used by the layer.
getMap()MapReturns the map that this overlay is attached to.
getVisible()booleanGets a boolean indicating if the screen overlay is visible or not.
setHtmlElement(htmlElement: string *or* HTMLElement)Updates the html element of this screen overlay.
setOptions(options: KmlScreenOverlayOptions)Sets the options to customize the screen overlay.
setVisible(value: boolean)Sets whether the layer is visible or not.
Show: