google-closure-compiler 20220118.0.0-nightly → 20220122.0.0-nightly

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,6 +110,35 @@ google.maps.CameraOptions.prototype.tilt;
110
110
  */
111
111
  google.maps.CameraOptions.prototype.zoom;
112
112
 
113
+ /**
114
+ * Available only in the v=beta channel: https://goo.gle/3oAthT3.
115
+ * Used for retrieving camera parameters, such as that of the GL camera used for
116
+ * the {@link google.maps.WebGLOverlayView}.
117
+ * @extends {google.maps.CameraOptions}
118
+ * @record
119
+ */
120
+ google.maps.CameraParams = function() {};
121
+
122
+ /**
123
+ * @type {!google.maps.LatLng}
124
+ */
125
+ google.maps.CameraParams.prototype.center;
126
+
127
+ /**
128
+ * @type {number}
129
+ */
130
+ google.maps.CameraParams.prototype.heading;
131
+
132
+ /**
133
+ * @type {number}
134
+ */
135
+ google.maps.CameraParams.prototype.tilt;
136
+
137
+ /**
138
+ * @type {number}
139
+ */
140
+ google.maps.CameraParams.prototype.zoom;
141
+
113
142
  /**
114
143
  * A circle on the Earth's surface; also known as a "spherical
115
144
  * cap".
@@ -455,7 +484,7 @@ google.maps.CoordinateTransformer.prototype.fromLatLngAltitude = function(
455
484
  latLng, altitude, rotations, scale) {};
456
485
 
457
486
  /**
458
- * @return {!google.maps.WebglCameraParams} camera parameters
487
+ * @return {!google.maps.CameraParams} camera parameters
459
488
  */
460
489
  google.maps.CoordinateTransformer.prototype.getCameraParams = function() {};
461
490
 
@@ -3777,15 +3806,14 @@ google.maps.KmlMouseEvent.prototype.pixelOffset;
3777
3806
  * followed by the longitude.<br> Notice that you cannot modify the coordinates
3778
3807
  * of a <code>LatLng</code>. If you want to compute another point, you have to
3779
3808
  * create a new one.<br> <p> Most methods that accept <code>LatLng</code>
3780
- * objects also accept a <code>{@link google.maps.LatLngLiteral}</code> object,
3781
- * so that the following are equivalent: <pre> map.setCenter(new
3782
- * google.maps.LatLng(-34, 151));<br> map.setCenter({lat: -34, lng: 151});
3783
- * </pre> <p> The constructor also accepts <code>{@link
3784
- * google.maps.LatLngLiteral}</code> and <code>LatLng</code> objects. If a
3785
- * <code>LatLng</code> instance is passed to the constructor, a copy is created.
3786
- * <p> The possible calls to the constructor are below: <pre> new
3787
- * google.maps.LatLng(-34, 151);<br> new google.maps.LatLng(-34, 151, true);<br>
3788
- * new google.maps.LatLng({lat: -34, lng: 151});<br> new
3809
+ * objects also accept a {@link google.maps.LatLngLiteral} object, so that the
3810
+ * following are equivalent: <pre> map.setCenter(new google.maps.LatLng(-34,
3811
+ * 151));<br> map.setCenter({lat: -34, lng: 151}); </pre> <p> The constructor
3812
+ * also accepts {@link google.maps.LatLngLiteral} and <code>LatLng</code>
3813
+ * objects. If a <code>LatLng</code> instance is passed to the constructor, a
3814
+ * copy is created. <p> The possible calls to the constructor are below: <pre>
3815
+ * new google.maps.LatLng(-34, 151);<br> new google.maps.LatLng(-34, 151,
3816
+ * true);<br> new google.maps.LatLng({lat: -34, lng: 151});<br> new
3789
3817
  * google.maps.LatLng({lat: -34, lng: 151}, true);<br> new
3790
3818
  * google.maps.LatLng({lat: -34, lng: 151}, null, true);<br> new
3791
3819
  * google.maps.LatLng(new google.maps.LatLng(-34, 151));<br> new
@@ -4706,12 +4734,9 @@ google.maps.MapOptions.prototype.isFractionalZoomEnabled;
4706
4734
  google.maps.MapOptions.prototype.keyboardShortcuts;
4707
4735
 
4708
4736
  /**
4709
- * The unique identifier that represents a single instance of a Google Map. You
4710
- * can create Map IDs and update a style associated with a Map ID at any time in
4711
- * the Google Cloud Console <a
4712
- * href="https://console.cloud.google.com/google/maps-apis/studio/maps">Maps
4713
- * Management page</a> without changing embedded JSON styling in your
4714
- * application code.
4737
+ * The <a href="https://developers.google.com/maps/documentation/get-map-id">Map
4738
+ * ID</a> of the map. This parameter cannot be set or changed after a map is
4739
+ * instantiated.
4715
4740
  * @type {?string|undefined}
4716
4741
  */
4717
4742
  google.maps.MapOptions.prototype.mapId;
@@ -8192,41 +8217,164 @@ google.maps.VisibleRegion.prototype.nearRight;
8192
8217
 
8193
8218
  /**
8194
8219
  * Available only in the v=beta channel: https://goo.gle/3oAthT3.
8195
- * A <code>WebglCameraParams</code> is a snapshot of camera properties used to
8196
- * render the current frame.
8220
+ * Drawing options.
8197
8221
  * @record
8198
8222
  */
