Skip to content

Commit 5bf37d6

Browse files
Closure Teamcopybara-github
authored andcommitted
chore: sync changes for Maps JS API v3.62.12c.
PiperOrigin-RevId: 826103022
1 parent 97d756a commit 5bf37d6

File tree

2 files changed

+2
-128
lines changed

2 files changed

+2
-128
lines changed

contrib/externs/maps/google_maps_api_v3_62.js

Lines changed: 1 addition & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -9546,7 +9546,7 @@ google.maps.Size.prototype.width;
95469546

95479547
/**
95489548
* Compares two Sizes.
9549-
* @param {google.maps.Size} other
9549+
* @param {!google.maps.Size|null} other
95509550
* @return {boolean}
95519551
*/
95529552
google.maps.Size.prototype.equals = function(other) {};
@@ -12828,69 +12828,6 @@ google.maps.drawing.OverlayType = {
1282812828
RECTANGLE: 'rectangle',
1282912829
};
1283012830

12831-
/**
12832-
* @const
12833-
*/
12834-
google.maps.elevation = {};
12835-
12836-
/**
12837-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
12838-
*
12839-
* An HTML element that visually displays elevation data. Set the element's
12840-
* <code>path</code> property to show a graph of elevation along the path. To
12841-
* use the Elevation Element, enable the <a
12842-
* href="https://console.cloud.google.com/marketplace/product/google/placewidgets.googleapis.com"
12843-
* >Places UI Kit API</a> for your project in the Google Cloud console.
12844-
*
12845-
* Access by calling `const {ElevationElement} = await
12846-
* google.maps.importLibrary("elevation")`. See
12847-
* https://developers.google.com/maps/documentation/javascript/libraries.
12848-
* @param {!google.maps.elevation.ElevationElementOptions=} options
12849-
* @implements {google.maps.elevation.ElevationElementOptions}
12850-
* @extends {HTMLElement}
12851-
* @constructor
12852-
*/
12853-
google.maps.elevation.ElevationElement = function(options) {};
12854-
12855-
/**
12856-
* The path along which to show elevation data. Line segments will be
12857-
* interpolated in between the points of the array; even a small number of
12858-
* points will still produce a detailed elevation graph. <br> If only one point
12859-
* is provided, the widget will show the elevation number for that point.
12860-
* @type {!Array<!google.maps.LatLng|!google.maps.LatLngLiteral|!google.maps.LatLngAltitude>|null|undefined}
12861-
*/
12862-
google.maps.elevation.ElevationElement.prototype.path;
12863-
12864-
/**
12865-
* Determines if elevation will be shown in feet/miles or meters/km. If
12866-
* undefined, the widget will default to the preferred unit system for the
12867-
* region specified in the API loader.
12868-
* @type {!google.maps.UnitSystem|null|undefined}
12869-
*/
12870-
google.maps.elevation.ElevationElement.prototype.unitSystem;
12871-
12872-
12873-
12874-
/**
12875-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
12876-
*
12877-
* Options for <code>ElevationElement</code>.
12878-
* @record
12879-
*/
12880-
google.maps.elevation.ElevationElementOptions = function() {};
12881-
12882-
/**
12883-
* See {@link google.maps.elevation.ElevationElement.path}
12884-
* @type {!Array<!google.maps.LatLng|!google.maps.LatLngLiteral>|null|undefined}
12885-
*/
12886-
google.maps.elevation.ElevationElementOptions.prototype.path;
12887-
12888-
/**
12889-
* See {@link google.maps.elevation.ElevationElement.unitSystem}
12890-
* @type {!google.maps.UnitSystem|null|undefined}
12891-
*/
12892-
google.maps.elevation.ElevationElementOptions.prototype.unitSystem;
12893-
1289412831
/**
1289512832
* @const
1289612833
*/

contrib/externs/maps/google_maps_api_v3_exp.js

Lines changed: 1 addition & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -9546,7 +9546,7 @@ google.maps.Size.prototype.width;
95469546

95479547
/**
95489548
* Compares two Sizes.
9549-
* @param {google.maps.Size} other
9549+
* @param {!google.maps.Size|null} other
95509550
* @return {boolean}
95519551
*/
95529552
google.maps.Size.prototype.equals = function(other) {};
@@ -12828,69 +12828,6 @@ google.maps.drawing.OverlayType = {
1282812828
RECTANGLE: 'rectangle',
1282912829
};
1283012830

12831-
/**
12832-
* @const
12833-
*/
12834-
google.maps.elevation = {};
12835-
12836-
/**
12837-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
12838-
*
12839-
* An HTML element that visually displays elevation data. Set the element&#39;s
12840-
* <code>path</code> property to show a graph of elevation along the path. To
12841-
* use the Elevation Element, enable the <a
12842-
* href="https://console.cloud.google.com/marketplace/product/google/placewidgets.googleapis.com"
12843-
* >Places UI Kit API</a> for your project in the Google Cloud console.
12844-
*
12845-
* Access by calling `const {ElevationElement} = await
12846-
* google.maps.importLibrary("elevation")`. See
12847-
* https://developers.google.com/maps/documentation/javascript/libraries.
12848-
* @param {!google.maps.elevation.ElevationElementOptions=} options
12849-
* @implements {google.maps.elevation.ElevationElementOptions}
12850-
* @extends {HTMLElement}
12851-
* @constructor
12852-
*/
12853-
google.maps.elevation.ElevationElement = function(options) {};
12854-
12855-
/**
12856-
* The path along which to show elevation data. Line segments will be
12857-
* interpolated in between the points of the array; even a small number of
12858-
* points will still produce a detailed elevation graph. <br> If only one point
12859-
* is provided, the widget will show the elevation number for that point.
12860-
* @type {!Array<!google.maps.LatLng|!google.maps.LatLngLiteral|!google.maps.LatLngAltitude>|null|undefined}
12861-
*/
12862-
google.maps.elevation.ElevationElement.prototype.path;
12863-
12864-
/**
12865-
* Determines if elevation will be shown in feet/miles or meters/km. If
12866-
* undefined, the widget will default to the preferred unit system for the
12867-
* region specified in the API loader.
12868-
* @type {!google.maps.UnitSystem|null|undefined}
12869-
*/
12870-
google.maps.elevation.ElevationElement.prototype.unitSystem;
12871-
12872-
12873-
12874-
/**
12875-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
12876-
*
12877-
* Options for <code>ElevationElement</code>.
12878-
* @record
12879-
*/
12880-
google.maps.elevation.ElevationElementOptions = function() {};
12881-
12882-
/**
12883-
* See {@link google.maps.elevation.ElevationElement.path}
12884-
* @type {!Array<!google.maps.LatLng|!google.maps.LatLngLiteral>|null|undefined}
12885-
*/
12886-
google.maps.elevation.ElevationElementOptions.prototype.path;
12887-
12888-
/**
12889-
* See {@link google.maps.elevation.ElevationElement.unitSystem}
12890-
* @type {!google.maps.UnitSystem|null|undefined}
12891-
*/
12892-
google.maps.elevation.ElevationElementOptions.prototype.unitSystem;
12893-
1289412831
/**
1289512832
* @const
1289612833
*/

0 commit comments

Comments
 (0)