Skip to content

Commit f1a645f

Browse files
Closure Teamcopybara-github
authored andcommitted
chore: sync changes for Maps JS API v3.64.9c.
PiperOrigin-RevId: 899703502
1 parent ae73017 commit f1a645f

2 files changed

Lines changed: 102 additions & 30 deletions

File tree

contrib/externs/maps/google_maps_api_v3_64.js

Lines changed: 51 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16888,7 +16888,7 @@ google.maps.maps3d.Map3DElement.prototype.bounds;
1688816888
* favored. The fields <code>cameraPosition</code> and <code>center</code> can
1688916889
* be one-to-one-derived from each other in context of the given shared heading,
1689016890
* range, roll, and tilt.
16891-
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|null|undefined}
16891+
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral|null|undefined}
1689216892
*/
1689316893
google.maps.maps3d.Map3DElement.prototype.cameraPosition;
1689416894

@@ -16899,7 +16899,7 @@ google.maps.maps3d.Map3DElement.prototype.cameraPosition;
1689916899
* from the map center. If not set, defaults to <code>{lat: 0, lng: 0, altitude:
1690016900
* 63170000}</code>. 63170000 meters is a maximum allowed altitude (Earth radius
1690116901
* multiplied by 10).
16902-
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|null|undefined}
16902+
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral|null|undefined}
1690316903
*/
1690416904
google.maps.maps3d.Map3DElement.prototype.center;
1690516905

@@ -17135,13 +17135,13 @@ google.maps.maps3d.Map3DElementOptions.prototype.bounds;
1713517135

1713617136
/**
1713717137
* See {@link google.maps.maps3d.Map3DElement.cameraPosition}.
17138-
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|null|undefined}
17138+
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral|null|undefined}
1713917139
*/
1714017140
google.maps.maps3d.Map3DElementOptions.prototype.cameraPosition;
1714117141

1714217142
/**
1714317143
* See {@link google.maps.maps3d.Map3DElement.center}.
17144-
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|null|undefined}
17144+
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral|null|undefined}
1714517145
*/
1714617146
google.maps.maps3d.Map3DElementOptions.prototype.center;
1714717147

@@ -17396,6 +17396,13 @@ google.maps.maps3d.Marker3DElementOptions = function() {};
1739617396
*/
1739717397
google.maps.maps3d.Marker3DElementOptions.prototype.altitudeMode;
1739817398

17399+
/**
17400+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
17401+
* See {@link google.maps.maps3d.Marker3DElement.autofitsCamera}.
17402+
* @type {boolean|null|undefined}
17403+
*/
17404+
google.maps.maps3d.Marker3DElementOptions.prototype.autofitsCamera;
17405+
1739917406
/**
1740017407
* See {@link google.maps.maps3d.Marker3DElement.collisionBehavior}.
1740117408
* @type {!google.maps.CollisionBehavior|null|undefined}
@@ -17963,12 +17970,24 @@ google.maps.maps3d.Polygon3DElementOptions.prototype.geodesic;
1796317970
*/
1796417971
google.maps.maps3d.Polygon3DElementOptions.prototype.innerCoordinates;
1796517972

17973+
/**
17974+
* See {@link google.maps.maps3d.Polygon3DElement.innerPaths}.
17975+
* @type {!Iterable<!Iterable<!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral>|!Iterable<!google.maps.LatLngLiteral>>|null|undefined}
17976+
*/
17977+
google.maps.maps3d.Polygon3DElementOptions.prototype.innerPaths;
17978+
1796617979
/**
1796717980
* See {@link google.maps.maps3d.Polygon3DElement.outerCoordinates}.
1796817981
* @type {!Iterable<!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral>|null|undefined}
1796917982
*/
1797017983
google.maps.maps3d.Polygon3DElementOptions.prototype.outerCoordinates;
1797117984