8199
- google.maps.WebglCameraParams = function() {};
8223
+ google.maps.WebGLDrawOptions = function() {};
8200
8224
 
8201
8225
  /**
8202
- * Heading of the camera in degrees.
8203
- * @type {number}
8226
+ * The WebGLRenderingContext on which to render this WebGLOverlayView.
8227
+ * @type {!WebGLRenderingContext}
8204
8228
  */
8205
- google.maps.WebglCameraParams.prototype.heading;
8229
+ google.maps.WebGLDrawOptions.prototype.gl;
8206
8230
 
8207
8231
  /**
8208
- * Latitude in degrees.
8209
- * @type {number}
8232
+ * The matrix transformation from camera space to latitude/longitude
8233
+ * coordinates.
8234
+ * @type {!google.maps.CoordinateTransformer}
8210
8235
  */
8211
- google.maps.WebglCameraParams.prototype.lat;
8236
+ google.maps.WebGLDrawOptions.prototype.transformer;
8212
8237
 
8213
8238
  /**
8214
- * Longitude in degrees.
8215
- * @type {number}
8239
+ * Available only in the v=beta channel: https://goo.gle/3oAthT3.
8240
+ * The WebGL Overlay View provides direct access to the same WebGL rendering
8241
+ * context Google Maps Platform uses to render the vector basemap. This use of a
8242
+ * shared rendering context provides benefits such as depth occlusion with 3D
8243
+ * building geometry, and the ability to sync 2D/3D content with basemap
8244
+ * rendering. <br><br>With WebGL Overlay View you can add content to your maps
8245
+ * using WebGL directly, or popular Graphics libraries like Three.js or deck.gl.
8246
+ * To use the overlay, you can extend <code>google.maps.WebGLOverlayView</code>
8247
+ * and provide an implementation for each of the following lifecycle
8248
+ * hooks: {@link google.maps.WebGLOverlayView.onAdd}, {@link
8249
+ * google.maps.WebGLOverlayView.onContextRestored}, {@link
8250
+ * google.maps.WebGLOverlayView.onDraw}, {@link
8251
+ * google.maps.WebGLOverlayView.onContextLost} and {@link
8252
+ * google.maps.WebGLOverlayView.onRemove}. <br><br>You must call {@link
8253
+ * google.maps.WebGLOverlayView.setMap} with a valid {@link google.maps.Map}
8254
+ * object to trigger the call to the <code>onAdd()</code> method and
8255
+ * <code>setMap(null)</code> in order to trigger the <code>onRemove()</code>
8256
+ * method. The <code>setMap()</code> method can be called at the time of
8257
+ * construction or at any point afterward when the overlay should be re-shown
8258
+ * after removing. The <code>onDraw()</code> method will then be called whenever
8259
+ * a map property changes that could change the position of the element, such as
8260
+ * zoom, center, or map type. WebGLOverlayView may only be added to a vector map
8261
+ * having a {@link google.maps.MapOptions.mapId}.
8262
+ * @extends {google.maps.MVCObject}
8263
+ * @constructor
8216
8264
  */
8217
- google.maps.WebglCameraParams.prototype.lng;
8265
+ google.maps.WebGLOverlayView = function() {};
8218
8266
 
