@vtx/cs-map 1.0.126 → 1.0.128
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.
- package/CHANGELOG.md +124 -0
- package/README.md +202 -202
- package/lib/_util/EventEmitter.js +9 -10
- package/lib/_util/EventEmitter.js.map +1 -1
- package/lib/_util/Provider.js +1 -1
- package/lib/_util/Provider.js.map +1 -1
- package/lib/_util/StyleCache.js +6 -7
- package/lib/_util/StyleCache.js.map +1 -1
- package/lib/_util/cesium.js +10 -11
- package/lib/_util/cesium.js.map +1 -1
- package/lib/_util/encryptParams.js +1 -1
- package/lib/_util/encryptParams.js.map +1 -1
- package/lib/_util/filterSpecialCharacters.js +12 -12
- package/lib/_util/filterSpecialCharacters.js.map +1 -1
- package/lib/_util/generateRandomPosition.js +5 -5
- package/lib/_util/generateRandomPosition.js.map +1 -1
- package/lib/_util/getBBoxFromGeojson.js +16 -17
- package/lib/_util/getBBoxFromGeojson.js.map +1 -1
- package/lib/_util/getComponentProps.js.map +1 -1
- package/lib/_util/getCookie.js +4 -4
- package/lib/_util/getCookie.js.map +1 -1
- package/lib/_util/getDefaultMapInfo.js +3 -3
- package/lib/_util/getDefaultMapInfo.js.map +1 -1
- package/lib/_util/getSystemInfo.js +3 -3
- package/lib/_util/getSystemInfo.js.map +1 -1
- package/lib/_util/getToken.js +5 -5
- package/lib/_util/getToken.js.map +1 -1
- package/lib/_util/getUrlParam.js +1 -1
- package/lib/_util/getUrlParam.js.map +1 -1
- package/lib/_util/heightAndZoom.js.map +1 -1
- package/lib/_util/http.js +26 -27
- package/lib/_util/http.js.map +1 -1
- package/lib/_util/isFunction.js.map +1 -1
- package/lib/_util/isObject.js.map +1 -1
- package/lib/_util/layer.js +14 -14
- package/lib/_util/layer.js.map +1 -1
- package/lib/_util/mapTool.js +34 -34
- package/lib/_util/mapTool.js.map +1 -1
- package/lib/_util/parabola.js +7 -7
- package/lib/_util/parabola.js.map +1 -1
- package/lib/_util/setCookie.js +4 -4
- package/lib/_util/setCookie.js.map +1 -1
- package/lib/_util/transformRgb.js.map +1 -1
- package/lib/_util/useColSize.js +1 -1
- package/lib/_util/useColSize.js.map +1 -1
- package/lib/_util/useInterval.js.map +1 -1
- package/lib/_util/useProps.js.map +1 -1
- package/lib/_util/useSet.js +7 -7
- package/lib/_util/useSet.js.map +1 -1
- package/lib/building-tiles-layer/BuildingTilesLayer.js +18 -20
- package/lib/building-tiles-layer/BuildingTilesLayer.js.map +1 -1
- package/lib/building-tiles-layer/index.js +6 -6
- package/lib/building-tiles-layer/index.js.map +1 -1
- package/lib/building-tiles-layer/style/css.js.map +1 -1
- package/lib/building-tiles-layer/style/index.js.map +1 -1
- package/lib/cesium-tiles-layer/CesiumTilesLayer.js +23 -23
- package/lib/cesium-tiles-layer/CesiumTilesLayer.js.map +1 -1
- package/lib/cesium-tiles-layer/demo/index.less +111 -111
- package/lib/cesium-tiles-layer/demo/putian/index.less +27 -27
- package/lib/cesium-tiles-layer/index.js +6 -6
- package/lib/cesium-tiles-layer/index.js.map +1 -1
- package/lib/cesium-tiles-layer/style/css.js.map +1 -1
- package/lib/cesium-tiles-layer/style/index.js.map +1 -1
- package/lib/circle/Circle.js +18 -20
- package/lib/circle/Circle.js.map +1 -1
- package/lib/circle/index.js +3 -3
- package/lib/circle/index.js.map +1 -1
- package/lib/circle/style/css.js.map +1 -1
- package/lib/circle/style/index.js.map +1 -1
- package/lib/circle-fly/index.js +11 -11
- package/lib/circle-fly/index.js.map +1 -1
- package/lib/circle-fly/style/css.js.map +1 -1
- package/lib/circle-fly/style/index.js.map +1 -1
- package/lib/cone-glow-layer/BottomCircle.js.map +1 -1
- package/lib/cone-glow-layer/ButtomRotateCircle.js +8 -8
- package/lib/cone-glow-layer/ButtomRotateCircle.js.map +1 -1
- package/lib/cone-glow-layer/ConeGlowLayer.js +12 -14
- package/lib/cone-glow-layer/ConeGlowLayer.js.map +1 -1
- package/lib/cone-glow-layer/Texture.js.map +1 -1
- package/lib/config.js.map +1 -1
- package/lib/demand-layer/DemandLayer.js +27 -27
- package/lib/demand-layer/DemandLayer.js.map +1 -1
- package/lib/demand-layer/index.js +7 -7
- package/lib/demand-layer/index.js.map +1 -1
- package/lib/demand-layer/style/css.js.map +1 -1
- package/lib/demand-layer/style/index.js.map +1 -1
- package/lib/dom/Dom.js +10 -11
- package/lib/dom/Dom.js.map +1 -1
- package/lib/dom/index.js +8 -8
- package/lib/dom/index.js.map +1 -1
- package/lib/dom/style/css.js.map +1 -1
- package/lib/dom/style/index.js.map +1 -1
- package/lib/events/index.js.map +1 -1
- package/lib/excavation-analysis/Cut.js +25 -26
- package/lib/excavation-analysis/Cut.js.map +1 -1
- package/lib/excavation-analysis/TilesetCut.js +14 -15
- package/lib/excavation-analysis/TilesetCut.js.map +1 -1
- package/lib/excavation-analysis/hooks/useDrawHandler.js +1 -1
- package/lib/excavation-analysis/hooks/useDrawHandler.js.map +1 -1
- package/lib/excavation-analysis/hooks/useTerrainClipPlan.js.map +1 -1
- package/lib/excavation-analysis/hooks/useTileSetCut.js +1 -1
- package/lib/excavation-analysis/hooks/useTileSetCut.js.map +1 -1
- package/lib/excavation-analysis/index.js +3 -4
- package/lib/excavation-analysis/index.js.map +1 -1
- package/lib/excavation-analysis/style/css.js.map +1 -1
- package/lib/excavation-analysis/style/index.js.map +1 -1
- package/lib/feature-layer/FeatureLayer.js +29 -29
- package/lib/feature-layer/FeatureLayer.js.map +1 -1
- package/lib/feature-layer/createFeatureCollection.js +22 -22
- package/lib/feature-layer/createFeatureCollection.js.map +1 -1
- package/lib/feature-layer/index.js +12 -12
- package/lib/feature-layer/index.js.map +1 -1
- package/lib/feature-layer/style/css.js.map +1 -1
- package/lib/feature-layer/style/index.js.map +1 -1
- package/lib/fence-layer/FenceLayer.js +32 -32
- package/lib/fence-layer/FenceLayer.js.map +1 -1
- package/lib/fence-layer/GradualLightRingMaterialProperty.js +5 -5
- package/lib/fence-layer/GradualLightRingMaterialProperty.js.map +1 -1
- package/lib/fence-layer/index.js +6 -6
- package/lib/fence-layer/index.js.map +1 -1
- package/lib/fence-layer/style/css.js.map +1 -1
- package/lib/fence-layer/style/index.js.map +1 -1
- package/lib/flight-line-layer/FlightLineLayer.js +13 -14
- package/lib/flight-line-layer/FlightLineLayer.js.map +1 -1
- package/lib/flight-line-layer/index.js +8 -8
- package/lib/flight-line-layer/index.js.map +1 -1
- package/lib/flight-line-layer/style/css.js.map +1 -1
- package/lib/flight-line-layer/style/index.js.map +1 -1
- package/lib/fly-line-layer/FlyLineLayer.js +35 -35
- package/lib/fly-line-layer/FlyLineLayer.js.map +1 -1
- package/lib/fly-line-layer/LineFlowMaterialProperty.js +6 -7
- package/lib/fly-line-layer/LineFlowMaterialProperty.js.map +1 -1
- package/lib/fly-line-layer/index.js +3 -3
- package/lib/fly-line-layer/index.js.map +1 -1
- package/lib/fly-line-layer/style/css.js.map +1 -1
- package/lib/fly-line-layer/style/index.js.map +1 -1
- package/lib/gif-dom-layer/GifDomLayer.js +11 -12
- package/lib/gif-dom-layer/GifDomLayer.js.map +1 -1
- package/lib/gif-dom-layer/index.js +3 -3
- package/lib/gif-dom-layer/index.js.map +1 -1
- package/lib/gif-dom-layer/style/css.js.map +1 -1
- package/lib/gif-dom-layer/style/index.js.map +1 -1
- package/lib/gradation-line-layer/GradationLineLayer.js +16 -18
- package/lib/gradation-line-layer/GradationLineLayer.js.map +1 -1
- package/lib/gradation-line-layer/index.js +3 -3
- package/lib/gradation-line-layer/index.js.map +1 -1
- package/lib/gradation-line-layer/style/css.js.map +1 -1
- package/lib/gradation-line-layer/style/index.js.map +1 -1
- package/lib/group-layer/GroupLayer.js +8 -9
- package/lib/group-layer/GroupLayer.js.map +1 -1
- package/lib/group-layer/index.js +7 -7
- package/lib/group-layer/index.js.map +1 -1
- package/lib/group-layer/style/css.js.map +1 -1
- package/lib/group-layer/style/index.js.map +1 -1
- package/lib/heatmap-layer/CesiumHeatmap.js +43 -42
- package/lib/heatmap-layer/CesiumHeatmap.js.map +1 -1
- package/lib/heatmap-layer/HeatmapLayer.js +24 -26
- package/lib/heatmap-layer/HeatmapLayer.js.map +1 -1
- package/lib/heatmap-layer/heatmap.js +41 -42
- package/lib/heatmap-layer/heatmap.js.map +1 -1
- package/lib/heatmap-layer/index.js +15 -15
- package/lib/heatmap-layer/index.js.map +1 -1
- package/lib/heatmap-layer/style/css.js.map +1 -1
- package/lib/heatmap-layer/style/index.js.map +1 -1
- package/lib/highlight-layer/HighlightLayer.js +16 -17
- package/lib/highlight-layer/HighlightLayer.js.map +1 -1
- package/lib/highlight-layer/index.js +3 -3
- package/lib/highlight-layer/index.js.map +1 -1
- package/lib/highlight-layer/style/css.js.map +1 -1
- package/lib/highlight-layer/style/index.js.map +1 -1
- package/lib/image-layer/ImageLayer.js +26 -26
- package/lib/image-layer/ImageLayer.js.map +1 -1
- package/lib/image-layer/index.js +8 -8
- package/lib/image-layer/index.js.map +1 -1
- package/lib/image-layer/style/css.js.map +1 -1
- package/lib/image-layer/style/index.js.map +1 -1
- package/lib/image-wms-layer/ImageWmsLayer.js +9 -10
- package/lib/image-wms-layer/ImageWmsLayer.js.map +1 -1
- package/lib/image-wms-layer/index.js +8 -8
- package/lib/image-wms-layer/index.js.map +1 -1
- package/lib/image-wms-layer/style/css.js.map +1 -1
- package/lib/image-wms-layer/style/index.js.map +1 -1
- package/lib/index.js +8 -1
- package/lib/index.js.map +1 -1
- package/lib/inundate-analysis/index.js +8 -8
- package/lib/inundate-analysis/index.js.map +1 -1
- package/lib/inundate-analysis/style/css.js.map +1 -1
- package/lib/inundate-analysis/style/index.js.map +1 -1
- package/lib/label/Label.js +23 -25
- package/lib/label/Label.js.map +1 -1
- package/lib/label/index.js +3 -3
- package/lib/label/index.js.map +1 -1
- package/lib/label/style/css.js.map +1 -1
- package/lib/label/style/index.js.map +1 -1
- package/lib/legend/index.js +15 -15
- package/lib/legend/index.js.map +1 -1
- package/lib/legend/style/css.js.map +1 -1
- package/lib/legend/style/index.js.map +1 -1
- package/lib/legend/style/index.less +74 -74
- package/lib/line-flow-layer/LineFlowLayer.js +26 -27
- package/lib/line-flow-layer/LineFlowLayer.js.map +1 -1
- package/lib/line-flow-layer/index.js +6 -6
- package/lib/line-flow-layer/index.js.map +1 -1
- package/lib/line-flow-layer/style/css.js.map +1 -1
- package/lib/line-flow-layer/style/index.js.map +1 -1
- package/lib/map/InfoTool/index.js +66 -74
- package/lib/map/InfoTool/index.js.map +1 -1
- package/lib/map/InfoTool/index.less +46 -46
- package/lib/map/InfoTool/util.js +23 -23
- package/lib/map/InfoTool/util.js.map +1 -1
- package/lib/map/InfoWindow.js +7 -7
- package/lib/map/InfoWindow.js.map +1 -1
- package/lib/map/Layers.js +29 -31
- package/lib/map/Layers.js.map +1 -1
- package/lib/map/Popup.js +32 -42
- package/lib/map/Popup.js.map +1 -1
- package/lib/map/base/imagery/amap/AmapImageryProvider.js +15 -16
- package/lib/map/base/imagery/amap/AmapImageryProvider.js.map +1 -1
- package/lib/map/base/imagery/amap/AmapMercatorTilingScheme.js +15 -16
- package/lib/map/base/imagery/amap/AmapMercatorTilingScheme.js.map +1 -1
- package/lib/map/base/imagery/baidu/BaiduImageryProvider.js +7 -8
- package/lib/map/base/imagery/baidu/BaiduImageryProvider.js.map +1 -1
- package/lib/map/base/imagery/baidu/BaiduMercatorProjection.js +83 -84
- package/lib/map/base/imagery/baidu/BaiduMercatorProjection.js.map +1 -1
- package/lib/map/base/imagery/baidu/BaiduMercatorTilingScheme.js +31 -33
- package/lib/map/base/imagery/baidu/BaiduMercatorTilingScheme.js.map +1 -1
- package/lib/map/base/imagery/geoq/GeoQImageryProvider.js +15 -16
- package/lib/map/base/imagery/geoq/GeoQImageryProvider.js.map +1 -1
- package/lib/map/base/imagery/google/GoogleImageryProvider.js +14 -15
- package/lib/map/base/imagery/google/GoogleImageryProvider.js.map +1 -1
- package/lib/map/base/imagery/irs/IRSImageryProvider.js +20 -22
- package/lib/map/base/imagery/irs/IRSImageryProvider.js.map +1 -1
- package/lib/map/base/imagery/tdt/JiangSuTdtImageryProvider.js +19 -20
- package/lib/map/base/imagery/tdt/JiangSuTdtImageryProvider.js.map +1 -1
- package/lib/map/base/imagery/tdt/TdtImageryProvider.js +34 -30
- package/lib/map/base/imagery/tdt/TdtImageryProvider.js.map +1 -1
- package/lib/map/base/imagery/tencent/TencentImageryProvider.js +15 -16
- package/lib/map/base/imagery/tencent/TencentImageryProvider.js.map +1 -1
- package/lib/map/base/imagery/transform/AmapMercatorTilingScheme.js +15 -16
- package/lib/map/base/imagery/transform/AmapMercatorTilingScheme.js.map +1 -1
- package/lib/map/base/imagery/transform/CoordTransform.js +48 -49
- package/lib/map/base/imagery/transform/CoordTransform.js.map +1 -1
- package/lib/map/base/index.js +21 -24
- package/lib/map/base/index.js.map +1 -1
- package/lib/map/demo/index.css +7 -0
- package/lib/map/demo/index.less +16 -0
- package/lib/map/hooks/useGetMapFeatureInfoByText.js +5 -5
- package/lib/map/hooks/useGetMapFeatureInfoByText.js.map +1 -1
- package/lib/map/index.js +19 -19
- package/lib/map/index.js.map +1 -1
- package/lib/map/material/AroundPoint.js +6 -7
- package/lib/map/material/AroundPoint.js.map +1 -1
- package/lib/map/material/CircleRippleMaterialProperty.js +5 -6
- package/lib/map/material/CircleRippleMaterialProperty.js.map +1 -1
- package/lib/map/material/ODLineLayer.js +6 -7
- package/lib/map/material/ODLineLayer.js.map +1 -1
- package/lib/map/material/PolylineTrailLinkMaterialProperty.js +7 -8
- package/lib/map/material/PolylineTrailLinkMaterialProperty.js.map +1 -1
- package/lib/map/material/PolylineTrailMaterialProperty.js +7 -8
- package/lib/map/material/PolylineTrailMaterialProperty.js.map +1 -1
- package/lib/map/material/TilesBuilding.js +6 -7
- package/lib/map/material/TilesBuilding.js.map +1 -1
- package/lib/map/material/index.js +1 -1
- package/lib/map/material/index.js.map +1 -1
- package/lib/map/style/css.js +1 -0
- package/lib/map/style/css.js.map +1 -1
- package/lib/map/style/index.css +0 -91
- package/lib/map/style/index.js +1 -0
- package/lib/map/style/index.js.map +1 -1
- package/lib/map/style/index.less +156 -248
- package/lib/marker/Marker.js +24 -26
- package/lib/marker/Marker.js.map +1 -1
- package/lib/marker/index.js +3 -3
- package/lib/marker/index.js.map +1 -1
- package/lib/marker/style/css.js.map +1 -1
- package/lib/marker/style/index.js.map +1 -1
- package/lib/model/Model.js +23 -25
- package/lib/model/Model.js.map +1 -1
- package/lib/model/index.js +8 -8
- package/lib/model/index.js.map +1 -1
- package/lib/model/style/css.js.map +1 -1
- package/lib/model/style/index.js.map +1 -1
- package/lib/navigation/index.js +13 -13
- package/lib/navigation/index.js.map +1 -1
- package/lib/navigation/style/css.js.map +1 -1
- package/lib/navigation/style/index.js.map +1 -1
- package/lib/navigation/style/index.less +176 -176
- package/lib/pipe-tiles-layer/PipeTilesLayer.js +19 -20
- package/lib/pipe-tiles-layer/PipeTilesLayer.js.map +1 -1
- package/lib/pipe-tiles-layer/index.js +6 -6
- package/lib/pipe-tiles-layer/index.js.map +1 -1
- package/lib/pipe-tiles-layer/style/css.js.map +1 -1
- package/lib/pipe-tiles-layer/style/index.js.map +1 -1
- package/lib/point/Point.js +23 -25
- package/lib/point/Point.js.map +1 -1
- package/lib/point/index.js +3 -3
- package/lib/point/index.js.map +1 -1
- package/lib/point/style/css.js.map +1 -1
- package/lib/point/style/index.js.map +1 -1
- package/lib/polygon/Polygon.js +23 -25
- package/lib/polygon/Polygon.js.map +1 -1
- package/lib/polygon/index.js +3 -3
- package/lib/polygon/index.js.map +1 -1
- package/lib/polygon/style/css.js.map +1 -1
- package/lib/polygon/style/index.js.map +1 -1
- package/lib/polyline/Polyline.js +23 -25
- package/lib/polyline/Polyline.js.map +1 -1
- package/lib/polyline/index.js +5 -5
- package/lib/polyline/index.js.map +1 -1
- package/lib/polyline/style/css.js.map +1 -1
- package/lib/polyline/style/index.js.map +1 -1
- package/lib/popup/index.js +204 -0
- package/lib/popup/index.js.map +1 -0
- package/lib/popup/style/css.js +4 -0
- package/lib/popup/style/css.js.map +1 -0
- package/lib/popup/style/index.css +151 -0
- package/lib/popup/style/index.js +4 -0
- package/lib/popup/style/index.js.map +1 -0
- package/lib/popup/style/index.less +149 -0
- package/lib/renderer/index.js +21 -23
- package/lib/renderer/index.js.map +1 -1
- package/lib/renderer/style/css.js.map +1 -1
- package/lib/renderer/style/index.js.map +1 -1
- package/lib/road-line-layer/RoadLineLayer.js +26 -28
- package/lib/road-line-layer/RoadLineLayer.js.map +1 -1
- package/lib/road-line-layer/index.js +3 -3
- package/lib/road-line-layer/index.js.map +1 -1
- package/lib/road-line-layer/style/css.js.map +1 -1
- package/lib/road-line-layer/style/index.js.map +1 -1
- package/lib/scene-roam/index.js +6 -6
- package/lib/scene-roam/index.js.map +1 -1
- package/lib/scene-roam/style/css.js.map +1 -1
- package/lib/scene-roam/style/index.js.map +1 -1
- package/lib/slider-scene/index.js +3 -3
- package/lib/slider-scene/index.js.map +1 -1
- package/lib/slider-scene/style/css.js.map +1 -1
- package/lib/slider-scene/style/index.js.map +1 -1
- package/lib/slider-scene/style/index.less +13 -13
- package/lib/split-screen/index.js +9 -9
- package/lib/split-screen/index.js.map +1 -1
- package/lib/split-screen/style/css.js.map +1 -1
- package/lib/split-screen/style/index.js.map +1 -1
- package/lib/style/index.less +2 -2
- package/lib/style/themes/compact.less +1 -1
- package/lib/style/themes/dark.less +9 -9
- package/lib/style/themes/default.less +7 -7
- package/lib/style/themes/index.less +1 -1
- package/lib/style/themes/variable.less +5 -5
- package/lib/three-line-layer/ThreeLineLayer.js +12 -16
- package/lib/three-line-layer/ThreeLineLayer.js.map +1 -1
- package/lib/three-line-layer/index.js +8 -8
- package/lib/three-line-layer/index.js.map +1 -1
- package/lib/three-line-layer/style/css.js.map +1 -1
- package/lib/three-line-layer/style/index.js.map +1 -1
- package/lib/three-point-layer/DiffuseCircle.js +12 -14
- package/lib/three-point-layer/DiffuseCircle.js.map +1 -1
- package/lib/three-point-layer/Grate.js +90 -90
- package/lib/three-point-layer/Grate.js.map +1 -1
- package/lib/three-point-layer/ThreePointLayer.js +11 -14
- package/lib/three-point-layer/ThreePointLayer.js.map +1 -1
- package/lib/three-point-layer/Well.js +63 -63
- package/lib/three-point-layer/Well.js.map +1 -1
- package/lib/three-point-layer/index.js +3 -3
- package/lib/three-point-layer/index.js.map +1 -1
- package/lib/three-point-layer/style/css.js.map +1 -1
- package/lib/three-point-layer/style/index.js.map +1 -1
- package/lib/tools/base-map-switch/index.js +10 -10
- package/lib/tools/base-map-switch/index.js.map +1 -1
- package/lib/tools/components/Icon/index.js +1 -1
- package/lib/tools/components/Icon/index.js.map +1 -1
- package/lib/tools/components/Icon/svg.js +1 -1
- package/lib/tools/components/Icon/svg.js.map +1 -1
- package/lib/tools/components/Modal/index.js +3 -3
- package/lib/tools/components/Modal/index.js.map +1 -1
- package/lib/tools/components/Modal/index.less +33 -33
- package/lib/tools/components/item-wrap/index.js +7 -7
- package/lib/tools/components/item-wrap/index.js.map +1 -1
- package/lib/tools/components/tool-Item/index.js +1 -1
- package/lib/tools/components/tool-Item/index.js.map +1 -1
- package/lib/tools/components/tool-Item/index.less +27 -27
- package/lib/tools/dimension-switch/index.js +7 -7
- package/lib/tools/dimension-switch/index.js.map +1 -1
- package/lib/tools/index.js +2 -2
- package/lib/tools/index.js.map +1 -1
- package/lib/tools/layer-control/index.js +17 -17
- package/lib/tools/layer-control/index.js.map +1 -1
- package/lib/tools/layer-control-popover/LayersCheckService.js +13 -14
- package/lib/tools/layer-control-popover/LayersCheckService.js.map +1 -1
- package/lib/tools/layer-control-popover/index.js +13 -13
- package/lib/tools/layer-control-popover/index.js.map +1 -1
- package/lib/tools/loading/index.js +7 -7
- package/lib/tools/loading/index.js.map +1 -1
- package/lib/tools/map-search/Select/index.js +12 -12
- package/lib/tools/map-search/Select/index.js.map +1 -1
- package/lib/tools/map-search/Select/style/css.js.map +1 -1
- package/lib/tools/map-search/Select/style/index.js.map +1 -1
- package/lib/tools/map-search/Select/style/index.less +47 -47
- package/lib/tools/map-search/index.js +13 -13
- package/lib/tools/map-search/index.js.map +1 -1
- package/lib/tools/style/css.js.map +1 -1
- package/lib/tools/style/index.js.map +1 -1
- package/lib/tools/style/index.less +309 -309
- package/lib/tools/tip/index.js +1 -1
- package/lib/tools/tip/index.js.map +1 -1
- package/lib/tools/tool-box/Measure/Area/index.js +2 -2
- package/lib/tools/tool-box/Measure/Area/index.js.map +1 -1
- package/lib/tools/tool-box/Measure/Distance/index.js +2 -2
- package/lib/tools/tool-box/Measure/Distance/index.js.map +1 -1
- package/lib/tools/tool-box/Measure/Height/index.js +2 -2
- package/lib/tools/tool-box/Measure/Height/index.js.map +1 -1
- package/lib/tools/tool-box/Measure/Measure.js +42 -43
- package/lib/tools/tool-box/Measure/Measure.js.map +1 -1
- package/lib/tools/tool-box/Measure/index.js +6 -6
- package/lib/tools/tool-box/Measure/index.js.map +1 -1
- package/lib/tools/tool-box/index.js +8 -9
- package/lib/tools/tool-box/index.js.map +1 -1
- package/lib/trail-polyline-layer/TrailPolylineLayer.js +16 -18
- package/lib/trail-polyline-layer/TrailPolylineLayer.js.map +1 -1
- package/lib/trail-polyline-layer/TrailPolylineMaterial.js +2 -2
- package/lib/trail-polyline-layer/TrailPolylineMaterial.js.map +1 -1
- package/lib/trail-polyline-layer/index.js +3 -3
- package/lib/trail-polyline-layer/index.js.map +1 -1
- package/lib/trail-polyline-layer/style/css.js.map +1 -1
- package/lib/trail-polyline-layer/style/index.js.map +1 -1
- package/lib/use-props/index.js.map +1 -1
- package/lib/use-props/style/css.js.map +1 -1
- package/lib/use-props/style/index.js.map +1 -1
- package/lib/wall/WallGeometry.js +19 -20
- package/lib/wall/WallGeometry.js.map +1 -1
- package/lib/wall/index.js +3 -3
- package/lib/wall/index.js.map +1 -1
- package/lib/wall/style/css.js.map +1 -1
- package/lib/wall/style/index.js.map +1 -1
- package/lib/water-surface-layer/WaterSurfaceLayer.js +31 -31
- package/lib/water-surface-layer/WaterSurfaceLayer.js.map +1 -1
- package/lib/water-surface-layer/index.js +6 -6
- package/lib/water-surface-layer/index.js.map +1 -1
- package/lib/water-surface-layer/style/css.js.map +1 -1
- package/lib/water-surface-layer/style/index.js.map +1 -1
- package/lib/weather/Weather.js +35 -36
- package/lib/weather/Weather.js.map +1 -1
- package/lib/weather/index.js +3 -3
- package/lib/weather/index.js.map +1 -1
- package/lib/weather/style/css.js.map +1 -1
- package/lib/weather/style/index.js.map +1 -1
- package/package.json +124 -124
package/lib/map/style/index.css
CHANGED
|
@@ -63,83 +63,6 @@
|
|
|
63
63
|
background: rgba(0, 0, 0, 0);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
.cs-map-container .cesium-popup {
|
|
67
|
-
position: absolute;
|
|
68
|
-
-webkit-transform: translateX(-50%);
|
|
69
|
-
-ms-transform: translateX(-50%);
|
|
70
|
-
transform: translateX(-50%);
|
|
71
|
-
min-width: 220px;
|
|
72
|
-
max-width: 300px;
|
|
73
|
-
background: rgba(0, 35, 65, 0.9);
|
|
74
|
-
-webkit-box-shadow: 0 0 10px rgba(1, 211, 252, 0.75) inset;
|
|
75
|
-
box-shadow: 0 0 10px rgba(1, 211, 252, 0.75) inset;
|
|
76
|
-
border-radius: 10px;
|
|
77
|
-
color: #fff;
|
|
78
|
-
z-index: -1;
|
|
79
|
-
opacity: 0;
|
|
80
|
-
}
|
|
81
|
-
.cs-map-container .cesium-popup .cesium-popup-title {
|
|
82
|
-
font-size: 14px;
|
|
83
|
-
font-weight: bold;
|
|
84
|
-
padding: 10px 50px 10px 12px;
|
|
85
|
-
white-space: nowrap;
|
|
86
|
-
text-overflow: ellipsis;
|
|
87
|
-
overflow: hidden;
|
|
88
|
-
background: rgba(101, 211, 252, 0.2);
|
|
89
|
-
border-radius: 6px 6px 0 0;
|
|
90
|
-
color: #fff;
|
|
91
|
-
}
|
|
92
|
-
.cs-map-container .cesium-popup .cesium-popup-no-title {
|
|
93
|
-
padding: 0;
|
|
94
|
-
border-bottom: 0 !important;
|
|
95
|
-
}
|
|
96
|
-
.cs-map-container .cesium-popup .cesium-popup-content {
|
|
97
|
-
padding: 10px 12px;
|
|
98
|
-
}
|
|
99
|
-
.cs-map-container .cesium-popup .cesium-popup-close {
|
|
100
|
-
text-decoration: none;
|
|
101
|
-
position: absolute;
|
|
102
|
-
top: 12px;
|
|
103
|
-
right: 8px;
|
|
104
|
-
cursor: pointer;
|
|
105
|
-
font-size: 16px;
|
|
106
|
-
font-weight: bold;
|
|
107
|
-
color: #fff;
|
|
108
|
-
}
|
|
109
|
-
.cs-map-container .cesium-popup::after,
|
|
110
|
-
.cs-map-container .cesium-popup::before {
|
|
111
|
-
top: 100%;
|
|
112
|
-
border: solid transparent;
|
|
113
|
-
content: ' ';
|
|
114
|
-
height: 0;
|
|
115
|
-
width: 0;
|
|
116
|
-
position: absolute;
|
|
117
|
-
pointer-events: none;
|
|
118
|
-
}
|
|
119
|
-
.cs-map-container .cesium-popup::after {
|
|
120
|
-
border-top-color: #2c69a6;
|
|
121
|
-
border-width: 5px;
|
|
122
|
-
left: 50%;
|
|
123
|
-
-webkit-transform: translateX(calc(-50%));
|
|
124
|
-
-ms-transform: translateX(calc(-50%));
|
|
125
|
-
transform: translateX(calc(-50%));
|
|
126
|
-
}
|
|
127
|
-
.cs-map-container .cesium-popup::before {
|
|
128
|
-
border-top-color: rgba(2, 24, 45, 0.92);
|
|
129
|
-
border-width: 5px;
|
|
130
|
-
left: 50%;
|
|
131
|
-
-webkit-transform: translateX(calc(-50%));
|
|
132
|
-
-ms-transform: translateX(calc(-50%));
|
|
133
|
-
transform: translateX(calc(-50%));
|
|
134
|
-
}
|
|
135
|
-
.cs-map-container .cesium-template {
|
|
136
|
-
background-color: #1890ff;
|
|
137
|
-
color: #ffffff;
|
|
138
|
-
padding: 5px 10px;
|
|
139
|
-
-webkit-box-sizing: border-box;
|
|
140
|
-
box-sizing: border-box;
|
|
141
|
-
min-height: 50px;
|
|
142
|
-
}
|
|
143
66
|
.cs-map-container .cs-map-popup-cluster-title {
|
|
144
67
|
display: -webkit-box;
|
|
145
68
|
display: -ms-flexbox;
|
|
@@ -216,17 +139,3 @@
|
|
|
216
139
|
-webkit-box-shadow: inset 0 0 0.025rem #012f54;
|
|
217
140
|
background-color: #012f54;
|
|
218
141
|
}
|
|
219
|
-
.cesium-popup-abnormal {
|
|
220
|
-
background: rgba(75, 15, 15, 0.9);
|
|
221
|
-
-webkit-box-shadow: 0 0 3rem rgba(228, 53, 40, 0.75) inset;
|
|
222
|
-
box-shadow: 0 0 3rem rgba(228, 53, 40, 0.75) inset;
|
|
223
|
-
}
|
|
224
|
-
.cesium-popup-abnormal .title {
|
|
225
|
-
background: rgba(255, 193, 191, 0.2);
|
|
226
|
-
}
|
|
227
|
-
.cesium-popup-abnormal::after {
|
|
228
|
-
border-top-color: rgba(228, 53, 40, 0.5);
|
|
229
|
-
}
|
|
230
|
-
.cesium-popup-abnormal::before {
|
|
231
|
-
border-top-color: rgba(75, 15, 15, 0.92);
|
|
232
|
-
}
|
package/lib/map/style/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["require"],"sources":["map/style/index.js"],"sourcesContent":["import './index.less';\
|
|
1
|
+
{"version":3,"file":"index.js","names":["require"],"sources":["map/style/index.js"],"sourcesContent":["import '../../popup/style/index.less';\nimport './index.less';\n"],"mappings":";;AAAAA,OAAA;AACAA,OAAA","ignoreList":[]}
|
package/lib/map/style/index.less
CHANGED
|
@@ -1,248 +1,156 @@
|
|
|
1
|
-
.cs-map-container {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
position: relative;
|
|
5
|
-
|
|
6
|
-
.cs-map {
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: 100%;
|
|
9
|
-
position: relative;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
|
|
12
|
-
.cesium-viewer-bottom {
|
|
13
|
-
display: none;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.cesium-performanceDisplay-defaultContainer {
|
|
17
|
-
top: 100px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.map-dark {
|
|
21
|
-
filter: sepia(100%) hue-rotate(-25deg) invert(100%);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.map-dark-label {
|
|
25
|
-
filter: sepia(10%) hue-rotate(-10deg) invert(80%);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.custom-tip {
|
|
29
|
-
position: absolute;
|
|
30
|
-
z-index: 2;
|
|
31
|
-
padding: 2px 6px;
|
|
32
|
-
background: rgba(0, 0, 0, 0.5);
|
|
33
|
-
color: #ffffff;
|
|
34
|
-
font-size: 14px;
|
|
35
|
-
border-radius: 4px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.point_animation {
|
|
39
|
-
height: 65px;
|
|
40
|
-
width: 65px;
|
|
41
|
-
margin-bottom: 4px;
|
|
42
|
-
border-radius: 40px;
|
|
43
|
-
background: rgb(0, 128, 255, 0.8);
|
|
44
|
-
transform: scale(0);
|
|
45
|
-
animation: point 2s;
|
|
46
|
-
animation-iteration-count: infinite;
|
|
47
|
-
animation-timing-function: linear;
|
|
48
|
-
pointer-events: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@keyframes point {
|
|
52
|
-
to {
|
|
53
|
-
transform: scale(0.8, 0.3);
|
|
54
|
-
background: rgba(0, 0, 0, 0);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
.ant-table {
|
|
159
|
-
background-color: transparent;
|
|
160
|
-
color: #fff;
|
|
161
|
-
|
|
162
|
-
.ant-table-cell-scrollbar {
|
|
163
|
-
box-shadow: none;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.ant-table-thead {
|
|
167
|
-
> tr > th {
|
|
168
|
-
background-color: rgba(14, 156, 255, 0.2);
|
|
169
|
-
color: #fff;
|
|
170
|
-
border-bottom: none;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
th.ant-table-column-has-sorters:hover {
|
|
174
|
-
background-color: rgba(106, 228, 255, 0.1) !important;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.ant-table-body {
|
|
179
|
-
&::-webkit-scrollbar {
|
|
180
|
-
width: 4px;
|
|
181
|
-
background-color: hsla(0, 0%, 80%, 0.08);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
&::-webkit-scrollbar-thumb {
|
|
185
|
-
background-color: #012f54;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
&::-webkit-scrollbar-corner {
|
|
189
|
-
background-color: #012f54;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.ant-table-tbody {
|
|
193
|
-
> tr.ant-table-placeholder:hover > td {
|
|
194
|
-
background: transparent;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
> tr {
|
|
198
|
-
td {
|
|
199
|
-
border-bottom: none;
|
|
200
|
-
}
|
|
201
|
-
&:nth-child(odd) {
|
|
202
|
-
background-color: rgba(14, 156, 255, 0.15);
|
|
203
|
-
}
|
|
204
|
-
&:nth-child(even) {
|
|
205
|
-
background-color: rgba(14, 156, 255, 0.05);
|
|
206
|
-
}
|
|
207
|
-
.ant-table-column-sort {
|
|
208
|
-
background-color: transparent;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
> tr.ant-table-row:hover > td, > tr > td.ant-table-cell-row-hover {
|
|
213
|
-
background: rgba(106, 228, 255, 0.1);
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
&::-webkit-scrollbar {
|
|
217
|
-
background-color: hsla(0, 0%, 80%, 0.08);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
&::-webkit-scrollbar-thumb {
|
|
221
|
-
-webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3);
|
|
222
|
-
background-color: #012f54;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
&::-webkit-scrollbar-corner {
|
|
226
|
-
-webkit-box-shadow: inset 0 0 0.025rem #012f54;
|
|
227
|
-
background-color: #012f54;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.cesium-popup-abnormal {
|
|
236
|
-
background: rgba(75, 15, 15, 0.9);
|
|
237
|
-
box-shadow: 0 0 3rem rgba(228, 53, 40, 0.75) inset;
|
|
238
|
-
.title {
|
|
239
|
-
background: rgba(255, 193, 191, 0.2);
|
|
240
|
-
}
|
|
241
|
-
&::after {
|
|
242
|
-
border-top-color: rgba(228, 53, 40, 0.5);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
&::before {
|
|
246
|
-
border-top-color: rgba(75, 15, 15, 0.92);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
1
|
+
.cs-map-container {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
position: relative;
|
|
5
|
+
|
|
6
|
+
.cs-map {
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
position: relative;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
|
|
12
|
+
.cesium-viewer-bottom {
|
|
13
|
+
display: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.cesium-performanceDisplay-defaultContainer {
|
|
17
|
+
top: 100px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.map-dark {
|
|
21
|
+
filter: sepia(100%) hue-rotate(-25deg) invert(100%);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.map-dark-label {
|
|
25
|
+
filter: sepia(10%) hue-rotate(-10deg) invert(80%);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.custom-tip {
|
|
29
|
+
position: absolute;
|
|
30
|
+
z-index: 2;
|
|
31
|
+
padding: 2px 6px;
|
|
32
|
+
background: rgba(0, 0, 0, 0.5);
|
|
33
|
+
color: #ffffff;
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
border-radius: 4px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.point_animation {
|
|
39
|
+
height: 65px;
|
|
40
|
+
width: 65px;
|
|
41
|
+
margin-bottom: 4px;
|
|
42
|
+
border-radius: 40px;
|
|
43
|
+
background: rgb(0, 128, 255, 0.8);
|
|
44
|
+
transform: scale(0);
|
|
45
|
+
animation: point 2s;
|
|
46
|
+
animation-iteration-count: infinite;
|
|
47
|
+
animation-timing-function: linear;
|
|
48
|
+
pointer-events: none;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@keyframes point {
|
|
52
|
+
to {
|
|
53
|
+
transform: scale(0.8, 0.3);
|
|
54
|
+
background: rgba(0, 0, 0, 0);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.cs-map-popup-cluster-title {
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
|
|
63
|
+
.cs-map-popup-cluster-title-img {
|
|
64
|
+
max-height: 26px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.cs-map-popup-cluster-title-text {
|
|
68
|
+
margin-left: 4px;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.cs-map-popup-cluster {
|
|
73
|
+
.cs-map-popup-cluster-header {
|
|
74
|
+
padding: 4px 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ant-empty-description {
|
|
78
|
+
color: #c4d4e5;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.ant-table {
|
|
82
|
+
background-color: transparent;
|
|
83
|
+
color: #fff;
|
|
84
|
+
|
|
85
|
+
.ant-table-cell-scrollbar {
|
|
86
|
+
box-shadow: none;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.ant-table-thead {
|
|
90
|
+
> tr > th {
|
|
91
|
+
background-color: rgba(14, 156, 255, 0.2);
|
|
92
|
+
color: #fff;
|
|
93
|
+
border-bottom: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
th.ant-table-column-has-sorters:hover {
|
|
97
|
+
background-color: rgba(106, 228, 255, 0.1) !important;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.ant-table-body {
|
|
102
|
+
&::-webkit-scrollbar {
|
|
103
|
+
width: 4px;
|
|
104
|
+
background-color: hsla(0, 0%, 80%, 0.08);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&::-webkit-scrollbar-thumb {
|
|
108
|
+
background-color: #012f54;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&::-webkit-scrollbar-corner {
|
|
112
|
+
background-color: #012f54;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.ant-table-tbody {
|
|
116
|
+
> tr.ant-table-placeholder:hover > td {
|
|
117
|
+
background: transparent;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
> tr {
|
|
121
|
+
td {
|
|
122
|
+
border-bottom: none;
|
|
123
|
+
}
|
|
124
|
+
&:nth-child(odd) {
|
|
125
|
+
background-color: rgba(14, 156, 255, 0.15);
|
|
126
|
+
}
|
|
127
|
+
&:nth-child(even) {
|
|
128
|
+
background-color: rgba(14, 156, 255, 0.05);
|
|
129
|
+
}
|
|
130
|
+
.ant-table-column-sort {
|
|
131
|
+
background-color: transparent;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
> tr.ant-table-row:hover > td, > tr > td.ant-table-cell-row-hover {
|
|
136
|
+
background: rgba(106, 228, 255, 0.1);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&::-webkit-scrollbar {
|
|
140
|
+
background-color: hsla(0, 0%, 80%, 0.08);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&::-webkit-scrollbar-thumb {
|
|
144
|
+
-webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3);
|
|
145
|
+
background-color: #012f54;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&::-webkit-scrollbar-corner {
|
|
149
|
+
-webkit-box-shadow: inset 0 0 0.025rem #012f54;
|
|
150
|
+
background-color: #012f54;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
package/lib/marker/Marker.js
CHANGED
|
@@ -9,33 +9,31 @@ var _cesium = require("cesium");
|
|
|
9
9
|
var _renderer = require("../renderer");
|
|
10
10
|
var _libgif = _interopRequireDefault(require("libgif"));
|
|
11
11
|
var _excluded = ["geometry", "properties", "style", "label"];
|
|
12
|
-
function _interopRequireDefault(
|
|
13
|
-
function _toConsumableArray(
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
14
14
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
15
|
-
function _unsupportedIterableToArray(
|
|
16
|
-
function _iterableToArray(
|
|
17
|
-
function _arrayWithoutHoles(
|
|
18
|
-
function _arrayLikeToArray(
|
|
15
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
16
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
17
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
18
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
19
19
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
20
20
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
21
|
-
function _defineProperty(
|
|
22
|
-
function _objectWithoutProperties(
|
|
23
|
-
function _objectWithoutPropertiesLoose(
|
|
24
|
-
function _classCallCheck(
|
|
25
|
-
function _defineProperties(
|
|
26
|
-
function _createClass(
|
|
27
|
-
function _toPropertyKey(
|
|
28
|
-
function _toPrimitive(
|
|
29
|
-
function
|
|
30
|
-
function
|
|
31
|
-
function
|
|
32
|
-
function
|
|
33
|
-
function
|
|
34
|
-
function
|
|
35
|
-
function
|
|
21
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
22
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
23
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
24
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
25
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
26
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
27
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
28
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
29
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
30
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
31
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
32
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
33
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
34
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
35
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
36
36
|
var Marker = exports["default"] = /*#__PURE__*/function (_Entity) {
|
|
37
|
-
_inherits(Marker, _Entity);
|
|
38
|
-
var _super = _createSuper(Marker);
|
|
39
37
|
function Marker(options) {
|
|
40
38
|
var _this;
|
|
41
39
|
_classCallCheck(this, Marker);
|
|
@@ -55,7 +53,7 @@ var Marker = exports["default"] = /*#__PURE__*/function (_Entity) {
|
|
|
55
53
|
if (label !== null && label !== void 0 && label.text) {
|
|
56
54
|
props.label = (0, _renderer.Label)(label);
|
|
57
55
|
}
|
|
58
|
-
_this =
|
|
56
|
+
_this = _callSuper(this, Marker, [props]);
|
|
59
57
|
_this.geometry = geometry;
|
|
60
58
|
if (style !== null && style !== void 0 && style.image && style !== null && style !== void 0 && style.imageType) {
|
|
61
59
|
var imageType = style.imageType,
|
|
@@ -69,7 +67,8 @@ var Marker = exports["default"] = /*#__PURE__*/function (_Entity) {
|
|
|
69
67
|
}
|
|
70
68
|
|
|
71
69
|
// 设置 gif 图标
|
|
72
|
-
|
|
70
|
+
_inherits(Marker, _Entity);
|
|
71
|
+
return _createClass(Marker, [{
|
|
73
72
|
key: "setGifImage",
|
|
74
73
|
value: function setGifImage(image, imageKey) {
|
|
75
74
|
var _this2 = this;
|
|
@@ -119,6 +118,5 @@ var Marker = exports["default"] = /*#__PURE__*/function (_Entity) {
|
|
|
119
118
|
(0, _renderer.setEntityStyle)(this.billboard, (0, _renderer.Marker)(_objectSpread({}, style)));
|
|
120
119
|
}
|
|
121
120
|
}]);
|
|
122
|
-
return Marker;
|
|
123
121
|
}(_cesium.Entity);
|
|
124
122
|
//# sourceMappingURL=Marker.js.map
|