17985+
/**
17986+
* See {@link google.maps.maps3d.Polygon3DElement.path}.
17987+
* @type {!Iterable<!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral>|null|undefined}
17988+
*/
17989+
google.maps.maps3d.Polygon3DElementOptions.prototype.path;
17990+
1797217991
/**
1797317992
* See {@link google.maps.maps3d.Polygon3DElement.strokeColor}.
1797417993
* @type {string|null|undefined}
@@ -18127,6 +18146,13 @@ google.maps.maps3d.Polyline3DElementOptions = function() {};
1812718146
*/
1812818147
google.maps.maps3d.Polyline3DElementOptions.prototype.altitudeMode;
1812918148

18149+
/**
18150+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
18151+
* See {@link google.maps.maps3d.Polyline3DElement.autofitsCamera}.
18152+
* @type {boolean|null|undefined}
18153+
*/
18154+
google.maps.maps3d.Polyline3DElementOptions.prototype.autofitsCamera;
18155+
1813018156
/**
1813118157
* See {@link google.maps.maps3d.Polyline3DElement.coordinates}.
1813218158
* @type {!Iterable<!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral>|null|undefined}
@@ -18163,6 +18189,12 @@ google.maps.maps3d.Polyline3DElementOptions.prototype.outerColor;
1816318189
*/
1816418190
google.maps.maps3d.Polyline3DElementOptions.prototype.outerWidth;
1816518191

18192+
/**
18193+
* See {@link google.maps.maps3d.Polyline3DElement.path}.
18194+
* @type {!Iterable<!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral>|null|undefined}
18195+
*/
18196+
google.maps.maps3d.Polyline3DElementOptions.prototype.path;
18197+
1816618198
/**
1816718199
* See {@link google.maps.maps3d.Polyline3DElement.strokeColor}.
1816818200
* @type {string|null|undefined}
@@ -18581,31 +18613,36 @@ google.maps.marker.AdvancedMarkerElementOptions.prototype.zIndex;
1858118613
google.maps.marker.PinElement = function(options) {};
1858218614

1858318615
/**
18584-
* See {@link google.maps.marker.PinElementOptions.background}.
18616+
* The background color of the pin shape. See {@link
18617+
* google.maps.marker.PinElementOptions.background}.
1858518618
* @type {string|null|undefined}
1858618619
*/
1858718620
google.maps.marker.PinElement.prototype.background;
1858818621

1858918622
/**
18590-
* See {@link google.maps.marker.PinElementOptions.borderColor}.
18623+
* The border color of the pin shape. See {@link
18624+
* google.maps.marker.PinElementOptions.borderColor}.
1859118625
* @type {string|null|undefined}
1859218626
*/
1859318627
google.maps.marker.PinElement.prototype.borderColor;
1859418628

1859518629
/**
18596-
* See {@link google.maps.marker.PinElementOptions.glyphColor}.
18630+
* The color of the pin glyph. See {@link
18631+
* google.maps.marker.PinElementOptions.glyphColor}.
1859718632
* @type {string|null|undefined}
1859818633
*/
1859918634
google.maps.marker.PinElement.prototype.glyphColor;
1860018635

1860118636
/**
18602-
* See {@link google.maps.marker.PinElementOptions.glyphSrc}.
18637+
* The source of the glyph image to be displayed in the pin. See {@link
18638+
* google.maps.marker.PinElementOptions.glyphSrc}.
1860318639
* @type {!URL|string|null|undefined}
1860418640
*/
1860518641
google.maps.marker.PinElement.prototype.glyphSrc;
1860618642

1860718643
/**
18608-
* See {@link google.maps.marker.PinElementOptions.glyphText}.
18644+
* The text displayed in the pin. See {@link
18645+
* google.maps.marker.PinElementOptions.glyphText}.
1860918646
* @type {string|null|undefined}
1861018647
*/
1861118648
google.maps.marker.PinElement.prototype.glyphText;
@@ -21425,7 +21462,7 @@ google.maps.places.PlaceAutocompleteElement.prototype.origin;
2142521462