8219
8267
  /**
8220
- * Angle of incidence of the camera, in degrees.
8268
+ * @return {?google.maps.Map|undefined}
8269
+ */
8270
+ google.maps.WebGLOverlayView.prototype.getMap = function() {};
8271
+
8272
+ /**
8273
+ * Implement this method to fetch or create intermediate data structures before
8274
+ * the overlay is drawn that don’t require immediate access to the WebGL
8275
+ * rendering context.
8276
+ * @return {undefined}
8277
+ */
8278
+ google.maps.WebGLOverlayView.prototype.onAdd = function() {};
8279
+
8280
+ /**
8281
+ * This method is called when the rendering context is lost for any reason, and
8282
+ * is where you should clean up any pre-existing GL state, since it is no longer
8283
+ * needed.
8284
+ * @return {undefined}
8285
+ */
8286
+ google.maps.WebGLOverlayView.prototype.onContextLost = function() {};
8287
+
8288
+ /**
8289
+ * This method is called once the rendering context is available. Use it to
8290
+ * initialize or bind any WebGL state such as shaders or buffer objects.
8291
+ * @param {!google.maps.WebGLStateOptions} options that allow developers to
8292
+ * restore the GL context.
8293
+ * @return {undefined}
8294
+ */
8295
+ google.maps.WebGLOverlayView.prototype.onContextRestored = function(options) {};
8296
+
8297
+ /**
8298
+ * Implement this method to draw WebGL content directly on the map. Note that if
8299
+ * the overlay needs a new frame drawn then call {@link
8300
+ * google.maps.WebGLOverlayView.requestRedraw}.
8301
+ * @param {!google.maps.WebGLDrawOptions} options that allow developers to
8302
+ * render content to an associated Google basemap.
8303
+ * @return {undefined}
8304
+ */
8305
+ google.maps.WebGLOverlayView.prototype.onDraw = function(options) {};
8306
+
8307
+ /**
8308
+ * This method is called when the overlay is removed from the map with
8309
+ * <code>WebGLOverlayView.setMap(null)</code>, and is where you should remove
8310
+ * all intermediate objects.
8311
+ * @return {undefined}
8312
+ */
8313
+ google.maps.WebGLOverlayView.prototype.onRemove = function() {};
8314
+
8315
+ /**
8316
+ * Implement this method to handle any GL state updates outside of the render
8317
+ * animation frame.
8318
+ * @param {!google.maps.WebGLStateOptions} options that allow developerse to
8319
+ * restore the GL context.
8320
+ * @return {undefined}
8321
+ */
8322
+ google.maps.WebGLOverlayView.prototype.onStateUpdate = function(options) {};
8323
+
8324
+ /**
8325
+ * Triggers the map to redraw a frame.
8326
+ * @return {undefined}
8327
+ */
8328
+ google.maps.WebGLOverlayView.prototype.requestRedraw = function() {};
8329
+
8330
+ /**
8331
+ * Triggers the map to update GL state.
8332
+ * @return {undefined}
8333
+ */
8334
+ google.maps.WebGLOverlayView.prototype.requestStateUpdate = function() {};
8335
+
8336
+ /**
8337
+ * Adds the overlay to the map.
8338
+ * @param {?google.maps.Map=} map The map to access the div, model and view
8339
+ * state.
8340
+ * @return {undefined}
8341
+ */
8342
+ google.maps.WebGLOverlayView.prototype.setMap = function(map) {};
8343
+
8344
+ /**
8345
+ * Available only in the v=beta channel: https://goo.gle/3oAthT3.
8346
+ * GL state options.
8347
+ * @record
8348
+ */
8349
+ google.maps.WebGLStateOptions = function() {};
8350
+
8351
+ /**
8352
+ * The WebGLRenderingContext on which to render this WebGLOverlayView.
8353
+ * @type {!WebGLRenderingContext}
8354
+ */
8355
+ google.maps.WebGLStateOptions.prototype.gl;
8356
+
8357
+ /**
8358
+ * Available only in the v=beta channel: https://goo.gle/3oAthT3.
8359
+ * A <code>WebglCameraParams</code> is a snapshot of camera properties used to
8360
+ * render the current frame.
8361
+ * @extends {google.maps.CameraParams}
8362
+ * @record
8363
+ * @deprecated Please use {@link google.maps.CameraParams} instead.
8364
+ */
8365
+ google.maps.WebglCameraParams = function() {};
8366
+
8367
+ /**
8368
+ * Latitude in degrees.
8221
8369
  * @type {number}
8222
8370
  */
8223
- google.maps.WebglCameraParams.prototype.tilt;
8371
+ google.maps.WebglCameraParams.prototype.lat;
8224
8372
 
8225
8373
  /**
8226
- * Zoom level of the camera.
8374
+ * Longitude in degrees.
8227
8375
  * @type {number}
8228
8376
  */
8229
- google.maps.WebglCameraParams.prototype.zoom;
8377
+ google.maps.WebglCameraParams.prototype.lng;
8230
8378
 
8231
8379
  /**
8232
8380
  * Available only in the v=beta channel: https://goo.gle/3oAthT3.
@@ -8254,11 +8402,13 @@ google.maps.WebglCameraParams.prototype.zoom;
8254
8402
  * having a {@link google.maps.MapOptions.mapId}.
8255
8403
  * @extends {google.maps.MVCObject}
8256
8404
  * @constructor
8405
+ * @deprecated Please use {@link google.maps.WebGLOverlayView} instead.
8257
8406
  */
8258
8407
  google.maps.WebglOverlayView = function() {};
8259
8408
 
8260
8409
  /**
8261
8410
  * @return {?google.maps.Map|undefined}
8411
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.getMap} instead.
8262
8412
  */
8263
8413
  google.maps.WebglOverlayView.prototype.getMap = function() {};
8264
8414
 
@@ -8267,6 +8417,7 @@ google.maps.WebglOverlayView.prototype.getMap = function() {};
8267
8417
  * the overlay is drawn that don’t require immediate access to the WebGL
8268
8418
  * rendering context.
8269
8419
  * @return {undefined}
8420
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.onAdd} instead.
8270
8421
  */
8271
8422
  google.maps.WebglOverlayView.prototype.onAdd = function() {};
8272
8423
 
@@ -8275,6 +8426,8 @@ google.maps.WebglOverlayView.prototype.onAdd = function() {};
8275
8426
  * is where you should clean up any pre-existing GL state, since it is no longer
8276
8427
  * needed.
8277
8428
  * @return {undefined}
8429
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.onContextLost}
8430
+ * instead.
8278
8431
  */
8279
8432
  google.maps.WebglOverlayView.prototype.onContextLost = function() {};
8280
8433
 
@@ -8284,6 +8437,8 @@ google.maps.WebglOverlayView.prototype.onContextLost = function() {};
8284
8437
  * @param {!WebGLRenderingContext} gl rendering context for developers to access
8285
8438
  * WebGL.
8286
8439
  * @return {undefined}
8440
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.onContextRestored}
8441
+ * instead.
8287
8442
  */
8288
8443
  google.maps.WebglOverlayView.prototype.onContextRestored = function(gl) {};
8289
8444
 
@@ -8297,6 +8452,7 @@ google.maps.WebglOverlayView.prototype.onContextRestored = function(gl) {};
8297
8452
  * providing camera transforms to center objects at latitude/longitude
8298
8453
  * coordinates.
8299
8454
  * @return {undefined}
8455
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.onDraw} instead.
8300
8456
  */
8301
8457
  google.maps.WebglOverlayView.prototype.onDraw = function(gl, transformer) {};
