Skip to content

Commit d00c6da

Browse files
Closure Teamcopybara-github
Closure Team
authored andcommitted
chore: sync changes for Maps JS API v3.60.7b.
PiperOrigin-RevId: 743338364
1 parent 1b67bff commit d00c6da

File tree

2 files changed

+2
-220
lines changed

2 files changed

+2
-220
lines changed

contrib/externs/maps/google_maps_api_v3_60.js

+1-110
Original file line numberDiff line numberDiff line change
@@ -1986,7 +1986,7 @@ google.maps.DirectionsLeg.prototype.via_waypoints;
19861986

19871987
/**
19881988
* Information about traffic speed along the leg.
1989-
* @type {!Array<?>}
1989+
* @type {!Array<*>}
19901990
* @deprecated This array will always be empty.
19911991
*/
19921992
google.maps.DirectionsLeg.prototype.traffic_speed_entry;
@@ -18982,8 +18982,6 @@ google.maps.places.PlaceAspectRating.prototype.rating;
1898218982
google.maps.places.PlaceAspectRating.prototype.type;
1898318983

1898418984
/**
18985-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
18986-
*
1898718985
* PlaceAutocompleteElement is an <code>HTMLElement</code> subclass which
1898818986
* provides a UI component for the Places Autocomplete API. <br/><br/>
1898918987
* PlaceAutocompleteElement automatically uses {@link
@@ -19008,7 +19006,6 @@ google.maps.places.PlaceAspectRating.prototype.type;
1900819006
google.maps.places.PlaceAutocompleteElement = function(options) {};
1900919007

1901019008
/**
19011-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1901219009
* Included primary <a
1901319010
* href="https://developers.google.com/maps/documentation/places/javascript/place-types">Place
1901419011
* type</a> (for example, &quot;restaurant&quot; or &quot;gas_station&quot;).
@@ -19020,7 +19017,6 @@ google.maps.places.PlaceAutocompleteElement = function(options) {};
1902019017
google.maps.places.PlaceAutocompleteElement.prototype.includedPrimaryTypes;
1902119018

1902219019
/**
19023-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1902419020
* Only include results in the specified regions, specified as up to 15 CLDR
1902519021
* two-character region codes. An empty set will not restrict the results. If
1902619022
* both <code>locationRestriction</code> and <code>includedRegionCodes</code>
@@ -19053,7 +19049,6 @@ google.maps.places.PlaceAutocompleteElement.prototype.locationRestriction;
1905319049
google.maps.places.PlaceAutocompleteElement.prototype.name;
1905419050

1905519051
/**
19056-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1905719052
* The origin from which to calculate distance. If not specified, distance is
1905819053
* not calculated. The altitude, if given, is not used in the calculation.
1905919054
* @type {!google.maps.LatLng|!google.maps.LatLngLiteral|!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|null|undefined}
@@ -19085,65 +19080,22 @@ google.maps.places.PlaceAutocompleteElement.prototype.requestedLanguage;
1908519080
google.maps.places.PlaceAutocompleteElement.prototype.requestedRegion;
1908619081

1908719082
/**
19088-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1908919083
* The unit system used to display distances. If not specified, the unit system
1909019084
* is determined by requestedRegion.
1909119085
* @type {!google.maps.UnitSystem|null|undefined}
1909219086
*/
1909319087
google.maps.places.PlaceAutocompleteElement.prototype.unitSystem;
1909419088

19095-
/**
19096-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
19097-
* The component restrictions. Component restrictions are used to restrict
19098-
* predictions to only those within the parent component. For example, the
19099-
* country.
19100-
* @type {!google.maps.places.ComponentRestrictions|null}
19101-
* @deprecated This property will continue to function in the beta channel, but
19102-
* will not be made available in alpha or at release. For migration
19103-
* purposes, specify both this property and <code>includeRegionCodes</code>.
19104-
*/
19105-
google.maps.places.PlaceAutocompleteElement.prototype.componentRestrictions;
19106-
19107-
/**
19108-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
19109-
* The types of predictions to be returned. For supported types, see the <a
19110-
* href="https://developers.google.com/maps/documentation/javascript/places-autocomplete#constrain-place-types">
19111-
* developer&#39;s guide</a>. If no types are specified, all types will be
19112-
* returned.
19113-
* @type {!Array<string>|null}
19114-
* @deprecated This property will continue to function in the beta channel, but
19115-
* will not be made available in alpha or at release. For migration
19116-
* purposes, specify both this property and
19117-
* <code>includedPrimaryTypes</code>.
19118-
*/
19119-
google.maps.places.PlaceAutocompleteElement.prototype.types;
19120-
1912119089

