Skip to content

Commit 464b0cb

Browse files
Closure Teamcopybara-github
Closure Team
authored andcommitted
chore: sync changes for Maps JS API v3.55.11.
PiperOrigin-RevId: 605366978
1 parent 23e25da commit 464b0cb

File tree

2 files changed

+128
-32
lines changed

2 files changed

+128
-32
lines changed

contrib/externs/maps/google_maps_api_v3_55.js

+64-16
Original file line numberDiff line numberDiff line change
@@ -7349,6 +7349,11 @@ google.maps.PlaceFeature.prototype.fetchPlace = function() {};
73497349
*/
73507350
google.maps.PlacesLibrary = function() {};
73517351

7352+
/**
7353+
* @type {typeof google.maps.places.AccessibilityOptions}
7354+
*/
7355+
google.maps.PlacesLibrary.prototype.AccessibilityOptions;
7356+
73527357
/**
73537358
* @type {typeof google.maps.places.AddressComponent}
73547359
*/
@@ -14923,6 +14928,51 @@ google.maps.marker.PinElementOptions.prototype.scale;
1492314928
*/
1492414929
google.maps.places = {};
1492514930

14931+
/**
14932+
*
14933+
* Access by calling `const {AccessibilityOptions} = await
14934+
* google.maps.importLibrary("places")`. See
14935+
* https://developers.google.com/maps/documentation/javascript/libraries.
14936+
* @constructor
14937+
*/
14938+
google.maps.places.AccessibilityOptions = function() {};
14939+
14940+
/**
14941+
* Whether a place has a wheelchair accessible entrance. Returns 'true'
14942+
* or 'false' if the value is known. Returns 'null' if the value
14943+
* is unknown.
14944+
* @type {boolean|null}
14945+
*/
14946+
google.maps.places.AccessibilityOptions.prototype
14947+
.hasWheelchairAccessibleEntrance;
14948+
14949+
/**
14950+
* Whether a place has wheelchair accessible parking. Returns 'true' or
14951+
* 'false' if the value is known. Returns 'null' if the value is
14952+
* unknown.
14953+
* @type {boolean|null}
14954+
*/
14955+
google.maps.places.AccessibilityOptions.prototype
14956+
.hasWheelchairAccessibleParking;
14957+
14958+
/**
14959+
* Whether a place has a wheelchair accessible restroom. Returns 'true'
14960+
* or 'false' if the value is known. Returns 'null' if the value
14961+
* is unknown.
14962+
* @type {boolean|null}
14963+
*/
14964+
google.maps.places.AccessibilityOptions.prototype
14965+
.hasWheelchairAccessibleRestroom;
14966+
14967+
/**
14968+
* Whether a place offers wheelchair accessible seating. Returns 'true'
14969+
* or 'false' if the value is known. Returns 'null' if the value
14970+
* is unknown.
14971+
* @type {boolean|null}
14972+
*/
14973+
google.maps.places.AccessibilityOptions.prototype
14974+
.hasWheelchairAccessibleSeating;
14975+
1492614976
/**
1492714977
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1492814978
*
@@ -15696,6 +15746,13 @@ google.maps.places.PhotoOptions.prototype.maxWidth;
1569615746
*/
1569715747
google.maps.places.Place = function(options) {};
1569815748

15749+
/**
15750+
* Accessibility options of this Place. <code>undefined</code> if the
15751+
* accessibility options data have not been called for from the server.
15752+
* @type {google.maps.places.AccessibilityOptions|null|undefined}
15753+
*/
15754+
google.maps.places.Place.prototype.accessibilityOptions;
15755+
1569915756
/**
1570015757
* The collection of address components for this Place’s location. Empty object
1570115758
* if there is no known address data. <code>undefined</code> if the address data
@@ -16056,7 +16113,7 @@ google.maps.places.PlaceAspectRating.prototype.rating;
1605616113
google.maps.places.PlaceAspectRating.prototype.type;
1605716114

1605816115
/**
16059-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
16116+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1606016117
*
1606116118
* <ul>
1606216119
<li>PlaceAutocompleteElement is an <code>HTMLElement</code> subclass which
@@ -16084,12 +16141,6 @@ google.maps.places.PlaceAutocompleteElement = function(options) {};
1608416141
*/
1608516142
google.maps.places.PlaceAutocompleteElement.prototype.componentRestrictions;
1608616143