8302
8458
 
@@ -8306,6 +8462,8 @@ google.maps.WebglOverlayView.prototype.onDraw = function(gl, transformer) {};
8306
8462
  * @param {!WebGLRenderingContext} gl rendering context for developers to access
8307
8463
  * WebGL.
8308
8464
  * @return {undefined}
8465
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.onStateUpdate}
8466
+ * instead.
8309
8467
  */
8310
8468
  google.maps.WebglOverlayView.prototype.onGlStateUpdate = function(gl) {};
8311
8469
 
@@ -8314,18 +8472,23 @@ google.maps.WebglOverlayView.prototype.onGlStateUpdate = function(gl) {};
8314
8472
  * <code>WebglOverlayView.setMap(null)</code>, and is where you should remove
8315
8473
  * all intermediate objects.
8316
8474
  * @return {undefined}
8475
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.onRemove} instead.
8317
8476
  */
8318
8477
  google.maps.WebglOverlayView.prototype.onRemove = function() {};
8319
8478
 
8320
8479
  /**
8321
8480
  * Triggers the map to update GL state.
8322
8481
  * @return {undefined}
8482
+ * @deprecated Please use {@link
8483
+ * google.maps.WebGLOverlayView.requestStateUpdate} instead.
8323
8484
  */
8324
8485
  google.maps.WebglOverlayView.prototype.requestGlStateUpdate = function() {};
8325
8486
 
8326
8487
  /**
8327
8488
  * Triggers the map to redraw a frame.
8328
8489
  * @return {undefined}
8490
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.requestRedraw}
8491
+ * instead.
8329
8492
  */
8330
8493
  google.maps.WebglOverlayView.prototype.requestRedraw = function() {};
8331
8494
 
@@ -8334,6 +8497,7 @@ google.maps.WebglOverlayView.prototype.requestRedraw = function() {};
8334
8497
  * @param {?google.maps.Map=} map The map to access the div, model and view
8335
8498
  * state.
8336
8499
  * @return {undefined}
8500
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.setMap} instead.
8337
8501
  */
8338
8502
  google.maps.WebglOverlayView.prototype.setMap = function(map) {};
8339
8503
 
@@ -9785,7 +9949,9 @@ google.maps.places.PlaceOpeningHours.prototype.weekday_text;
9785
9949
  * google.maps.places.PlaceResult.utc_offset_minutes} or {@link
9786
9950
  * google.maps.places.PlaceOpeningHours.periods} then <code>undefined</code> is
9787
9951
  * returned ({@link google.maps.places.PlaceOpeningHours.periods} is only
9788
- * available via {@link google.maps.places.PlacesService.getDetails}).
9952
+ * available via {@link google.maps.places.PlacesService.getDetails}). This
9953
+ * method does not take exceptional hours, such as holiday hours, into
9954
+ * consideration.
9789
9955
  * @param {!Date=} date
9790
9956
  * @return {boolean|undefined}
9791
9957
  */
@@ -112,7 +112,9 @@ google.maps.CameraOptions.prototype.zoom;
112
112
 
113
113
  /**
114
114
  * Available only in the v=beta channel: https://goo.gle/3oAthT3.
115
- * Used for getting the map&#39;s camera options.
115
+ * Used for retrieving camera parameters, such as that of the GL camera used for
116
+ * the {@link google.maps.WebGLOverlayView}.
117
+ * @extends {google.maps.CameraOptions}
116
118
  * @record
117
119
  */
118
120
  google.maps.CameraParams = function() {};
@@ -137,7 +139,6 @@ google.maps.CameraParams.prototype.tilt;
137
139
  */
138
140
  google.maps.CameraParams.prototype.zoom;
139
141
 
140
-
141
142
  /**
142
143
  * A circle on the Earth&#39;s surface; also known as a &quot;spherical
143
144
  * cap&quot;.
@@ -466,7 +467,7 @@ google.maps.ControlPosition = {
466
467
  * This class provides convenience methods for generating matrices to use for
467
468
  * rendering WebGL scenes on top of the Google base map. <br><br>Note: A
468
469
  * reference to this object should <b>not</b> be held outside of the scope of
469
- * the encapsulating {@link google.maps.WebGLOverlayView.onDraw} call.
470
+ * the encapsulating {@link google.maps.WebglOverlayView.onDraw} call.
470
471
  * @record
471
472
  */
472
473
  google.maps.CoordinateTransformer = function() {};
@@ -3805,15 +3806,14 @@ google.maps.KmlMouseEvent.prototype.pixelOffset;
3805
3806
  * followed by the longitude.<br> Notice that you cannot modify the coordinates
3806
3807
  * of a <code>LatLng</code>. If you want to compute another point, you have to
3807
3808
  * create a new one.<br> <p> Most methods that accept <code>LatLng</code>