1912219090

1912319091
/**
19124-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
19125-
*
1912619092
* Options for constructing a PlaceAutocompleteElement. For the description of
1912719093
* each property, refer to the property of the same name in the
1912819094
* PlaceAutocompleteElement class.
1912919095
* @record
1913019096
*/
1913119097
google.maps.places.PlaceAutocompleteElementOptions = function() {};
1913219098

19133-
/**
19134-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
19135-
* @type {!Array<string>|null|undefined}
19136-
*/
19137-
google.maps.places.PlaceAutocompleteElementOptions.prototype
19138-
.includedPrimaryTypes;
19139-
19140-
/**
19141-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
19142-
* @type {!Array<string>|null|undefined}
19143-
*/
19144-
google.maps.places.PlaceAutocompleteElementOptions.prototype
19145-
.includedRegionCodes;
19146-
1914719099
/**
1914819100
* @type {!google.maps.places.LocationBias|null|undefined}
1914919101
*/
@@ -19160,70 +19112,11 @@ google.maps.places.PlaceAutocompleteElementOptions.prototype
1916019112
*/
1916119113
google.maps.places.PlaceAutocompleteElementOptions.prototype.name;
1916219114

19163-
/**
19164-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
19165-
* @type {!google.maps.LatLng|!google.maps.LatLngLiteral|!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|null|undefined}
19166-
*/
19167-
google.maps.places.PlaceAutocompleteElementOptions.prototype.origin;
19168-
1916919115
/**
1917019116
* @type {string|null|undefined}
1917119117
*/
1917219118
google.maps.places.PlaceAutocompleteElementOptions.prototype.requestedLanguage;
1917319119

19174-
/**
19175-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
19176-
* @type {!google.maps.UnitSystem|null|undefined}
19177-
*/
19178-
google.maps.places.PlaceAutocompleteElementOptions.prototype.unitSystem;
19179-
19180-
/**
19181-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
19182-
* @type {!google.maps.places.ComponentRestrictions|null|undefined}
19183-
* @deprecated This property will continue to function in the beta channel, but
19184-
* will not be made available in alpha or at release. For migration
19185-
* purposes, specify both this property and
19186-
* <code>includedRegionCodes</code>.
19187-
*/
19188-
google.maps.places.PlaceAutocompleteElementOptions.prototype
19189-
.componentRestrictions;
19190-
19191-
/**
19192-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
19193-
* @type {!Array<string>|null|undefined}
19194-
* @deprecated This property will continue to function in the beta channel, but
19195-
* will not be made available in alpha or at release. For migration
19196-
* purposes, specify both this property and
19197-
* <code>includedPrimaryTypes</code>.
19198-
*/
19199-
google.maps.places.PlaceAutocompleteElementOptions.prototype.types;
19200-
19201-
/**
19202-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
19203-
*
19204-
* This event is created after the user selects a place with the Place
19205-
* Autocomplete Element. Access the selection with <code>event.place</code>.
19206-
*
19207-
* Access by calling `const {PlaceAutocompletePlaceSelectEvent} = await
19208-
* google.maps.importLibrary("places")`. See
19209-
* https://developers.google.com/maps/documentation/javascript/libraries.
19210-
* @extends {Event}
19211-
* @constructor
19212-
* @deprecated The <code>gmp-placeselect</code> event will continue to trigger
19213-
* in the beta channel, but will not trigger in alpha or at release. For
19214-
* migration purposes, continue to listen to the
19215-
* <code>gmp-placeselect</code> event, but also add an event listener for
19216-
* the <code>gmp-select</code> event, which returns a
19217-
* <code>PlacePredictionSelectEvent</code> object.
19218-
*/
19219-
google.maps.places.PlaceAutocompletePlaceSelectEvent = function() {};
19220-
19221-
/**
19222-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
19223-
* @type {!google.maps.places.Place}
19224-
*/
19225-
google.maps.places.PlaceAutocompletePlaceSelectEvent.prototype.place;
19226-
1922719120
/**
1922819121
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1922919122
*
@@ -19811,8 +19704,6 @@ google.maps.places.PlacePrediction.prototype.types;
1981119704
google.maps.places.PlacePrediction.prototype.toPlace = function() {};
1981219705

1981319706
/**
19814-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
19815-
*
1981619707
* This event is created after the user selects a prediction item with the
1981719708
* PlaceAutocompleteElement. Access the selection with
1981819709
* <code>event.placePrediction</code>. <br/><br/> Convert placePrediction to

contrib/externs/maps/google_maps_api_v3_exp.js

+1-110
Original file line numberDiff line numberDiff line change
@@ -1986,7 +1986,7 @@ google.maps.DirectionsLeg.prototype.via_waypoints;
19861986

19871987
/**
19881988
* Information about traffic speed along the leg.
1989-
* @type {!Array<?>}
1989+
* @type {!Array<*>}
19901990
* @deprecated This array will always be empty.
19911991
*/
19921992
google.maps.DirectionsLeg.prototype.traffic_speed_entry;
@@ -18982,8 +18982,6 @@ google.maps.places.PlaceAspectRating.prototype.rating;
1898218982
google.maps.places.PlaceAspectRating.prototype.type;
1898318983

