@@ -3342,7 +3342,7 @@ google.maps.FullscreenControlOptions = function() {};
3342
3342
/**
3343
3343
* Position id. Used to specify the position of the control on the map.
3344
3344
* @default {@link google.maps.ControlPosition.INLINE_END_BLOCK_START}
3345
- * @type {google.maps.ControlPosition|null|undefined}
3345
+ * @type {! google.maps.ControlPosition|null|undefined}
3346
3346
*/
3347
3347
google.maps.FullscreenControlOptions.prototype.position;
3348
3348
@@ -5542,6 +5542,14 @@ google.maps.Map.prototype.getHeading = function() {};
5542
5542
*/
5543
5543
google.maps.Map.prototype.getHeadingInteractionEnabled = function() {};
5544
5544
5545
+ /**
5546
+ * Returns the list of usage attribution IDs, which help Google understand which
5547
+ * libraries and samples are helpful to developers, such as usage of a marker
5548
+ * clustering library.
5549
+ * @return {!Iterable<string>|null}
5550
+ */
5551
+ google.maps.Map.prototype.getInternalUsageAttributionIds = function() {};
5552
+
5545
5553
/**
5546
5554
* Informs the caller of the current capabilities available to the map based on
5547
5555
* the Map ID that was provided.
@@ -5902,6 +5910,18 @@ google.maps.MapElement.prototype.headingInteractionDisabled;
5902
5910
*/
5903
5911
google.maps.MapElement.prototype.innerMap;
5904
5912
5913
+ /**
5914
+ * Adds a usage attribution ID to the initializer, which helps Google understand
5915
+ * which libraries and samples are helpful to developers, such as usage of a
5916
+ * marker clustering library. To opt out of sending the usage attribution ID, it
5917
+ * is safe to delete this property or replace the value with an empty string.
5918
+ * Only unique values will be sent. Changes to this value after instantiation
5919
+ * may be ignored.
5920
+ * @default <code>null</code>
5921
+ * @type {!Iterable<string>|null}
5922
+ */
5923
+ google.maps.MapElement.prototype.internalUsageAttributionIds;
5924
+
5905
5925
/**
5906
5926
* The <a href="https://developers.google.com/maps/documentation/get-map-id">Map
5907
5927
* ID</a> of the map. This parameter cannot be set or changed after a map is
@@ -5963,6 +5983,12 @@ google.maps.MapElementOptions.prototype.center;
5963
5983
*/
5964
5984
google.maps.MapElementOptions.prototype.headingInteractionDisabled;
5965
5985
5986
+ /**
5987
+ * See {@link google.maps.MapElement.internalUsageAttributionIds}.
5988
+ * @type {!Iterable<string>|null|undefined}
5989
+ */
5990
+ google.maps.MapElementOptions.prototype.internalUsageAttributionIds;
5991
+
5966
5992
/**
5967
5993
* See {@link google.maps.MapElement.mapId}.
5968
5994
* @type {string|null|undefined}
@@ -6163,6 +6189,18 @@ google.maps.MapOptions.prototype.heading;
6163
6189
*/
6164
6190
google.maps.MapOptions.prototype.headingInteractionEnabled;
6165
6191
6192
+ /**
6193
+ * Adds a usage attribution ID to the initializer, which helps Google understand
6194
+ * which libraries and samples are helpful to developers, such as usage of a
6195
+ * marker clustering library. To opt out of sending the usage attribution ID, it
6196
+ * is safe to delete this property or replace the value with an empty string.
6197
+ * Only unique values will be sent. Changes to this value after instantiation
6198
+ * may be ignored.
6199
+ * @default <code>null</code>
6200
+ * @type {!Iterable<string>|null|undefined}
6201
+ */
6202
+ google.maps.MapOptions.prototype.internalUsageAttributionIds;
6203
+
6166
6204
/**
6167
6205
* Whether the map should allow fractional zoom levels. Listen to
6168
6206
* <code>isfractionalzoomenabled_changed</code> to know when the default has
@@ -9547,7 +9585,7 @@ google.maps.StreetViewPanoramaOptions.prototype.addressControl;
9547
9585
9548
9586
/**
9549
9587
* The display options for the address control.
9550
- * @type {google.maps.StreetViewAddressControlOptions|null|undefined}
9588
+ * @type {! google.maps.StreetViewAddressControlOptions|null|undefined}
9551
9589
*/
9552
9590
google.maps.StreetViewPanoramaOptions.prototype.addressControlOptions;
9553
9591
@@ -9596,7 +9634,7 @@ google.maps.StreetViewPanoramaOptions.prototype.fullscreenControl;
9596
9634
9597
9635
/**
9598
9636
* The display options for the fullscreen control.
9599
- * @type {google.maps.FullscreenControlOptions|null|undefined}
9637
+ * @type {! google.maps.FullscreenControlOptions|null|undefined}
9600
9638
*/
9601
9639
google.maps.StreetViewPanoramaOptions.prototype.fullscreenControlOptions;
9602
9640
@@ -9641,7 +9679,7 @@ google.maps.StreetViewPanoramaOptions.prototype.motionTrackingControl;
9641
9679
9642
9680
/**
9643
9681
* The display options for the motion tracking control.
9644
- * @type {google.maps.MotionTrackingControlOptions|null|undefined}
9682
+ * @type {! google.maps.MotionTrackingControlOptions|null|undefined}
9645
9683
*/
9646
9684
google.maps.StreetViewPanoramaOptions.prototype.motionTrackingControlOptions;
9647
9685
@@ -9653,7 +9691,7 @@ google.maps.StreetViewPanoramaOptions.prototype.panControl;
9653
9691
9654
9692
/**
9655
9693
* The display options for the pan control.
9656
- * @type {google.maps.PanControlOptions|null|undefined}
9694
+ * @type {! google.maps.PanControlOptions|null|undefined}
9657
9695
*/
9658
9696
google.maps.StreetViewPanoramaOptions.prototype.panControlOptions;
9659
9697
@@ -9665,13 +9703,13 @@ google.maps.StreetViewPanoramaOptions.prototype.pano;
9665
9703
9666
9704
/**
9667
9705
* The <code>LatLng</code> position of the Street View panorama.
9668
- * @type {google.maps.LatLng|google.maps.LatLngLiteral|null|undefined}
9706
+ * @type {! google.maps.LatLng|! google.maps.LatLngLiteral|null|undefined}
9669
9707
*/
9670
9708
google.maps.StreetViewPanoramaOptions.prototype.position;
9671
9709
9672
9710
/**
9673
9711
* The camera orientation, specified as heading and pitch, for the panorama.
9674
- * @type {google.maps.StreetViewPov|null|undefined}
9712
+ * @type {! google.maps.StreetViewPov|null|undefined}
9675
9713
*/
9676
9714
google.maps.StreetViewPanoramaOptions.prototype.pov;
9677
9715
@@ -9712,7 +9750,7 @@ google.maps.StreetViewPanoramaOptions.prototype.zoomControl;
9712
9750
9713
9751
/**
9714
9752
* The display options for the zoom control.
9715
- * @type {google.maps.ZoomControlOptions|null|undefined}
9753
+ * @type {! google.maps.ZoomControlOptions|null|undefined}
9716
9754
*/
9717
9755
google.maps.StreetViewPanoramaOptions.prototype.zoomControlOptions;
9718
9756
@@ -10378,15 +10416,15 @@ google.maps.TransitLayer = function() {};
10378
10416
10379
10417
/**
10380
10418
* Returns the map on which this layer is displayed.
10381
- * @return {google.maps.Map}
10419
+ * @return {! google.maps.Map|null }
10382
10420
*/
10383
10421
google.maps.TransitLayer.prototype.getMap = function() {};
10384
10422
10385
10423
/**
10386
10424
* Renders the layer on the specified map. If map is set to <code>null</code>,
10387
10425
* the layer will be removed.
10388
- * @param {google.maps.Map} map
10389
- * @return {undefined }
10426
+ * @param {! google.maps.Map|null } map
10427
+ * @return {void }
10390
10428
*/
10391
10429
google.maps.TransitLayer.prototype.setMap = function(map) {};
10392
10430
@@ -11363,7 +11401,10 @@ google.maps.elevation = {};
11363
11401
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
11364
11402
*
11365
11403
* An HTML element that visually displays elevation data. Set the element's
11366
- * <code>path</code> property to show a graph of elevation along the path.
11404
+ * <code>path</code> property to show a graph of elevation along the path. To
11405
+ * use the Elevation Element, enable the <a
11406
+ * href="https://console.cloud.google.com/marketplace/product/google/placewidgets.googleapis.com"
11407
+ * >Places UI Kit API</a> for your project in the Google Cloud console.
11367
11408
*
11368
11409
* Access by calling `const {ElevationElement} = await
11369
11410
* google.maps.importLibrary("elevation")`. See
@@ -18924,7 +18965,10 @@ google.maps.places.PlaceAutocompleteRequestErrorEvent = function() {};
18924
18965
*
18925
18966
* An HTML element that displays details for a place. Use the
18926
18967
* <code>configureFromPlace()</code> or <code>configureFromLocation()</code>
18927
- * methods to specify the content to be rendered.
18968
+ * methods to specify the content to be rendered. To use the Place Details
18969
+ * Element, enable the <a
18970
+ * href="https://console.cloud.google.com/marketplace/product/google/placewidgets.googleapis.com"
18971
+ * >Places UI Kit API</a> for your project in the Google Cloud console.
18928
18972
*
18929
18973
* Access by calling `const {PlaceDetailsElement} = await
18930
18974
* google.maps.importLibrary("places")`. See
@@ -19099,7 +19143,9 @@ google.maps.places.PlaceGeometry.prototype.viewport;
19099
19143
* An HTML element that displays the results of a place search in a list. Use
19100
19144
* the <code>configureFromSearchByTextRequest()</code> or
19101
19145
* <code>configureFromSearchNearbyRequest()</code> methods to specify the
19102
- * request to render results for.
19146
+ * request to render results for. To use the Place List Element, enable the <a
19147
+ * href="https://console.cloud.google.com/marketplace/product/google/placewidgets.googleapis.com"
19148
+ * >Places UI Kit API</a> for your project in the Google Cloud console.
19103
19149
*
19104
19150
* Access by calling `const {PlaceListElement} = await
19105
19151
* google.maps.importLibrary("places")`. See
0 commit comments