16087-
/**
16088-
* The input element to show autocompletions for.
16089-
* @type {!HTMLInputElement}
16090-
*/
16091-
google.maps.places.PlaceAutocompleteElement.prototype.inputElement;
16092-
1609316144
/**
1609416145
* A soft boundary or hint to use when searching for places.
1609516146
* @type {!google.maps.places.LocationBias|null}
@@ -16105,8 +16156,11 @@ google.maps.places.PlaceAutocompleteElement.prototype.locationRestriction;
1610516156
/**
1610616157
* The name to be used for the input element. See <a
1610716158
* href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name</a>
16108-
* for details. Follows the same behavior as the name attribute for inputs.
16109-
* @type {string}
16159+
* for details. Follows the same behavior as the name attribute for inputs. Note
16160+
* that this is the name that will be used when a form is submitted. See <a
16161+
* href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form</a>
16162+
* for details.
16163+
* @type {string|null}
1611016164
*/
1611116165
google.maps.places.PlaceAutocompleteElement.prototype.name;
1611216166

@@ -16146,7 +16200,7 @@ google.maps.places.PlaceAutocompleteElement.prototype.types;
1614616200

1614716201

1614816202
/**
16149-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
16203+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1615016204
*
1615116205
* Options for constructing a PlaceAutocompleteElement.
1615216206
* @record
@@ -16160,12 +16214,6 @@ google.maps.places.PlaceAutocompleteElementOptions = function() {};
1616016214
google.maps.places.PlaceAutocompleteElementOptions.prototype
1616116215
.componentRestrictions;
1616216216

16163-
/**
16164-
* The input element to show autocompletions for.
16165-
* @type {!HTMLInputElement}
16166-
*/
16167-
google.maps.places.PlaceAutocompleteElementOptions.prototype.inputElement;
16168-
1616916217
/**
1617016218
* See {@link google.maps.places.PlaceAutocompleteElement.locationBias}
1617116219
* @type {!google.maps.places.LocationBias|null|undefined}

contrib/externs/maps/google_maps_api_v3_exp.js

+64-16
Original file line numberDiff line numberDiff line change
@@ -7349,6 +7349,11 @@ google.maps.PlaceFeature.prototype.fetchPlace = function() {};
73497349
*/
73507350
google.maps.PlacesLibrary = function() {};
73517351

7352+
/**
7353+
* @type {typeof google.maps.places.AccessibilityOptions}
7354+
*/
7355+
google.maps.PlacesLibrary.prototype.AccessibilityOptions;
7356+
73527357
/**
73537358
* @type {typeof google.maps.places.AddressComponent}
73547359
*/
@@ -14923,6 +14928,51 @@ google.maps.marker.PinElementOptions.prototype.scale;
1492314928
*/
1492414929
google.maps.places = {};
1492514930

14931+
/**
14932+
*
14933+
* Access by calling `const {AccessibilityOptions} = await
14934+
* google.maps.importLibrary("places")`. See
14935+
* https://developers.google.com/maps/documentation/javascript/libraries.
14936+
* @constructor
14937+
*/
14938+
google.maps.places.AccessibilityOptions = function() {};
14939+
14940+
/**
14941+
* Whether a place has a wheelchair accessible entrance. Returns &#39;true&#39;
14942+
* or &#39;false&#39; if the value is known. Returns &#39;null&#39; if the value
14943+
* is unknown.
14944+
* @type {boolean|null}
14945+
*/
14946+
google.maps.places.AccessibilityOptions.prototype
14947+
.hasWheelchairAccessibleEntrance;
14948+
14949+
/**
14950+
* Whether a place has wheelchair accessible parking. Returns &#39;true&#39; or
14951+
* &#39;false&#39; if the value is known. Returns &#39;null&#39; if the value is
14952+
* unknown.
14953+
* @type {boolean|null}
14954+
*/
14955+
google.maps.places.AccessibilityOptions.prototype
14956+
.hasWheelchairAccessibleParking;
14957+
14958+
/**
14959+
* Whether a place has a wheelchair accessible restroom. Returns &#39;true&#39;
14960+
* or &#39;false&#39; if the value is known. Returns &#39;null&#39; if the value
14961+
* is unknown.
14962+
* @type {boolean|null}
14963+
*/
14964+
google.maps.places.AccessibilityOptions.prototype
14965+
.hasWheelchairAccessibleRestroom;
14966+
14967+
/**
14968+
* Whether a place offers wheelchair accessible seating. Returns &#39;true&#39;
14969+
* or &#39;false&#39; if the value is known. Returns &#39;null&#39; if the value
14970+
* is unknown.
14971+
* @type {boolean|null}
14972+
*/
14973+
google.maps.places.AccessibilityOptions.prototype
14974+
.hasWheelchairAccessibleSeating;
14975+
1492614976
/**
1492714977
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1492814978
*
@@ -15696,6 +15746,13 @@ google.maps.places.PhotoOptions.prototype.maxWidth;
1569615746
*/
1569715747
google.maps.places.Place = function(options) {};
1569815748

