A rectangle overlay.
Access by calling const {Rectangle} = await google.maps.importLibrary("maps")
. See
https://developers.google.com/maps/documentation/javascript/libraries.
Adds the given listener function to the given event name. Returns an
identifier for this listener that can be used with
google.maps.event.removeListener
.
Binds a View to a Model.
Gets a value.
Returns the bounds of this rectangle.
Returns whether this rectangle can be dragged by the user.
Returns whether this rectangle can be edited by the user.
Returns the map on which this rectangle is displayed.
Returns whether this rectangle is visible on the map.
Notify all observers of a change on this property. This notifies both objects that are bound to the object's property as well as the object that it is bound to.
Sets a value.
Sets the bounds of this rectangle.
If set to true
, the user can drag this rectangle over the
map.
If set to true
, the user can edit this rectangle by dragging
the control points shown at the corners and on each edge.
Renders the rectangle on the specified map. If map is set to
null
, the rectangle will be removed.
Sets a collection of key-value pairs.
Hides this rectangle if set to false
.
Removes a binding. Unbinding will set the unbound property to the current value. The object will not be notified, as the value has not changed.
Removes all bindings.
Generated using TypeDoc
A rectangle overlay.
Access by calling
const {Rectangle} = await google.maps.importLibrary("maps")
. See https://developers.google.com/maps/documentation/javascript/libraries.