2142621463
/**
2142721464
* The placeholder text to display in the input element.
21428-
* @type {string}
21465+
* @type {string|null}
2142921466
*/
2143021467
google.maps.places.PlaceAutocompleteElement.prototype.placeholder;
2143121468

@@ -21462,7 +21499,7 @@ google.maps.places.PlaceAutocompleteElement.prototype.unitSystem;
2146221499

2146321500
/**
2146421501
* The value of the input element.
21465-
* @type {string}
21502+
* @type {string|null}
2146621503
*/
2146721504
google.maps.places.PlaceAutocompleteElement.prototype.value;
2146821505

@@ -21740,7 +21777,7 @@ google.maps.places.PlaceDetailsCompactElement.prototype.place;
2174021777
* If true, truncates the place name and address to fit on one line instead of
2174121778
* wrapping.
2174221779
* @default <code>false</code>
21743-
* @type {boolean}
21780+
* @type {boolean|null|undefined}
2174421781
*/
2174521782
google.maps.places.PlaceDetailsCompactElement.prototype.truncationPreferred;
2174621783

@@ -21897,7 +21934,7 @@ google.maps.places.PlaceDetailsPlaceRequestElement = function(options) {};
2189721934
* Details Compact element. This property reflects to the attribute as a
2189821935
* resource name.
2189921936
* @default <code>null</code>
21900-
* @type {!google.maps.places.Place|null}
21937+
* @type {!google.maps.places.Place|string|null|undefined}
2190121938
*/
2190221939
google.maps.places.PlaceDetailsPlaceRequestElement.prototype.place;
2190321940

@@ -23425,8 +23462,7 @@ google.maps.places.PlaceTextSearchRequestElement.prototype.includedType;
2342523462
google.maps.places.PlaceTextSearchRequestElement.prototype.isOpenNow;
2342623463

2342723464
/**
23428-
* Location bias for the search. Normalizes to a <code>LatLngAltitude |
23429-
* LatLngBounds | Circle | string</code>.
23465+
* Location bias for the search.
2343023466
* @default <code>null</code>
2343123467
* @type {!google.maps.places.LocationBias|null|undefined}
2343223468
*/

contrib/externs/maps/google_maps_api_v3_exp.js

Lines changed: 51 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16888,7 +16888,7 @@ google.maps.maps3d.Map3DElement.prototype.bounds;
1688816888
* favored. The fields <code>cameraPosition</code> and <code>center</code> can
1688916889
* be one-to-one-derived from each other in context of the given shared heading,
1689016890
* range, roll, and tilt.
16891-
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|null|undefined}
16891+
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral|null|undefined}
1689216892
*/
1689316893
google.maps.maps3d.Map3DElement.prototype.cameraPosition;
1689416894

@@ -16899,7 +16899,7 @@ google.maps.maps3d.Map3DElement.prototype.cameraPosition;
1689916899
* from the map center. If not set, defaults to <code>{lat: 0, lng: 0, altitude:
1690016900
* 63170000}</code>. 63170000 meters is a maximum allowed altitude (Earth radius
1690116901
* multiplied by 10).
16902-
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|null|undefined}
16902+
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral|null|undefined}
1690316903
*/
1690416904
google.maps.maps3d.Map3DElement.prototype.center;
1690516905

@@ -17135,13 +17135,13 @@ google.maps.maps3d.Map3DElementOptions.prototype.bounds;
1713517135

1713617136
/**
1713717137
* See {@link google.maps.maps3d.Map3DElement.cameraPosition}.
17138-
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|null|undefined}
17138+
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral|null|undefined}
1713917139
*/
1714017140
google.maps.maps3d.Map3DElementOptions.prototype.cameraPosition;
1714117141

1714217142
/**
1714317143
* See {@link google.maps.maps3d.Map3DElement.center}.
17144-
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|null|undefined}
17144+
* @type {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral|null|undefined}
1714517145
*/
1714617146
google.maps.maps3d.Map3DElementOptions.prototype.center;
1714717147