15749+
/**
15750+
* Accessibility options of this Place. <code>undefined</code> if the
15751+
* accessibility options data have not been called for from the server.
15752+
* @type {google.maps.places.AccessibilityOptions|null|undefined}
15753+
*/
15754+
google.maps.places.Place.prototype.accessibilityOptions;
15755+
1569915756
/**
1570015757
* The collection of address components for this Place’s location. Empty object
1570115758
* if there is no known address data. <code>undefined</code> if the address data
@@ -16056,7 +16113,7 @@ google.maps.places.PlaceAspectRating.prototype.rating;
1605616113
google.maps.places.PlaceAspectRating.prototype.type;
1605716114

1605816115
/**
16059-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
16116+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1606016117
*
1606116118
* <ul>
1606216119
<li>PlaceAutocompleteElement is an <code>HTMLElement</code> subclass which
@@ -16084,12 +16141,6 @@ google.maps.places.PlaceAutocompleteElement = function(options) {};
1608416141
*/
1608516142
google.maps.places.PlaceAutocompleteElement.prototype.componentRestrictions;
1608616143

16087-
/**
16088-
* The input element to show autocompletions for.
16089-
* @type {!HTMLInputElement}
16090-
*/
16091-
google.maps.places.PlaceAutocompleteElement.prototype.inputElement;
16092-
1609316144
/**
1609416145
* A soft boundary or hint to use when searching for places.
1609516146
* @type {!google.maps.places.LocationBias|null}
@@ -16105,8 +16156,11 @@ google.maps.places.PlaceAutocompleteElement.prototype.locationRestriction;
1610516156
/**
1610616157
* The name to be used for the input element. See <a
1610716158
* href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name</a>
16108-
* for details. Follows the same behavior as the name attribute for inputs.
16109-
* @type {string}
16159+
* for details. Follows the same behavior as the name attribute for inputs. Note
16160+
* that this is the name that will be used when a form is submitted. See <a
16161+
* href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form</a>
16162+
* for details.
16163+
* @type {string|null}
1611016164
*/
1611116165
google.maps.places.PlaceAutocompleteElement.prototype.name;
1611216166

@@ -16146,7 +16200,7 @@ google.maps.places.PlaceAutocompleteElement.prototype.types;
1614616200

1614716201

1614816202
/**
16149-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
16203+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1615016204
*
1615116205
* Options for constructing a PlaceAutocompleteElement.
1615216206
* @record
@@ -16160,12 +16214,6 @@ google.maps.places.PlaceAutocompleteElementOptions = function() {};
1616016214
google.maps.places.PlaceAutocompleteElementOptions.prototype
1616116215
.componentRestrictions;
1616216216

16163-
/**
16164-
* The input element to show autocompletions for.
16165-
* @type {!HTMLInputElement}
16166-
*/
16167-
google.maps.places.PlaceAutocompleteElementOptions.prototype.inputElement;
16168-
1616916217
/**
1617016218
* See {@link google.maps.places.PlaceAutocompleteElement.locationBias}
1617116219
* @type {!google.maps.places.LocationBias|null|undefined}

0 commit comments

Comments
 (0)