3808
- * objects also accept a <code>{@link google.maps.LatLngLiteral}</code> object,
3809
- * so that the following are equivalent: <pre> map.setCenter(new
3810
- * google.maps.LatLng(-34, 151));<br> map.setCenter({lat: -34, lng: 151});
3811
- * </pre> <p> The constructor also accepts <code>{@link
3812
- * google.maps.LatLngLiteral}</code> and <code>LatLng</code> objects. If a
3813
- * <code>LatLng</code> instance is passed to the constructor, a copy is created.
3814
- * <p> The possible calls to the constructor are below: <pre> new
3815
- * google.maps.LatLng(-34, 151);<br> new google.maps.LatLng(-34, 151, true);<br>
3816
- * new google.maps.LatLng({lat: -34, lng: 151});<br> new
3809
+ * objects also accept a {@link google.maps.LatLngLiteral} object, so that the
3810
+ * following are equivalent: <pre> map.setCenter(new google.maps.LatLng(-34,
3811
+ * 151));<br> map.setCenter({lat: -34, lng: 151}); </pre> <p> The constructor
3812
+ * also accepts {@link google.maps.LatLngLiteral} and <code>LatLng</code>
3813
+ * objects. If a <code>LatLng</code> instance is passed to the constructor, a
3814
+ * copy is created. <p> The possible calls to the constructor are below: <pre>
3815
+ * new google.maps.LatLng(-34, 151);<br> new google.maps.LatLng(-34, 151,
3816
+ * true);<br> new google.maps.LatLng({lat: -34, lng: 151});<br> new
3817
3817
  * google.maps.LatLng({lat: -34, lng: 151}, true);<br> new
3818
3818
  * google.maps.LatLng({lat: -34, lng: 151}, null, true);<br> new
3819
3819
  * google.maps.LatLng(new google.maps.LatLng(-34, 151));<br> new
@@ -4734,12 +4734,9 @@ google.maps.MapOptions.prototype.isFractionalZoomEnabled;
4734
4734
  google.maps.MapOptions.prototype.keyboardShortcuts;
4735
4735
 
4736
4736
  /**
4737
- * The unique identifier that represents a single instance of a Google Map. You
4738
- * can create Map IDs and update a style associated with a Map ID at any time in
4739
- * the Google Cloud Console <a
4740
- * href="https://console.cloud.google.com/google/maps-apis/studio/maps">Maps
4741
- * Management page</a> without changing embedded JSON styling in your
4742
- * application code.
4737
+ * The <a href="https://developers.google.com/maps/documentation/get-map-id">Map
4738
+ * ID</a> of the map. This parameter cannot be set or changed after a map is
4739
+ * instantiated.
4743
4740
  * @type {?string|undefined}
4744
4741
  */
4745
4742
  google.maps.MapOptions.prototype.mapId;
@@ -8220,92 +8217,23 @@ google.maps.VisibleRegion.prototype.nearRight;
8220
8217
 
8221
8218
  /**
8222
8219
  * Available only in the v=beta channel: https://goo.gle/3oAthT3.
8223
- * A <code>WebglCameraParams</code> is a snapshot of camera properties used to
8224
- * render the current frame.
8225
- * @record
8226
- * @deprecated This method will be going away in January 2022. Please use {@link
8227
- * google.maps.WebGLCameraParams} instead.
8228
- */
8229
- google.maps.WebglCameraParams = function() {};
8230
-
8231
- /**
8232
- * Heading of the camera in degrees.
8233
- * @type {number}
8234
- * @deprecated This will be going away in January 2022. Please use {@link
8235
- * google.maps.CameraParams.heading} instead.
8236
- */
8237
- google.maps.WebglCameraParams.prototype.heading;
8238
-
8239
- /**
8240
- * Latitude and longitudes of the camera in degrees.
8241
- * @type {!google.maps.LatLngLiteral|!google.maps.LatLng}
8242
- */
8243
- google.maps.WebglCameraParams.prototype.center;
8244
-
8245
- /**
8246
- * Latitude in degrees.
8247
- * @type {number}
8248
- * @deprecated This will be going away in January 2022. Please use {@link
8249
- * google.maps.CameraParams.center} instead.
8250
- */
8251
- google.maps.WebglCameraParams.prototype.lat;
8252
-
8253
- /**
8254
- * Longitude in degrees.
8255
- * @type {number}
8256
- * @deprecated This will be going away in January 2022. Please use {@link
8257
- * google.maps.CameraParams.center} instead.
8258
- */
8259
- google.maps.WebglCameraParams.prototype.lng;
8260
-
8261
- /**
8262
- * Angle of incidence of the camera, in degrees.
8263
- * @type {number}
8264
- * @deprecated This will be going away in January 2022. Please use {@link
8265
- * google.maps.WebGLCameraParams.tilt} instead.
8266
- */
8267
- google.maps.WebglCameraParams.prototype.tilt;
8268
-
8269
- /**
8270
- * Zoom level of the camera.
8271
- * @type {number}
8272
- * @deprecated This will be going away in January 2022. Please use {@link
8273
- * google.maps.WebGLCameraParams.zoom} instead.
8274
- */
8275
- google.maps.WebglCameraParams.prototype.zoom;
8276
-
8277
- /**
8278
- * Available only in the v=beta channel: https://goo.gle/3oAthT3.
8279
- * GL state options for a WebGLOverlayView.
8280
- * @record
8281
- */
8282
- google.maps.WebGLStateOptions = function() {};
8283
-
8284
- /**
8285
- * WebGL rendering context for state management.
8286
- * @type {!WebGLRenderingContext}
8287
- */
8288
- google.maps.WebGLStateOptions.gl;
8289
-
8290
- /**
8291
- * Available only in the v=beta channel: https://goo.gle/3oAthT3.
8292
- * GL drawing options for a WebGLOverlayView.
8220
+ * Drawing options.
8293
8221
  * @record
8294
8222
  */
8295
8223
  google.maps.WebGLDrawOptions = function() {};
