GroundOverlay Class

Bing
 

A map overlay that binds an image to a bounding box area on the map.

GroundOverlay(options: GroundOverlayOptions)

NameTypeDescription
metadataobjectOptional property to store any additional metadata for this ground overlay.
NameReturn TypeDescription
getBackgroundColor()string or ColorGets the background color of the ground overlay.
getBounds()LocationRectGets the bounding box that the ground overlay is bounded to.
getImageUrl()stringGets the url to the gorund overlay image.
getOpacity()numberGets the opacity of the ground overlay.
getMap()MapGets the map that this overlay is attached to.
getRotation()numberGets the rotation of the ground overlay.
getVisible()booleanGets a boolean indicating if the ground overlay is visible or not.
setOptions(options: GroundOverlayOptions)Sets the options used to render the ground overlay.
setVisible(visible: boolean)Sets the visibility of the Ground Overlay.
Show: