Skip to content

Commit 4704e64

Browse files
Closure Teamcopybara-github
Closure Team
authored andcommitted
chore: sync changes for Maps JS API v3.60.1.
PiperOrigin-RevId: 729231244
1 parent 367ca25 commit 4704e64

File tree

2 files changed

+76
-30
lines changed

2 files changed

+76
-30
lines changed

contrib/externs/maps/google_maps_api_v3_60.js

+38-15
Original file line numberDiff line numberDiff line change
@@ -15825,13 +15825,6 @@ google.maps.maps3d.Map3DElement.prototype.bounds;
1582515825
*/
1582615826
google.maps.maps3d.Map3DElement.prototype.center;
1582715827

15828-
/**
15829-
* When <code>true</code>, default map labels aren&#39;t rendered.
15830-
* @default <code>false</code>
15831-
* @type {boolean|null|undefined}
15832-
*/
15833-
google.maps.maps3d.Map3DElement.prototype.defaultLabelsDisabled;
15834-
1583515828
/**
1583615829
* When <code>true</code>, all default UI buttons are disabled. Does not disable
1583715830
* the keyboard and gesture controls.
@@ -15903,6 +15896,13 @@ google.maps.maps3d.Map3DElement.prototype.minHeading;
1590315896
*/
1590415897
google.maps.maps3d.Map3DElement.prototype.minTilt;
1590515898

15899+
/**
15900+
* Specifies a mode the map should be rendered in. If not set, the map won&#39;t
15901+
* be rendered.
15902+
* @type {!google.maps.maps3d.MapMode|null|undefined}
15903+
*/
15904+
google.maps.maps3d.Map3DElement.prototype.mode;
15905+
1590615906
/**
1590715907
* The distance from camera to the center of the map, in meters.
1590815908
* @type {number|null|undefined}
@@ -15984,12 +15984,6 @@ google.maps.maps3d.Map3DElementOptions.prototype.bounds;
1598415984
*/
1598515985
google.maps.maps3d.Map3DElementOptions.prototype.center;
1598615986

15987-
/**
15988-
* See {@link google.maps.maps3d.Map3DElement.defaultLabelsDisabled}.
15989-
* @type {boolean|null|undefined}
15990-
*/
15991-
google.maps.maps3d.Map3DElementOptions.prototype.defaultLabelsDisabled;
15992-
1599315987
/**
1599415988
* See {@link google.maps.maps3d.Map3DElement.defaultUIDisabled}.
1599515989
* @type {boolean|null|undefined}
@@ -16038,6 +16032,12 @@ google.maps.maps3d.Map3DElementOptions.prototype.minHeading;
1603816032
*/
1603916033
google.maps.maps3d.Map3DElementOptions.prototype.minTilt;
1604016034

16035+
/**
16036+
* See {@link google.maps.maps3d.Map3DElement.mode}.
16037+
* @type {!google.maps.maps3d.MapMode|null|undefined}
16038+
*/
16039+
google.maps.maps3d.Map3DElementOptions.prototype.mode;
16040+
1604116041
/**
1604216042
* See {@link google.maps.maps3d.Map3DElement.range}.
1604316043
* @type {number|null|undefined}
@@ -16056,6 +16056,29 @@ google.maps.maps3d.Map3DElementOptions.prototype.roll;
1605616056
*/
1605716057
google.maps.maps3d.Map3DElementOptions.prototype.tilt;
1605816058

16059+
/**
16060+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
16061+
*
16062+
* Specifies a mode the map should be rendered in.
16063+
*
16064+
* Access by calling `const {MapMode} = await
16065+
* google.maps.importLibrary("maps3d")`. See
16066+
* https://developers.google.com/maps/documentation/javascript/libraries.
16067+
* @enum {string}
16068+
*/
16069+
google.maps.maps3d.MapMode = {
16070+
/**
16071+
* This map mode displays a transparent layer of major streets on satellite,
16072+
* or photorealistic imagery.
16073+
*/
16074+
HYBRID: 'HYBRID',
16075+
/**
16076+
* This map mode displays satellite, or photorealistic imagery where
16077+
* available.
16078+
*/
16079+
SATELLITE: 'SATELLITE',
16080+
};
16081+
1605916082
/**
1606016083
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1606116084
*
@@ -16371,7 +16394,7 @@ google.maps.maps3d.Polygon3DElement = function(options) {};
1637116394

1637216395
/**
1637316396
* Specifies how altitude components in the coordinates are interpreted.
16374-
* @default {@link google.maps.maps3d.AltitudeMode.ABSOLUTE}
16397+
* @default {@link google.maps.maps3d.AltitudeMode.CLAMP_TO_GROUND}
1637516398
* @type {!google.maps.maps3d.AltitudeMode|null|undefined}
1637616399
*/
1637716400
google.maps.maps3d.Polygon3DElement.prototype.altitudeMode;
@@ -16529,7 +16552,7 @@ google.maps.maps3d.Polyline3DElement = function(options) {};
1652916552

1653016553
/**
1653116554
* Specifies how altitude components in the coordinates are interpreted.
16532-
* @default {@link google.maps.maps3d.AltitudeMode.ABSOLUTE}
16555+
* @default {@link google.maps.maps3d.AltitudeMode.CLAMP_TO_GROUND}
1653316556
* @type {!google.maps.maps3d.AltitudeMode|null|undefined}
1653416557
*/
1653516558
google.maps.maps3d.Polyline3DElement.prototype.altitudeMode;

contrib/externs/maps/google_maps_api_v3_exp.js

+38-15
Original file line numberDiff line numberDiff line change
@@ -15825,13 +15825,6 @@ google.maps.maps3d.Map3DElement.prototype.bounds;
1582515825
*/
1582615826
google.maps.maps3d.Map3DElement.prototype.center;
1582715827

15828-
/**
15829-
* When <code>true</code>, default map labels aren&#39;t rendered.
15830-
* @default <code>false</code>
15831-
* @type {boolean|null|undefined}
15832-
*/
15833-
google.maps.maps3d.Map3DElement.prototype.defaultLabelsDisabled;
15834-
1583515828
/**
1583615829
* When <code>true</code>, all default UI buttons are disabled. Does not disable
1583715830
* the keyboard and gesture controls.
@@ -15903,6 +15896,13 @@ google.maps.maps3d.Map3DElement.prototype.minHeading;
1590315896
*/
1590415897
google.maps.maps3d.Map3DElement.prototype.minTilt;
1590515898

15899+
/**
15900+
* Specifies a mode the map should be rendered in. If not set, the map won&#39;t
15901+
* be rendered.
15902+
* @type {!google.maps.maps3d.MapMode|null|undefined}
15903+
*/
15904+
google.maps.maps3d.Map3DElement.prototype.mode;
15905+
1590615906
/**
1590715907
* The distance from camera to the center of the map, in meters.
1590815908
* @type {number|null|undefined}
@@ -15984,12 +15984,6 @@ google.maps.maps3d.Map3DElementOptions.prototype.bounds;
1598415984
*/
1598515985
google.maps.maps3d.Map3DElementOptions.prototype.center;
1598615986

15987-
/**
15988-
* See {@link google.maps.maps3d.Map3DElement.defaultLabelsDisabled}.
15989-
* @type {boolean|null|undefined}
15990-
*/
15991-
google.maps.maps3d.Map3DElementOptions.prototype.defaultLabelsDisabled;
15992-
1599315987
/**
1599415988
* See {@link google.maps.maps3d.Map3DElement.defaultUIDisabled}.
1599515989
* @type {boolean|null|undefined}
@@ -16038,6 +16032,12 @@ google.maps.maps3d.Map3DElementOptions.prototype.minHeading;
1603816032
*/
1603916033
google.maps.maps3d.Map3DElementOptions.prototype.minTilt;
1604016034

16035+
/**
16036+
* See {@link google.maps.maps3d.Map3DElement.mode}.
16037+
* @type {!google.maps.maps3d.MapMode|null|undefined}
16038+
*/
16039+
google.maps.maps3d.Map3DElementOptions.prototype.mode;
16040+
1604116041
/**
1604216042
* See {@link google.maps.maps3d.Map3DElement.range}.
1604316043
* @type {number|null|undefined}
@@ -16056,6 +16056,29 @@ google.maps.maps3d.Map3DElementOptions.prototype.roll;
1605616056
*/
1605716057
google.maps.maps3d.Map3DElementOptions.prototype.tilt;
1605816058

16059+
/**
16060+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
16061+
*
16062+
* Specifies a mode the map should be rendered in.
16063+
*
16064+
* Access by calling `const {MapMode} = await
16065+
* google.maps.importLibrary("maps3d")`. See
16066+
* https://developers.google.com/maps/documentation/javascript/libraries.
16067+
* @enum {string}
16068+
*/
16069+
google.maps.maps3d.MapMode = {
16070+
/**
16071+
* This map mode displays a transparent layer of major streets on satellite,
16072+
* or photorealistic imagery.
16073+
*/
16074+
HYBRID: 'HYBRID',
16075+
/**
16076+
* This map mode displays satellite, or photorealistic imagery where
16077+
* available.
16078+
*/
16079+
SATELLITE: 'SATELLITE',
16080+
};
16081+
1605916082
/**
1606016083
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
1606116084
*
@@ -16371,7 +16394,7 @@ google.maps.maps3d.Polygon3DElement = function(options) {};
1637116394

1637216395
/**
1637316396
* Specifies how altitude components in the coordinates are interpreted.
16374-
* @default {@link google.maps.maps3d.AltitudeMode.ABSOLUTE}
16397+
* @default {@link google.maps.maps3d.AltitudeMode.CLAMP_TO_GROUND}
1637516398
* @type {!google.maps.maps3d.AltitudeMode|null|undefined}
1637616399
*/
1637716400
google.maps.maps3d.Polygon3DElement.prototype.altitudeMode;
@@ -16529,7 +16552,7 @@ google.maps.maps3d.Polyline3DElement = function(options) {};
1652916552

1653016553
/**
1653116554
* Specifies how altitude components in the coordinates are interpreted.
16532-
* @default {@link google.maps.maps3d.AltitudeMode.ABSOLUTE}
16555+
* @default {@link google.maps.maps3d.AltitudeMode.CLAMP_TO_GROUND}
1653316556
* @type {!google.maps.maps3d.AltitudeMode|null|undefined}
1653416557
*/
1653516558
google.maps.maps3d.Polyline3DElement.prototype.altitudeMode;

0 commit comments

Comments
 (0)