8296
8224
 
8297
8225
  /**
8298
- * WebGL rendering context for drawing.
8226
+ * The WebGLRenderingContext on which to render this WebGLOverlayView.
8299
8227
  * @type {!WebGLRenderingContext}
8300
8228
  */
8301
- google.maps.WebGLDrawOptions.gl;
8229
+ google.maps.WebGLDrawOptions.prototype.gl;
8302
8230
 
8303
8231
  /**
8304
- * The transformer for providing camera transforms to center objects at
8305
- * latitude/longitude coordinates.
8232
+ * The matrix transformation from camera space to latitude/longitude
8233
+ * coordinates.
8306
8234
  * @type {!google.maps.CoordinateTransformer}
8307
8235
  */
8308
- google.maps.WebGLDrawOptions.transformer;
8236
+ google.maps.WebGLDrawOptions.prototype.transformer;
8309
8237
 
8310
8238
  /**
8311
8239
  * Available only in the v=beta channel: https://goo.gle/3oAthT3.
@@ -8360,8 +8288,8 @@ google.maps.WebGLOverlayView.prototype.onContextLost = function() {};
8360
8288
  /**
8361
8289
  * This method is called once the rendering context is available. Use it to
8362
8290
  * initialize or bind any WebGL state such as shaders or buffer objects.
8363
- * @param {!google.maps.WebGLStateOptions} options that contain the GL rendering
8364
- * context for for developers to access WebGL.
8291
+ * @param {!google.maps.WebGLStateOptions} options that allow developers to
8292
+ * restore the GL context.
8365
8293
  * @return {undefined}
8366
8294
  */
8367
8295
  google.maps.WebGLOverlayView.prototype.onContextRestored = function(options) {};
@@ -8370,22 +8298,12 @@ google.maps.WebGLOverlayView.prototype.onContextRestored = function(options) {};
8370
8298
  * Implement this method to draw WebGL content directly on the map. Note that if
8371
8299
  * the overlay needs a new frame drawn then call {@link
8372
8300
  * google.maps.WebGLOverlayView.requestRedraw}.
8373
- * @param {!google.maps.WebGLDrawOptions} options that contain the GL rendering
8374
- * context for developers to access WebGL and matrix transforms from camera
8375
- * space to objects centered at latitude/longitude coordinates.
8301
+ * @param {!google.maps.WebGLDrawOptions} options that allow developers to
8302
+ * render content to an associated Google basemap.
8376
8303
  * @return {undefined}
8377
8304
  */
8378
8305
  google.maps.WebGLOverlayView.prototype.onDraw = function(options) {};
8379
8306
 
8380
- /**
8381
- * Implement this method to handle any GL state updates outside of the render
8382
- * animation frame.
8383
- * @param {!google.maps.WebGLStateOptions} options that contain the GL rendering
8384
- * context for developers to access WebGL.
8385
- * @return {undefined}
8386
- */
8387
- google.maps.WebGLOverlayView.prototype.onStateUpdate = function(options) {};
8388
-
8389
8307
  /**
8390
8308
  * This method is called when the overlay is removed from the map with
8391
8309
  * <code>WebGLOverlayView.setMap(null)</code>, and is where you should remove
@@ -8395,10 +8313,13 @@ google.maps.WebGLOverlayView.prototype.onStateUpdate = function(options) {};
8395
8313
  google.maps.WebGLOverlayView.prototype.onRemove = function() {};
8396
8314
 
8397
8315
  /**
8398
- * Triggers the map to update GL state.
8316
+ * Implement this method to handle any GL state updates outside of the render
8317
+ * animation frame.
8318
+ * @param {!google.maps.WebGLStateOptions} options that allow developerse to
8319
+ * restore the GL context.
8399
8320
  * @return {undefined}
8400
8321
  */
8401
- google.maps.WebGLOverlayView.prototype.requestStateUpdate = function() {};
8322
+ google.maps.WebGLOverlayView.prototype.onStateUpdate = function(options) {};
8402
8323
 
8403
8324
  /**
8404
8325
  * Triggers the map to redraw a frame.
@@ -8406,6 +8327,12 @@ google.maps.WebGLOverlayView.prototype.requestStateUpdate = function() {};
8406
8327
  */
8407
8328
  google.maps.WebGLOverlayView.prototype.requestRedraw = function() {};
8408
8329
 
8330
+ /**
8331
+ * Triggers the map to update GL state.
8332
+ * @return {undefined}
8333
+ */
8334
+ google.maps.WebGLOverlayView.prototype.requestStateUpdate = function() {};
8335
+
8409
8336
  /**
8410
8337
  * Adds the overlay to the map.
8411
8338
  * @param {?google.maps.Map=} map The map to access the div, model and view
@@ -8414,7 +8341,40 @@ google.maps.WebGLOverlayView.prototype.requestRedraw = function() {};
8414
8341
  */
8415
8342
  google.maps.WebGLOverlayView.prototype.setMap = function(map) {};
8416
8343
 