1898418984
/**
18985-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
18986-
*
1898718985
* PlaceAutocompleteElement is an <code>HTMLElement</code> subclass which
1898818986
* provides a UI component for the Places Autocomplete API. <br/><br/>
1898918987
* PlaceAutocompleteElement automatically uses {@link
@@ -19008,7 +19006,6 @@ google.maps.places.PlaceAspectRating.prototype.type;
1900819006
google.maps.places.PlaceAutocompleteElement = function(options) {};
1900919007

1901019008
/**
19011-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1901219009
* Included primary <a
1901319010
* href="https://developers.google.com/maps/documentation/places/javascript/place-types">Place
1901419011
* type</a> (for example, &quot;restaurant&quot; or &quot;gas_station&quot;).
@@ -19020,7 +19017,6 @@ google.maps.places.PlaceAutocompleteElement = function(options) {};
1902019017
google.maps.places.PlaceAutocompleteElement.prototype.includedPrimaryTypes;
1902119018

1902219019
/**
19023-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1902419020
* Only include results in the specified regions, specified as up to 15 CLDR
1902519021
* two-character region codes. An empty set will not restrict the results. If
1902619022
* both <code>locationRestriction</code> and <code>includedRegionCodes</code>
@@ -19053,7 +19049,6 @@ google.maps.places.PlaceAutocompleteElement.prototype.locationRestriction;
1905319049
google.maps.places.PlaceAutocompleteElement.prototype.name;
1905419050

1905519051
/**
19056-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1905719052
* The origin from which to calculate distance. If not specified, distance is
1905819053
* not calculated. The altitude, if given, is not used in the calculation.
1905919054
* @type {!google.maps.LatLng|!google.maps.LatLngLiteral|!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|null|undefined}
@@ -19085,65 +19080,22 @@ google.maps.places.PlaceAutocompleteElement.prototype.requestedLanguage;
1908519080
google.maps.places.PlaceAutocompleteElement.prototype.requestedRegion;
1908619081

1908719082
/**
19088-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1908919083
* The unit system used to display distances. If not specified, the unit system
1909019084
* is determined by requestedRegion.
1909119085
* @type {!google.maps.UnitSystem|null|undefined}
1909219086
*/
1909319087
google.maps.places.PlaceAutocompleteElement.prototype.unitSystem;
1909419088

19095-
/**
19096-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
19097-
* The component restrictions. Component restrictions are used to restrict
19098-
* predictions to only those within the parent component. For example, the
19099-
* country.
19100-
* @type {!google.maps.places.ComponentRestrictions|null}
19101-
* @deprecated This property will continue to function in the beta channel, but
19102-
* will not be made available in alpha or at release. For migration
19103-
* purposes, specify both this property and <code>includeRegionCodes</code>.
19104-
*/
19105-
google.maps.places.PlaceAutocompleteElement.prototype.componentRestrictions;
19106-
19107-
/**
19108-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
19109-
* The types of predictions to be returned. For supported types, see the <a
19110-
* href="https://developers.google.com/maps/documentation/javascript/places-autocomplete#constrain-place-types">
19111-
* developer&#39;s guide</a>. If no types are specified, all types will be
19112-
* returned.
19113-
* @type {!Array<string>|null}
19114-
* @deprecated This property will continue to function in the beta channel, but
19115-
* will not be made available in alpha or at release. For migration
19116-
* purposes, specify both this property and
19117-
* <code>includedPrimaryTypes</code>.
19118-
*/
19119-
google.maps.places.PlaceAutocompleteElement.prototype.types;
19120-
1912119089

1912219090

