Skip to content

Commit

Permalink
Fixup: Fix format and lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonnesjy committed Jun 11, 2024
1 parent 5cae25c commit 2b5c030
Show file tree
Hide file tree
Showing 6 changed files with 184 additions and 242 deletions.
2 changes: 1 addition & 1 deletion src/js/models/maps/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ define([
/**
* Coordinates that describe a camera position for Cesium. Requires at
* least a longitude and latitude.
* @typedef {object} MapConfig#CameraPosition
* @typedef {object} CameraPosition
* @property {number} longitude - Longitude of the central home point
* @property {number} latitude - Latitude of the central home point
* @property {number} [height] - Height above sea level (meters)
Expand Down
4 changes: 2 additions & 2 deletions src/js/models/maps/assets/Cesium3DTileset.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ define([
* to `Cesium.Cesium3DTileset(options)` as options, so the properties listed in
* the Cesium3DTileset documentation are also supported, see
* {@link https://cesium.com/learn/cesiumjs/ref-doc/Cesium3DTileset.html}
* @typedef {Object} Cesium3DTileset#cesiumOptions
* @typedef {Object} Cesium3DTilesetOptions
* @property {string|number} ionAssetId - If this tileset is hosted by Cesium Ion,
* then Ion asset ID.
* @property {string} cesiumToken - If this tileset is hosted by Cesium Ion, then
Expand All @@ -53,7 +53,7 @@ define([
* @property {Cesium.Cesium3DTileset} cesiumModel A model created and used by
* Cesium that organizes the data to display in the Cesium Widget. See
* {@link https://cesium.com/learn/cesiumjs/ref-doc/Cesium3DTileset.html}
* @property {Cesium3DTileset#cesiumOptions} cesiumOptions options are passed
* @property {Cesium3DTilesetOptions} cesiumOptions options are passed
* to the function that creates the Cesium model. The properties of options are
* specific to each type of asset.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/js/models/maps/assets/CesiumImagery.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ define([
* {@link https://cesium.com/learn/cesiumjs/ref-doc/BingMapsImageryProvider.html#.ConstructorOptions}
* and
* {@link https://cesium.com/learn/cesiumjs/ref-doc/IonImageryProvider.html#.ConstructorOptions}.
* @typedef {Object} CesiumImagery#cesiumOptions
* @typedef {Object} CesiumImageryOptions
* @property {string|number} ionAssetId - If this imagery is hosted by Cesium
* Ion, then Ion asset ID.
* @property {string|number} key - A key or token required to access the tiles.
Expand Down Expand Up @@ -64,7 +64,7 @@ define([
* {@link https://cesium.com/learn/cesiumjs/ref-doc/ImageryLayer.html?classFilter=ImageryLayer}
* and
* {@link https://cesium.com/learn/cesiumjs/ref-doc/?classFilter=ImageryProvider}
* @property {CesiumImagery#cesiumOptions} cesiumOptions options that are passed
* @property {CesiumImageryOptions} cesiumOptions options that are passed
* to the function that creates the Cesium model. The properties of options are
* specific to each type of asset.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/js/models/maps/assets/CesiumTerrain.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ define([
* Provider, so other properties that are documented in Cesium are also supported.
* See `options` here:
* {@link https://cesium.com/learn/cesiumjs/ref-doc/CesiumTerrainProvider.html?classFilter=TerrainProvider}
* @typedef {Object} CesiumTerrain#cesiumOptions
* @typedef {Object} CesiumTerrainOptions
* @property {string|number} ionAssetId - If this terrain is hosted by Cesium Ion,
* then Ion asset ID.
*/
Expand All @@ -49,7 +49,7 @@ define([
* @property {Cesium.TerrainProvider} cesiumModel A model created and used by
* Cesium that organizes the data to display in the Cesium Widget. See
* {@link https://cesium.com/learn/cesiumjs/ref-doc/TerrainProvider.html}
* @property {CesiumTerrain#cesiumOptions} cesiumOptions options are passed to the
* @property {CesiumTerrainOptions} cesiumOptions options are passed to the
* function that creates the Cesium model. The properties of options are specific
* to each type of asset
*/
Expand Down
4 changes: 2 additions & 2 deletions src/js/models/maps/assets/CesiumVectorData.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define([
* Each type of Cesium Data Source has a specific set of load method
* options. See for example, the GeoJsonDataSource options:
* {@link https://cesium.com/learn/cesiumjs/ref-doc/GeoJsonDataSource.html}
* @typedef {Object} CesiumVectorData#cesiumOptions
* @typedef {Object} CesiumVectorDataOptions
* @property {string|Object} data - The url, GeoJSON object, or TopoJSON
* object to be loaded.
*/
Expand All @@ -79,7 +79,7 @@ define([
* model created and used by Cesium that organizes the data to display in
* the Cesium Widget. See
* {@link https://cesium.com/learn/cesiumjs/ref-doc/DataSource.html?classFilter=DataSource}
* @property {CesiumVectorData#cesiumOptions} cesiumOptions options are
* @property {CesiumVectorDataOptions} cesiumOptions options are
* passed to the function that creates the Cesium model. The properties of
* options are specific to each type of asset.
* @property {string|AssetColor} [outlineColor=null] The color of the
Expand Down
Loading

0 comments on commit 2b5c030

Please sign in to comment.