Skip to content

Commit ddfca3b

Browse files
committed
Fix Google2DImageryProvider.ConstructorOptions type generation
1 parent 8371941 commit ddfca3b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

packages/engine/Source/Scene/Google2DImageryProvider.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ const trailingSlashRegex = /\/$/;
1515
*
1616
* Initialization options for the Google2DImageryProvider constructor
1717
*
18-
* @property {object} options Object with the following properties:
19-
* @property {string} options.key The Google api key to send with tile requests.
20-
* @property {string} options.session The Google session token that tracks the current state of your map and viewport.
21-
* @property {string|Resource|IonResource} options.url The Google 2D maps endpoint.
22-
* @property {string} options.tileWidth The width of each tile in pixels.
23-
* @property {string} options.tileHeight The height of each tile in pixels.
24-
* @property {Ellipsoid} [options.ellipsoid=Ellipsoid.default] The ellipsoid. If not specified, the default ellipsoid is used.
25-
* @property {number} [options.minimumLevel=0] The minimum level-of-detail supported by the imagery provider. Take care when specifying
18+
* Object with the following properties:
19+
* @property {string} key The Google api key to send with tile requests.
20+
* @property {string} session The Google session token that tracks the current state of your map and viewport.
21+
* @property {string|Resource|IonResource} url The Google 2D maps endpoint.
22+
* @property {string} tileWidth The width of each tile in pixels.
23+
* @property {string} tileHeight The height of each tile in pixels.
24+
* @property {Ellipsoid} [ellipsoid=Ellipsoid.default] The ellipsoid. If not specified, the default ellipsoid is used.
25+
* @property {number} [minimumLevel=0] The minimum level-of-detail supported by the imagery provider. Take care when specifying
2626
* this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely
2727
* to result in rendering problems.
28-
* @property {number} [options.maximumLevel=22] The maximum level-of-detail supported by the imagery provider.
29-
* @property {Rectangle} [options.rectangle=Rectangle.MAX_VALUE] The rectangle, in radians, covered by the image.
28+
* @property {number} [maximumLevel=22] The maximum level-of-detail supported by the imagery provider.
29+
* @property {Rectangle} [rectangle=Rectangle.MAX_VALUE] The rectangle, in radians, covered by the image.
3030
*/
3131

3232
/**
@@ -36,7 +36,7 @@ const trailingSlashRegex = /\/$/;
3636
*
3737
*
3838
* Provides 2D image tiles from {@link https://developers.google.com/maps/documentation/tile/2d-tiles-overview|Google 2D Tiles}.
39-
*
39+
*
4040
* Google 2D Tiles can only be used with the Google geocoder.
4141
*
4242
* @alias Google2DImageryProvider
@@ -52,7 +52,7 @@ const trailingSlashRegex = /\/$/;
5252
* @example
5353
* // Use your own Google api key
5454
* Cesium.GoogleMaps.defaultApiKey = "your-api-key";
55-
*
55+
*
5656
* const googleTilesProvider = Cesium.Google2DImageryProvider.fromUrl({
5757
* mapType: "SATELLITE"
5858
* });

0 commit comments

Comments
 (0)