1912319091
/**
19124-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
19125-
*
1912619092
* Options for constructing a PlaceAutocompleteElement. For the description of
1912719093
* each property, refer to the property of the same name in the
1912819094
* PlaceAutocompleteElement class.
1912919095
* @record
1913019096
*/
1913119097
google.maps.places.PlaceAutocompleteElementOptions = function() {};
1913219098

19133-
/**
19134-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
19135-
* @type {!Array<string>|null|undefined}
19136-
*/
19137-
google.maps.places.PlaceAutocompleteElementOptions.prototype
19138-
.includedPrimaryTypes;
19139-
19140-
/**
19141-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
19142-
* @type {!Array<string>|null|undefined}
19143-
*/
19144-
google.maps.places.PlaceAutocompleteElementOptions.prototype
19145-
.includedRegionCodes;
19146-
1914719099
/**
1914819100
* @type {!google.maps.places.LocationBias|null|undefined}
1914919101
*/
@@ -19160,70 +19112,11 @@ google.maps.places.PlaceAutocompleteElementOptions.prototype
1916019112
*/
1916119113
google.maps.places.PlaceAutocompleteElementOptions.prototype.name;
1916219114

19163-
/**
19164-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
19165-
* @type {!google.maps.LatLng|!google.maps.LatLngLiteral|!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral|null|undefined}
19166-
*/
19167-
google.maps.places.PlaceAutocompleteElementOptions.prototype.origin;
19168-
1916919115
/**
1917019116
* @type {string|null|undefined}
1917119117
*/
1917219118
google.maps.places.PlaceAutocompleteElementOptions.prototype.requestedLanguage;
1917319119

19174-
/**
19175-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
19176-
* @type {!google.maps.UnitSystem|null|undefined}
19177-
*/
19178-
google.maps.places.PlaceAutocompleteElementOptions.prototype.unitSystem;
19179-
19180-
/**
19181-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
19182-
* @type {!google.maps.places.ComponentRestrictions|null|undefined}
19183-
* @deprecated This property will continue to function in the beta channel, but
19184-
* will not be made available in alpha or at release. For migration
19185-
* purposes, specify both this property and
19186-
* <code>includedRegionCodes</code>.
19187-
*/
19188-
google.maps.places.PlaceAutocompleteElementOptions.prototype
19189-
.componentRestrictions;
19190-
19191-
/**
19192-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
19193-
* @type {!Array<string>|null|undefined}
19194-
* @deprecated This property will continue to function in the beta channel, but
19195-
* will not be made available in alpha or at release. For migration
19196-
* purposes, specify both this property and
19197-
* <code>includedPrimaryTypes</code>.
19198-
*/
19199-
google.maps.places.PlaceAutocompleteElementOptions.prototype.types;
19200-
19201-
/**
19202-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
19203-
*
19204-
* This event is created after the user selects a place with the Place
19205-
* Autocomplete Element. Access the selection with <code>event.place</code>.
19206-
*
19207-
* Access by calling `const {PlaceAutocompletePlaceSelectEvent} = await
19208-
* google.maps.importLibrary("places")`. See
19209-
* https://developers.google.com/maps/documentation/javascript/libraries.
19210-
* @extends {Event}
19211-
* @constructor
19212-
* @deprecated The <code>gmp-placeselect</code> event will continue to trigger
19213-
* in the beta channel, but will not trigger in alpha or at release. For
19214-
* migration purposes, continue to listen to the
19215-
* <code>gmp-placeselect</code> event, but also add an event listener for
19216-
* the <code>gmp-select</code> event, which returns a
19217-
* <code>PlacePredictionSelectEvent</code> object.
19218-
*/
19219-
google.maps.places.PlaceAutocompletePlaceSelectEvent = function() {};
19220-
19221-
/**
19222-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
19223-
* @type {!google.maps.places.Place}
19224-
*/
19225-
google.maps.places.PlaceAutocompletePlaceSelectEvent.prototype.place;
19226-
1922719120
/**
1922819121
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1922919122
*
@@ -19811,8 +19704,6 @@ google.maps.places.PlacePrediction.prototype.types;
1981119704
google.maps.places.PlacePrediction.prototype.toPlace = function() {};
1981219705

1981319706
/**
19814-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
19815-
*
1981619707
* This event is created after the user selects a prediction item with the
1981719708
* PlaceAutocompleteElement. Access the selection with
1981819709
* <code>event.placePrediction</code>. <br/><br/> Convert placePrediction to

0 commit comments

Comments
 (0)