8344
+ /**
8345
+ * Available only in the v=beta channel: https://goo.gle/3oAthT3.
8346
+ * GL state options.
8347
+ * @record
8348
+ */
8349
+ google.maps.WebGLStateOptions = function() {};
8350
+
8351
+ /**
8352
+ * The WebGLRenderingContext on which to render this WebGLOverlayView.
8353
+ * @type {!WebGLRenderingContext}
8354
+ */
8355
+ google.maps.WebGLStateOptions.prototype.gl;
8356
+
8357
+ /**
8358
+ * Available only in the v=beta channel: https://goo.gle/3oAthT3.
8359
+ * A <code>WebglCameraParams</code> is a snapshot of camera properties used to
8360
+ * render the current frame.
8361
+ * @extends {google.maps.CameraParams}
8362
+ * @record
8363
+ * @deprecated Please use {@link google.maps.CameraParams} instead.
8364
+ */
8365
+ google.maps.WebglCameraParams = function() {};
8417
8366
 
8367
+ /**
8368
+ * Latitude in degrees.
8369
+ * @type {number}
8370
+ */
8371
+ google.maps.WebglCameraParams.prototype.lat;
8372
+
8373
+ /**
8374
+ * Longitude in degrees.
8375
+ * @type {number}
8376
+ */
8377
+ google.maps.WebglCameraParams.prototype.lng;
8418
8378
 
8419
8379
  /**
8420
8380
  * Available only in the v=beta channel: https://goo.gle/3oAthT3.
@@ -8442,17 +8402,13 @@ google.maps.WebGLOverlayView.prototype.setMap = function(map) {};
8442
8402
  * having a {@link google.maps.MapOptions.mapId}.
8443
8403
  * @extends {google.maps.MVCObject}
8444
8404
  * @constructor
8445
- * @deprecated Deprecated in 2021 (WebGL Overlay View Beta). This will be going
8446
- * away in January 2022. Please use
8447
- * {@link google.maps.WebGLOverlayView} instead.
8405
+ * @deprecated Please use {@link google.maps.WebGLOverlayView} instead.
8448
8406
  */
8449
8407
  google.maps.WebglOverlayView = function() {};
8450
8408
 
8451
8409
  /**
8452
8410
  * @return {?google.maps.Map|undefined}
8453
- * @deprecated Deprecated in 2021 (WebGL Overlay View Beta). This will be going
8454
- * away in January 2022. Please use
8455
- * {@link google.maps.WebGLOverlayView.getMap} instead.
8411
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.getMap} instead.
8456
8412
  */
8457
8413
  google.maps.WebglOverlayView.prototype.getMap = function() {};
8458
8414
 
@@ -8461,9 +8417,7 @@ google.maps.WebglOverlayView.prototype.getMap = function() {};
8461
8417
  * the overlay is drawn that don’t require immediate access to the WebGL
8462
8418
  * rendering context.
8463
8419
  * @return {undefined}
8464
- * @deprecated Deprecated in 2021 (WebGL Overlay View Beta). This will be going
8465
- * away in January 2022. Please use
8466
- * {@link google.maps.WebGLOverlayView.onAdd} instead.
8420
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.onAdd} instead.
8467
8421
  */
8468
8422
  google.maps.WebglOverlayView.prototype.onAdd = function() {};
8469
8423
 
@@ -8472,9 +8426,8 @@ google.maps.WebglOverlayView.prototype.onAdd = function() {};
8472
8426
  * is where you should clean up any pre-existing GL state, since it is no longer
8473
8427
  * needed.
8474
8428
  * @return {undefined}
8475
- * @deprecated Deprecated in 2021 (WebGL Overlay View Beta). This will be going
8476
- * away in January 2022. Please use
8477
- * {@link google.maps.WebGLOverlayView.onContextLost} instead.
8429
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.onContextLost}
8430
+ * instead.
8478
8431
  */
8479
8432
  google.maps.WebglOverlayView.prototype.onContextLost = function() {};
8480
8433
 
@@ -8484,9 +8437,8 @@ google.maps.WebglOverlayView.prototype.onContextLost = function() {};
8484
8437
  * @param {!WebGLRenderingContext} gl rendering context for developers to access
8485
8438
  * WebGL.
8486
8439
  * @return {undefined}
8487
- * @deprecated Deprecated in 2021 (WebGL Overlay View Beta). This will be going
8488
- * away in January 2022. Please use
8489
- * {@link google.maps.WebGLOverlayView.onContextRestored} instead.
8440
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.onContextRestored}
8441
+ * instead.
8490
8442
  */
8491
8443
  google.maps.WebglOverlayView.prototype.onContextRestored = function(gl) {};
8492
8444
 
@@ -8500,9 +8452,7 @@ google.maps.WebglOverlayView.prototype.onContextRestored = function(gl) {};
8500
8452
  * providing camera transforms to center objects at latitude/longitude
8501
8453
  * coordinates.
8502
8454
  * @return {undefined}
8503
- * @deprecated Deprecated in 2021 (WebGL Overlay View Beta). This will be going
8504
- * away in January 2022. Please use
8505
- * {@link google.maps.WebGLOverlayView.onDraw} instead.
8455
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.onDraw} instead.
8506
8456
  */
8507
8457
  google.maps.WebglOverlayView.prototype.onDraw = function(gl, transformer) {};
8508
8458
 
@@ -8512,9 +8462,8 @@ google.maps.WebglOverlayView.prototype.onDraw = function(gl, transformer) {};
8512
8462
  * @param {!WebGLRenderingContext} gl rendering context for developers to access
8513
8463
  * WebGL.
8514
8464
  * @return {undefined}
8515
- * @deprecated Deprecated in 2021 (WebGL Overlay View Beta). This will be going
8516
- * away in January 2022. Please use
8517
- * {@link google.maps.WebGLOverlayView.onStateUpdate} instead.
8465
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.onStateUpdate}
8466
+ * instead.
8518
8467
  */