@@ -17396,6 +17396,13 @@ google.maps.maps3d.Marker3DElementOptions = function() {};
1739617396
*/
1739717397
google.maps.maps3d.Marker3DElementOptions.prototype.altitudeMode;
1739817398

17399+
/**
17400+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
17401+
* See {@link google.maps.maps3d.Marker3DElement.autofitsCamera}.
17402+
* @type {boolean|null|undefined}
17403+
*/
17404+
google.maps.maps3d.Marker3DElementOptions.prototype.autofitsCamera;
17405+
1739917406
/**
1740017407
* See {@link google.maps.maps3d.Marker3DElement.collisionBehavior}.
1740117408
* @type {!google.maps.CollisionBehavior|null|undefined}
@@ -17963,12 +17970,24 @@ google.maps.maps3d.Polygon3DElementOptions.prototype.geodesic;
1796317970
*/
1796417971
google.maps.maps3d.Polygon3DElementOptions.prototype.innerCoordinates;
1796517972

17973+
/**
17974+
* See {@link google.maps.maps3d.Polygon3DElement.innerPaths}.
17975+
* @type {!Iterable<!Iterable<!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral>|!Iterable<!google.maps.LatLngLiteral>>|null|undefined}
17976+
*/
17977+
google.maps.maps3d.Polygon3DElementOptions.prototype.innerPaths;
17978+
1796617979
/**
1796717980
* See {@link google.maps.maps3d.Polygon3DElement.outerCoordinates}.
1796817981
* @type {!Iterable<!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral>|null|undefined}
1796917982
*/
1797017983
google.maps.maps3d.Polygon3DElementOptions.prototype.outerCoordinates;
1797117984

17985+
/**
17986+
* See {@link google.maps.maps3d.Polygon3DElement.path}.
17987+
* @type {!Iterable<!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral>|null|undefined}
17988+
*/
17989+
google.maps.maps3d.Polygon3DElementOptions.prototype.path;
17990+
1797217991
/**
1797317992
* See {@link google.maps.maps3d.Polygon3DElement.strokeColor}.
1797417993
* @type {string|null|undefined}
@@ -18127,6 +18146,13 @@ google.maps.maps3d.Polyline3DElementOptions = function() {};
1812718146
*/
1812818147
google.maps.maps3d.Polyline3DElementOptions.prototype.altitudeMode;
1812918148

18149+
/**
18150+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
18151+
* See {@link google.maps.maps3d.Polyline3DElement.autofitsCamera}.
18152+
* @type {boolean|null|undefined}
18153+
*/
18154+
google.maps.maps3d.Polyline3DElementOptions.prototype.autofitsCamera;
18155+
1813018156
/**
1813118157
* See {@link google.maps.maps3d.Polyline3DElement.coordinates}.
1813218158
* @type {!Iterable<!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral>|null|undefined}
@@ -18163,6 +18189,12 @@ google.maps.maps3d.Polyline3DElementOptions.prototype.outerColor;
1816318189
*/
1816418190
google.maps.maps3d.Polyline3DElementOptions.prototype.outerWidth;
1816518191

18192+
/**
18193+
* See {@link google.maps.maps3d.Polyline3DElement.path}.
18194+
* @type {!Iterable<!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|!google.maps.LatLngLiteral>|null|undefined}
18195+
*/
18196+
google.maps.maps3d.Polyline3DElementOptions.prototype.path;
18197+
1816618198
/**
1816718199
* See {@link google.maps.maps3d.Polyline3DElement.strokeColor}.
1816818200
* @type {string|null|undefined}
@@ -18581,31 +18613,36 @@ google.maps.marker.AdvancedMarkerElementOptions.prototype.zIndex;
1858118613
google.maps.marker.PinElement = function(options) {};
1858218614

1858318615
/**
18584-
* See {@link google.maps.marker.PinElementOptions.background}.
18616+
* The background color of the pin shape. See {@link
18617+
* google.maps.marker.PinElementOptions.background}.
1858518618
* @type {string|null|undefined}
1858618619
*/
1858718620
google.maps.marker.PinElement.prototype.background;
1858818621

