diff --git a/classes/AdvancedMarkerElement.html b/classes/AdvancedMarkerElement.html index 59327846..bc1b634b 100644 --- a/classes/AdvancedMarkerElement.html +++ b/classes/AdvancedMarkerElement.html @@ -1,4 +1,4 @@ -
Optional
options: AdvancedMarkerElementOptionsOptional
options: AdvancedMarkerElementOptionsAdds the given listener function to the given event name in the Maps Eventing system.
Optional
collisionSee google.maps.marker.AdvancedMarkerElementOptions.collisionBehavior.
-Optional
contentSee google.maps.marker.AdvancedMarkerElementOptions.content.
-This field is read-only. The DOM Element backing the view.
-Optional
gmpSee google.maps.marker.AdvancedMarkerElementOptions.gmpDraggable.
-Optional
mapSee google.maps.marker.AdvancedMarkerElementOptions.map.
-Optional
positionSee google.maps.marker.AdvancedMarkerElementOptions.position.
-Optional
zSee google.maps.marker.AdvancedMarkerElementOptions.zIndex.
-Optional
collisionSee google.maps.marker.AdvancedMarkerElementOptions.collisionBehavior.
+Optional
contentSee google.maps.marker.AdvancedMarkerElementOptions.content.
+This field is read-only. The DOM Element backing the view.
+Optional
gmpSee google.maps.marker.AdvancedMarkerElementOptions.gmpDraggable.
+Optional
mapSee google.maps.marker.AdvancedMarkerElementOptions.map.
+Optional
positionSee google.maps.marker.AdvancedMarkerElementOptions.position.
+Optional
zSee google.maps.marker.AdvancedMarkerElementOptions.zIndex.
+Optional
opts: AutocompleteOptionsOptional
opts: AutocompleteOptionsAdds 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 to which predictions are biased.
-Returns the fields to be included for the Place in the details response +
Binds a View to a Model.
+Gets a value.
+Returns the bounds to which predictions are biased.
+Returns the fields to be included for the Place in the details response when the details are successfully retrieved. For a list of fields see google.maps.places.PlaceResult.
-Returns the details of the Place selected by user if the details were +
Returns the details of the Place selected by user if the details were
successfully retrieved. Otherwise returns a stub Place object, with the
name
property set to the current value of the input field.
Notify all observers of a change on this property. This notifies both +
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 preferred area within which to return Place results. Results are +
Sets a value.
+Sets the preferred area within which to return Place results. Results are biased towards, but not restricted to, this area.
Sets the component restrictions. Component restrictions are used to +
Sets the component restrictions. Component restrictions are used to restrict predictions to only those within the parent component. For example, the country.
Sets the fields to be included for the Place in the details response when +
Sets the fields to be included for the Place in the details response when the details are successfully retrieved. For a list of fields see google.maps.places.PlaceResult.
-Sets the types of predictions to be returned. For supported types, see +
Sets the types of predictions to be returned. For supported types, see the developer's guide. If no types are specified, all types will be returned.
Sets a collection of key-value pairs.
-Removes a binding. Unbinding will set the unbound property to the current +
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.
-Static
_mockStatic
mockRemoves all bindings.
+Static
_mockStatic
mockRetrieves query autocomplete predictions based on the supplied query autocomplete request.
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.
-Gets the LatLngBounds
of this Circle.
Returns the center of this circle.
-Returns whether this circle can be dragged by the user.
-Returns whether this circle can be edited by the user.
-Returns the map on which this circle is displayed.
-Returns the radius of this circle (in meters).
-Returns whether this circle is visible on the map.
-Notify all observers of a change on this property. This notifies both +
Binds a View to a Model.
+Gets a value.
+Gets the LatLngBounds
of this Circle.
Returns the center of this circle.
+Returns whether this circle can be dragged by the user.
+Returns whether this circle can be edited by the user.
+Returns the map on which this circle is displayed.
+Returns the radius of this circle (in meters).
+Returns whether this circle 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 center of this circle.
-If set to true
, the user can drag this circle over the map.
If set to true
, the user can edit this circle by dragging
+
Sets a value.
+Sets the center of this circle.
+If set to true
, the user can drag this circle over the map.
If set to true
, the user can edit this circle by dragging
the control points shown at the center and around the circumference of
the circle.
Renders the circle on the specified map. If map is set to +
Renders the circle on the specified map. If map is set to
null
, the circle will be removed.
Sets the radius of this circle (in meters).
-Sets a collection of key-value pairs.
-Hides this circle if set to false
.
Removes a binding. Unbinding will set the unbound property to the current +
Sets the radius of this circle (in meters).
+Sets a collection of key-value pairs.
+Hides this circle 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.
-Static
_mockStatic
mockRemoves all bindings.
+Static
_mockStatic
mockAdds a feature to the collection, and returns the added feature.
If
the feature has an ID, it will replace any existing feature in the
collection with the same ID. If no feature is given, a new feature will
be created with null geometry and no properties. If
@@ -41,83 +41,83 @@
'1234'
are equivalent. Adding a feature with ID
1234
will replace a feature with ID '1234'
, and
vice versa.
Adds GeoJSON features to the collection. Give this method a parsed JSON. +
Adds GeoJSON features to the collection. Give this method a parsed JSON. The imported features are returned. Throws an exception if the GeoJSON could not be imported.
-Adds the given listener function to the given event name. Returns an +
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.
-Checks whether the given feature is in the collection.
-Repeatedly invokes the given function, passing a feature in the +
Binds a View to a Model.
+Checks whether the given feature is in the collection.
+Repeatedly invokes the given function, passing a feature in the collection to the function on each invocation. The order of iteration through the features is undefined.
-Gets a value.
-Returns the position of the drawing controls on the map.
-Returns which drawing modes are available for the user to select, in the +
Gets a value.
+Returns the position of the drawing controls on the map.
+Returns which drawing modes are available for the user to select, in the
order they are displayed. This does not include the null
drawing mode, which is added by default. Possible drawing modes are
"Point"
, "LineString"
or
"Polygon"
.
Returns the current drawing mode of the given Data layer. A drawing mode +
Returns the current drawing mode of the given Data layer. A drawing mode
of null
means that the user can interact with the map as
normal, and clicks do not draw anything. Possible drawing modes are
null
, "Point"
, "LineString"
or
"Polygon"
.
Returns the feature with the given ID, if it exists in the collection. +
Returns the feature with the given ID, if it exists in the collection.
Otherwise returns undefined
.
Note that the IDs
1234
and '1234'
are equivalent. Either can be
used to look up the same feature.
Returns the map on which the features are displayed.
-Gets the style for all features in the collection.
-Loads GeoJSON from a URL, and adds the features to the collection.
+
Returns the map on which the features are displayed.
+Gets the style for all features in the collection.
+Loads GeoJSON from a URL, and adds the features to the collection.
NOTE: The GeoJSON is fetched using XHR, and may not work cross-domain. If
you have issues, we recommend you fetch the GeoJSON using your choice of
AJAX library, and then call addGeoJson()
.
Notify all observers of a change on this property. This notifies both +
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.
-Changes the style of a feature. These changes are applied on top of the +
Changes the style of a feature. These changes are applied on top of the
style specified by setStyle()
. Style properties set to
null
revert to the value specified via
setStyle()
.
Removes a feature from the collection.
-Removes the effect of previous overrideStyle()
calls. The
+
Removes a feature from the collection.
+Removes the effect of previous overrideStyle()
calls. The
style of the given feature reverts to the style specified by
setStyle()
.
If no feature is given, all features have their style reverted.
-Sets a value.
-Sets the position of the drawing controls on the map.
-Sets which drawing modes are available for the user to select, in the +
Sets a value.
+Sets the position of the drawing controls on the map.
+Sets which drawing modes are available for the user to select, in the
order they are displayed. This should not include the null
drawing mode, which is added by default. If null
, drawing
controls are disabled and not displayed. Possible drawing modes are
"Point"
, "LineString"
or
"Polygon"
.
Sets the current drawing mode of the given Data layer. A drawing mode of +
Sets the current drawing mode of the given Data layer. A drawing mode of
null
means that the user can interact with the map as
normal, and clicks do not draw anything. Possible drawing modes are
null
, "Point"
, "LineString"
or
"Polygon"
.
Renders the features on the specified map. If map is set to +
Renders the features on the specified map. If map is set to
null
, the features will be removed from the map.
Sets the style for all features in the collection. Styles specified on a +
Sets the style for all features in the collection. Styles specified on a
per-feature basis via overrideStyle()
continue to apply.
Pass either an object with the desired style options, or a function that computes the style for each feature. The function will be called -every time a feature's properties are updated.
Sets a collection of key-value pairs.
-Exports the features in the collection to a GeoJSON object.
-Removes a binding. Unbinding will set the unbound property to the current +every time a feature's properties are updated.
Sets a collection of key-value pairs.
+Exports the features in the collection to a GeoJSON object.
+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.
-Static
_mockStatic
FeatureA feature has a geometry, an id, and a set of properties.
+Removes all bindings.
+Static
_mockStatic
FeatureA feature has a geometry, an id, and a set of properties.
Access by calling const {Data} = await google.maps.importLibrary("maps")
.
See https://developers.google.com/maps/documentation/javascript/libraries.
Static
mockStatic
PolygonA Polygon geometry contains a number of Data.LinearRing
s. The
+
Static
mockStatic
PolygonA Polygon geometry contains a number of Data.LinearRing
s. The
first linear-ring must be the polygon exterior boundary and subsequent
linear-rings must be interior boundaries, also known as holes. See the sample
polygon with a hole.
Access by calling const {Data} = await google.maps.importLibrary("maps")
.
See https://developers.google.com/maps/documentation/javascript/libraries.
Optional
elements: Optional
elements: 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 an array of the contained Data.LinearRing
s. A new
+
Binds a View to a Model.
+Gets a value.
+Returns an array of the contained Data.LinearRing
s. A new
array is returned each time getArray()
is called.
Returns the n
-th contained Data.LinearRing
.
Returns the number of contained Data.LinearRing
s.
Returns the string "Polygon"
.
Notify all observers of a change on this property. This notifies both +
Returns the n
-th contained Data.LinearRing
.
Returns the number of contained Data.LinearRing
s.
Returns the string "Polygon"
.
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 +
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.
-Static
_mockStatic
mockRemoves all bindings.
+Static
_mockStatic
mockMakes an elevation request along a path, where the elevation data are returned as distance-based samples along that path.
-Makes an elevation request for a list of discrete locations.
-Makes an elevation request for a list of discrete locations.
+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.
-Repeatedly invokes the given function, passing a property value and name +
Binds a View to a Model.
+Repeatedly invokes the given function, passing a property value and name on each invocation. The order of iteration through the properties is undefined.
-Gets a value.
-Returns the feature's geometry.
-Returns the feature ID.
-Returns the value of the requested property, or undefined
if
+
Gets a value.
+Returns the feature's geometry.
+Returns the feature ID.
+Returns the value of the requested property, or undefined
if
the property does not exist.
Notify all observers of a change on this property. This notifies both +
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.
-Removes the property with the given name.
-Sets a value.
-Sets the feature's geometry.
-Sets the value of the specified property. If newValue
is
+
Removes the property with the given name.
+Sets a value.
+Sets the feature's geometry.
+Sets the value of the specified property. If newValue
is
undefined
this is equivalent to calling
removeProperty
.
Sets a collection of key-value pairs.
-Exports the feature to a GeoJSON object.
-Removes a binding. Unbinding will set the unbound property to the current +
Sets a collection of key-value pairs.
+Exports the feature to a GeoJSON object.
+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.
-Static
_mockStatic
mockRemoves all bindings.
+Static
_mockStatic
mockThe FeatureType
associated with this
+
The FeatureType
associated with this
FeatureLayer
.
Whether this FeatureLayer
is available, meaning whether
+
Whether this FeatureLayer
is available, meaning whether
Data-driven styling is available for this map (there is a map ID using
vector tiles with this FeatureLayer
enabled in the Google
Cloud Console map style.) If this is false (or becomes false), styling on
this FeatureLayer
returns to default and events are not
triggered.
The style of Feature
s in the FeatureLayer
. The
+
The style of Feature
s in the FeatureLayer
. The
style is applied when style is set. If your style function updates, you
must set the style property again. A FeatureStyleFunction
must return consistent results when it is applied over the map tiles, and
@@ -25,4 +25,4 @@
Set the style to null
to remove the previously set style. If
this FeatureLayer
is not available, setting style does
nothing and logs an error.
Optional
opts: InfoWindowOptionsOptional
opts: InfoWindowOptionsAdds 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.
-Closes this InfoWindow by removing it from the DOM structure.
-Sets focus on this InfoWindow
. You may wish to consider
+
Binds a View to a Model.
+Closes this InfoWindow by removing it from the DOM structure.
+Sets focus on this InfoWindow
. You may wish to consider
using this method along with a visible
event to make sure
that InfoWindow
is visible before setting focus on it. An
InfoWindow
that is not visible cannot be focused.
Gets a value.
-Checks if the InfoWindow is open.
-Notify all observers of a change on this property. This notifies both +
Gets a value.
+Checks if the InfoWindow is open.
+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.
-Opens this InfoWindow on the given map. Optionally, an InfoWindow can be +
Opens this InfoWindow on the given map. Optionally, an InfoWindow can be
associated with an anchor. In the core API, the only anchor is the Marker
class. However, an anchor can be any MVCObject that exposes a LatLng
position
property and optionally a Point
@@ -54,18 +54,18 @@
the anchor is non-null, the InfoWindow will be positioned at the
top-center of the anchor. The InfoWindow will be rendered on the same
map or panorama as the anchor (when available).
Sets a value.
-Sets a value.
+Sets a collection of key-value pairs.
-Sets a collection of key-value pairs.
+Removes a binding. Unbinding will set the unbound property to the current +
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.
-Static
_mockStatic
mockRemoves all bindings.
+Static
_mockStatic
mockAdds 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.
-Get the default viewport for the layer being displayed.
-Get the map on which the KML Layer is being rendered.
-Get the metadata associated with this layer, as specified in the layer +
Binds a View to a Model.
+Gets a value.
+Get the default viewport for the layer being displayed.
+Get the map on which the KML Layer is being rendered.
+Get the metadata associated with this layer, as specified in the layer markup.
-Get the status of the layer, set once the requested document has loaded.
-Gets the URL of the KML file being displayed.
-Gets the z-index of the KML Layer.
-Notify all observers of a change on this property. This notifies both +
Get the status of the layer, set once the requested document has loaded.
+Gets the URL of the KML file being displayed.
+Gets the z-index of the KML Layer.
+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.
-Renders the KML Layer on the specified map. If map is set to +
Sets a value.
+Renders the KML Layer on the specified map. If map is set to
null
, the layer is removed.
Sets the URL of the KML file to display.
-Sets a collection of key-value pairs.
-Sets the z-index of the KML Layer.
+Sets the URL of the KML file to display.
+Sets a collection of key-value pairs.
+Sets the z-index of the KML Layer.
Removes a binding. Unbinding will set the unbound property to the current +
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.
-Static
_mockStatic
mockRemoves all bindings.
+Static
_mockStatic
mockComparison function.
-Returns the latitude in degrees.
-Returns the longitude in degrees.
-Converts to JSON representation. This function is intended to be used via +
Comparison function.
+Returns the latitude in degrees.
+Returns the longitude in degrees.
+Converts to JSON representation. This function is intended to be used via
JSON.stringify
.
Converts to string representation.
-Returns a string of the form "lat,lng" for this LatLng. We +
Converts to string representation.
+Returns a string of the form "lat,lng" for this LatLng. We round the lat/lng values to 6 decimal places by default.
-
Adds the given listener function to the given event name in the Maps +