8519
8468
  google.maps.WebglOverlayView.prototype.onGlStateUpdate = function(gl) {};
8520
8469
 
@@ -8523,27 +8472,23 @@ google.maps.WebglOverlayView.prototype.onGlStateUpdate = function(gl) {};
8523
8472
  * <code>WebglOverlayView.setMap(null)</code>, and is where you should remove
8524
8473
  * all intermediate objects.
8525
8474
  * @return {undefined}
8526
- * @deprecated Deprecated in 2021 (WebGL Overlay View Beta). This will be going
8527
- * away in January 2022. Please use
8528
- * {@link google.maps.WebGLOverlayView.onRemove} instead.
8475
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.onRemove} instead.
8529
8476
  */
8530
8477
  google.maps.WebglOverlayView.prototype.onRemove = function() {};
8531
8478
 
8532
8479
  /**
8533
8480
  * Triggers the map to update GL state.
8534
8481
  * @return {undefined}
8535
- * @deprecated Deprecated in 2021 (WebGL Overlay View Beta). This will be going
8536
- * away in January 2022. Please use
8537
- * {@link google.maps.WebGLOverlayView.requestStateUpdate} instead.
8482
+ * @deprecated Please use {@link
8483
+ * google.maps.WebGLOverlayView.requestStateUpdate} instead.
8538
8484
  */
8539
8485
  google.maps.WebglOverlayView.prototype.requestGlStateUpdate = function() {};
8540
8486
 
8541
8487
  /**
8542
8488
  * Triggers the map to redraw a frame.
8543
8489
  * @return {undefined}
8544
- * @deprecated Deprecated in 2021 (WebGL Overlay View Beta). This will be going
8545
- * away in January 2022. Please use
8546
- * {@link google.maps.WebGLOverlayView.requestRedraw} instead.
8490
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.requestRedraw}
8491
+ * instead.
8547
8492
  */
8548
8493
  google.maps.WebglOverlayView.prototype.requestRedraw = function() {};
8549
8494
 
@@ -8552,9 +8497,7 @@ google.maps.WebglOverlayView.prototype.requestRedraw = function() {};
8552
8497
  * @param {?google.maps.Map=} map The map to access the div, model and view
8553
8498
  * state.
8554
8499
  * @return {undefined}
8555
- * @deprecated Deprecated in 2021 (WebGL Overlay View Beta). This will be going
8556
- * away in January 2022. Please use
8557
- * {@link google.maps.WebGLOverlayView.setMap} instead.
8500
+ * @deprecated Please use {@link google.maps.WebGLOverlayView.setMap} instead.
8558
8501
  */
8559
8502
  google.maps.WebglOverlayView.prototype.setMap = function(map) {};
8560
8503
 
@@ -10006,7 +9949,9 @@ google.maps.places.PlaceOpeningHours.prototype.weekday_text;
10006
9949
  * google.maps.places.PlaceResult.utc_offset_minutes} or {@link
10007
9950
  * google.maps.places.PlaceOpeningHours.periods} then <code>undefined</code> is
10008
9951
  * returned ({@link google.maps.places.PlaceOpeningHours.periods} is only
10009
- * available via {@link google.maps.places.PlacesService.getDetails}).
9952
+ * available via {@link google.maps.places.PlacesService.getDetails}). This
9953
+ * method does not take exceptional hours, such as holiday hours, into
9954
+ * consideration.
10010
9955
  * @param {!Date=} date
10011
9956
  * @return {boolean|undefined}
10012
9957
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "google-closure-compiler",
3
- "version": "20220118.0.0-nightly",
3
+ "version": "20220122.0.0-nightly",
4
4
  "description": "Check, compile, optimize and compress Javascript with Closure-Compiler",
5
5
  "repository": "https://github.com/google/closure-compiler-npm/tree/master/packages/google-closure-compiler",
6
6
  "keywords": [
@@ -37,15 +37,15 @@
37
37
  "homepage": "https://developers.google.com/closure/compiler/",
38
38
  "dependencies": {
39
39
  "chalk": "2.x",
40
- "google-closure-compiler-java": "^20220118.0.0-nightly",
40
+ "google-closure-compiler-java": "^20220122.0.0-nightly",
41
41
  "minimist": "1.x",
42
42
  "vinyl": "2.x",
43
43
  "vinyl-sourcemaps-apply": "^0.2.0"
44
44
  },
45
45
  "optionalDependencies": {
46
- "google-closure-compiler-linux": "^20220118.0.0-nightly",
47
- "google-closure-compiler-osx": "^20220118.0.0-nightly",
48
- "google-closure-compiler-windows": "^20220118.0.0-nightly"
46
+ "google-closure-compiler-linux": "^20220122.0.0-nightly",
47
+ "google-closure-compiler-osx": "^20220122.0.0-nightly",
48
+ "google-closure-compiler-windows": "^20220122.0.0-nightly"
49
49
  },
50
50
  "devDependencies": {
51
51
  "gulp": "4.x",
@@ -67,5 +67,5 @@
67
67
  "engines": {
68
68
  "node": ">=10"
69
69
  },
70
- "gitHead": "d21a45ccee8a5204d2b0dd65a4d3042d95649125"
70
+ "gitHead": "d70d85731188b76c076259f34325fdd8e08ed4b0"
71
71
  }