Browse Source

format code

tags/3.0.0
Caven Chen 2 years ago
parent
commit
9a24b113df
2 changed files with 3 additions and 2 deletions
  1. 0
    1
      src/modules/exts/BaseLayerPicker.js
  2. 3
    1
      src/modules/heat-map/HeatMapLayer.js

+ 0
- 1
src/modules/exts/BaseLayerPicker.js View File

@@ -87,7 +87,6 @@ class BaseLayerPicker {
this.selectedImageryLayer = this._imageryLayers[index]
return this
}

}

export default BaseLayerPicker

+ 3
- 1
src/modules/heat-map/HeatMapLayer.js View File

@@ -124,7 +124,9 @@ class HeatMapLayer extends Layer {
*/
_computeBounds() {
Cesium.Rectangle.fromCartographicArray(
this._points.map((item) => Cesium.Cartographic.fromDegrees(item.lng, item.lat)),
this._points.map((item) =>
Cesium.Cartographic.fromDegrees(item.lng, item.lat)
),
this._bounds
)
}

Loading…
Cancel
Save