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.
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 a collection of key-value pairs.
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
Base class implementing KVO.
The
MVCObject
constructor is guaranteed to be an empty function, and so you may inherit fromMVCObject
by writingMySubclass.prototype = new google.maps.MVCObject();
. Unless otherwise noted, this is not true of other classes in the API, and inheriting from other classes in the API is not supported.Access by calling
const {MVCObject} = await google.maps.importLibrary("core")
. See https://developers.google.com/maps/documentation/javascript/libraries.