1858918622
/**
18590-
* See {@link google.maps.marker.PinElementOptions.borderColor}.
18623+
* The border color of the pin shape. See {@link
18624+
* google.maps.marker.PinElementOptions.borderColor}.
1859118625
* @type {string|null|undefined}
1859218626
*/
1859318627
google.maps.marker.PinElement.prototype.borderColor;
1859418628

1859518629
/**
18596-
* See {@link google.maps.marker.PinElementOptions.glyphColor}.
18630+
* The color of the pin glyph. See {@link
18631+
* google.maps.marker.PinElementOptions.glyphColor}.
1859718632
* @type {string|null|undefined}
1859818633
*/
1859918634
google.maps.marker.PinElement.prototype.glyphColor;
1860018635

1860118636
/**
18602-
* See {@link google.maps.marker.PinElementOptions.glyphSrc}.
18637+
* The source of the glyph image to be displayed in the pin. See {@link
18638+
* google.maps.marker.PinElementOptions.glyphSrc}.
1860318639
* @type {!URL|string|null|undefined}
1860418640
*/
1860518641
google.maps.marker.PinElement.prototype.glyphSrc;
1860618642

1860718643
/**
18608-
* See {@link google.maps.marker.PinElementOptions.glyphText}.
18644+
* The text displayed in the pin. See {@link
18645+
* google.maps.marker.PinElementOptions.glyphText}.
1860918646
* @type {string|null|undefined}
1861018647
*/
1861118648
google.maps.marker.PinElement.prototype.glyphText;
@@ -21425,7 +21462,7 @@ google.maps.places.PlaceAutocompleteElement.prototype.origin;
2142521462

2142621463
/**
2142721464
* The placeholder text to display in the input element.
21428-
* @type {string}
21465+
* @type {string|null}
2142921466
*/
2143021467
google.maps.places.PlaceAutocompleteElement.prototype.placeholder;
2143121468

@@ -21462,7 +21499,7 @@ google.maps.places.PlaceAutocompleteElement.prototype.unitSystem;
2146221499

2146321500
/**
2146421501
* The value of the input element.
21465-
* @type {string}
21502+
* @type {string|null}
2146621503
*/
2146721504
google.maps.places.PlaceAutocompleteElement.prototype.value;
2146821505

@@ -21740,7 +21777,7 @@ google.maps.places.PlaceDetailsCompactElement.prototype.place;
2174021777
* If true, truncates the place name and address to fit on one line instead of
2174121778
* wrapping.
2174221779
* @default <code>false</code>
21743-
* @type {boolean}
21780+
* @type {boolean|null|undefined}
2174421781
*/
2174521782
google.maps.places.PlaceDetailsCompactElement.prototype.truncationPreferred;
2174621783

@@ -21897,7 +21934,7 @@ google.maps.places.PlaceDetailsPlaceRequestElement = function(options) {};
2189721934
* Details Compact element. This property reflects to the attribute as a
2189821935
* resource name.
2189921936
* @default <code>null</code>
21900-
* @type {!google.maps.places.Place|null}
21937+
* @type {!google.maps.places.Place|string|null|undefined}
2190121938
*/
2190221939
google.maps.places.PlaceDetailsPlaceRequestElement.prototype.place;
2190321940

@@ -23425,8 +23462,7 @@ google.maps.places.PlaceTextSearchRequestElement.prototype.includedType;
2342523462
google.maps.places.PlaceTextSearchRequestElement.prototype.isOpenNow;
2342623463

2342723464
/**
23428-
* Location bias for the search. Normalizes to a <code>LatLngAltitude |
23429-
* LatLngBounds | Circle | string</code>.
23465+
* Location bias for the search.
2343023466
* @default <code>null</code>
2343123467
* @type {!google.maps.places.LocationBias|null|undefined}
2343223468
*/

0 commit comments

Comments
 (0)