@vtx/ol-map 1.0.132 → 1.0.133
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 +217 -0
- package/README.md +205 -205
- package/lib/_util/EventEmitter.js +13 -11
- package/lib/_util/EventEmitter.js.map +1 -1
- package/lib/_util/StyleCache.js +10 -8
- package/lib/_util/StyleCache.js.map +1 -1
- package/lib/_util/encryptParams.js +22 -17
- 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/getComponentProps.js +1 -1
- package/lib/_util/getComponentProps.js.map +1 -1
- package/lib/_util/getCookie.js +6 -5
- package/lib/_util/getCookie.js.map +1 -1
- package/lib/_util/getDefaultMapInfo.js +8 -7
- package/lib/_util/getDefaultMapInfo.js.map +1 -1
- package/lib/_util/getSystemInfo.js +8 -7
- package/lib/_util/getSystemInfo.js.map +1 -1
- package/lib/_util/getToken.js +4 -2
- package/lib/_util/getToken.js.map +1 -1
- package/lib/_util/getUrlParam.js +3 -2
- package/lib/_util/getUrlParam.js.map +1 -1
- package/lib/_util/http.js +32 -30
- 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 +37 -33
- package/lib/_util/layer.js.map +1 -1
- package/lib/_util/mapTool.js +37 -36
- package/lib/_util/mapTool.js.map +1 -1
- package/lib/_util/projzh/datum/bd-09.js +3 -2
- package/lib/_util/projzh/datum/bd-09.js.map +1 -1
- package/lib/_util/projzh/datum/gcj-02.js +2 -1
- package/lib/_util/projzh/datum/gcj-02.js.map +1 -1
- package/lib/_util/projzh/datum/index.js +3 -2
- package/lib/_util/projzh/datum/index.js.map +1 -1
- package/lib/_util/projzh/index.js +3 -2
- package/lib/_util/projzh/index.js.map +1 -1
- package/lib/_util/projzh/projection/baidu-mercator.js +2 -1
- package/lib/_util/projzh/projection/baidu-mercator.js.map +1 -1
- package/lib/_util/projzh/projection/index.js +3 -2
- package/lib/_util/projzh/projection/index.js.map +1 -1
- package/lib/_util/projzh/projection/spherical-mercator.js +2 -1
- package/lib/_util/projzh/projection/spherical-mercator.js.map +1 -1
- package/lib/_util/projzh/util.js +2 -1
- package/lib/_util/projzh/util.js.map +1 -1
- package/lib/_util/search.js +16 -13
- package/lib/_util/search.js.map +1 -1
- package/lib/_util/setCookie.js +6 -5
- package/lib/_util/setCookie.js.map +1 -1
- package/lib/_util/stringToFun.js +5 -5
- package/lib/_util/stringToFun.js.map +1 -1
- package/lib/_util/transform.js +10 -9
- package/lib/_util/transform.js.map +1 -1
- package/lib/_util/useColSize.js +3 -2
- package/lib/_util/useColSize.js.map +1 -1
- package/lib/_util/useInterval.js.map +1 -1
- package/lib/_util/useSet.js +13 -12
- package/lib/_util/useSet.js.map +1 -1
- package/lib/analysis-layer/index.js +50 -44
- package/lib/analysis-layer/index.js.map +1 -1
- package/lib/analysis-layer/style/css.js.map +1 -1
- package/lib/analysis-layer/style/index.js.map +1 -1
- package/lib/buffer-draw/BufferDraw.js +13 -11
- package/lib/buffer-draw/BufferDraw.js.map +1 -1
- package/lib/buffer-draw/index.js +10 -10
- package/lib/buffer-draw/index.js.map +1 -1
- package/lib/buffer-draw/style/css.js.map +1 -1
- package/lib/buffer-draw/style/index.js.map +1 -1
- package/lib/circle/Circle.js +24 -22
- package/lib/circle/Circle.js.map +1 -1
- package/lib/circle/index.js +4 -4
- 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/config.js +2 -1
- package/lib/config.js.map +1 -1
- package/lib/convertCamelToCSS.js +2 -1
- package/lib/convertCamelToCSS.js.map +1 -1
- package/lib/dom/Dom.js +21 -19
- package/lib/dom/Dom.js.map +1 -1
- package/lib/dom/index.js +11 -11
- 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 +6 -4
- package/lib/events/index.js.map +1 -1
- package/lib/feature-draw/FeatureDraw.js +46 -40
- package/lib/feature-draw/FeatureDraw.js.map +1 -1
- package/lib/feature-draw/index.js +11 -11
- package/lib/feature-draw/index.js.map +1 -1
- package/lib/feature-draw/style/css.js.map +1 -1
- package/lib/feature-draw/style/index.js.map +1 -1
- package/lib/feature-layer/FeatureLayer.js +86 -54
- package/lib/feature-layer/FeatureLayer.js.map +1 -1
- package/lib/feature-layer/MyCluster.js +31 -28
- package/lib/feature-layer/MyCluster.js.map +1 -1
- package/lib/feature-layer/createFeatureCollection.js +35 -27
- package/lib/feature-layer/createFeatureCollection.js.map +1 -1
- package/lib/feature-layer/index.js +16 -16
- 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/flow-line-layer/FlowLineLayer.js +25 -22
- package/lib/flow-line-layer/FlowLineLayer.js.map +1 -1
- package/lib/flow-line-layer/index.js +16 -16
- package/lib/flow-line-layer/index.js.map +1 -1
- package/lib/flow-line-layer/style/css.js.map +1 -1
- package/lib/flow-line-layer/style/index.js.map +1 -1
- package/lib/fly-line-layer/FlyLineLayer.js +14 -12
- package/lib/fly-line-layer/FlyLineLayer.js.map +1 -1
- package/lib/fly-line-layer/index.js +9 -9
- 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/group-layer/GroupLayer.js +12 -10
- package/lib/group-layer/GroupLayer.js.map +1 -1
- package/lib/group-layer/index.js +9 -9
- 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/HeatmapLayer.js +30 -29
- package/lib/heatmap-layer/HeatmapLayer.js.map +1 -1
- package/lib/heatmap-layer/index.js +9 -9
- 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/high-layer/HighLayer.js +15 -13
- package/lib/high-layer/HighLayer.js.map +1 -1
- package/lib/high-layer/index.js +13 -12
- package/lib/high-layer/index.js.map +1 -1
- package/lib/high-layer/style/css.js.map +1 -1
- package/lib/high-layer/style/index.js.map +1 -1
- package/lib/image-layer/ImageLayer.js +33 -31
- package/lib/image-layer/ImageLayer.js.map +1 -1
- package/lib/image-layer/ImageTileLayer.js +33 -31
- package/lib/image-layer/ImageTileLayer.js.map +1 -1
- package/lib/image-layer/index.js +11 -11
- 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/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/legend/index.js +23 -21
- 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 +73 -73
- package/lib/map/Analysis.js +27 -24
- package/lib/map/Analysis.js.map +1 -1
- package/lib/map/Layers.js +28 -24
- package/lib/map/Layers.js.map +1 -1
- package/lib/map/Popup.js +24 -23
- package/lib/map/Popup.js.map +1 -1
- package/lib/map/getBaseLayers/imagery/amap/AmapImageryProvider.js +2 -1
- package/lib/map/getBaseLayers/imagery/amap/AmapImageryProvider.js.map +1 -1
- package/lib/map/getBaseLayers/imagery/baidu/BaiduImageryProvider.js +3 -2
- package/lib/map/getBaseLayers/imagery/baidu/BaiduImageryProvider.js.map +1 -1
- package/lib/map/getBaseLayers/imagery/geoq/GeoQImageryProvider.js +10 -8
- package/lib/map/getBaseLayers/imagery/geoq/GeoQImageryProvider.js.map +1 -1
- package/lib/map/getBaseLayers/imagery/tdt/TdtImageryProvider.js +9 -7
- package/lib/map/getBaseLayers/imagery/tdt/TdtImageryProvider.js.map +1 -1
- package/lib/map/getBaseLayers/index.js +11 -9
- package/lib/map/getBaseLayers/index.js.map +1 -1
- package/lib/map/index.js +39 -38
- package/lib/map/index.js.map +1 -1
- package/lib/map/style/css.js.map +1 -1
- package/lib/map/style/index.js.map +1 -1
- package/lib/map/style/index.less +152 -152
- package/lib/map-icon/svg/index.js +3 -2
- package/lib/map-icon/svg/index.js.map +1 -1
- package/lib/map-icon/svg/tuceng.svg.js.map +1 -1
- package/lib/marker/Marker.js +33 -26
- package/lib/marker/Marker.js.map +1 -1
- package/lib/marker/index.js +4 -4
- 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/path-line-layer/PathLineLayer.js +23 -21
- package/lib/path-line-layer/PathLineLayer.js.map +1 -1
- package/lib/path-line-layer/getPathLineStyles.js +9 -8
- package/lib/path-line-layer/getPathLineStyles.js.map +1 -1
- package/lib/path-line-layer/index.js +16 -16
- package/lib/path-line-layer/index.js.map +1 -1
- package/lib/path-line-layer/style/css.js.map +1 -1
- package/lib/path-line-layer/style/index.js.map +1 -1
- package/lib/path-play-back/PathPlayBack.js +21 -19
- package/lib/path-play-back/PathPlayBack.js.map +1 -1
- package/lib/path-play-back/index.js +9 -8
- package/lib/path-play-back/index.js.map +1 -1
- package/lib/path-play-back/style/css.js.map +1 -1
- package/lib/path-play-back/style/index.js.map +1 -1
- package/lib/poi-search/Location.js +8 -8
- package/lib/poi-search/Location.js.map +1 -1
- package/lib/poi-search/PoiList.js +10 -10
- package/lib/poi-search/PoiList.js.map +1 -1
- package/lib/poi-search/Search.js +21 -21
- package/lib/poi-search/Search.js.map +1 -1
- package/lib/poi-search/index.js +11 -10
- package/lib/poi-search/index.js.map +1 -1
- package/lib/poi-search/style/css.js.map +1 -1
- package/lib/poi-search/style/index.js.map +1 -1
- package/lib/poi-search/style/index.less +97 -97
- package/lib/point/Point.js +24 -22
- package/lib/point/Point.js.map +1 -1
- package/lib/point/index.js +4 -4
- 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 +24 -22
- package/lib/polygon/Polygon.js.map +1 -1
- package/lib/polygon/index.js +4 -4
- 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 +24 -22
- package/lib/polyline/Polyline.js.map +1 -1
- package/lib/polyline/index.js +4 -4
- 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 +16 -15
- package/lib/popup/index.js.map +1 -1
- package/lib/popup/style/css.js.map +1 -1
- package/lib/popup/style/index.js.map +1 -1
- package/lib/popup/style/index.less +129 -129
- package/lib/provider/index.js +5 -3
- package/lib/provider/index.js.map +1 -1
- package/lib/provider/style/css.js.map +1 -1
- package/lib/provider/style/index.js.map +1 -1
- package/lib/renderer/Fill.js +19 -17
- package/lib/renderer/Fill.js.map +1 -1
- package/lib/renderer/Stroke.js +19 -17
- package/lib/renderer/Stroke.js.map +1 -1
- package/lib/renderer/index.js +15 -13
- 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/renderer/transformRgb.js +2 -1
- package/lib/renderer/transformRgb.js.map +1 -1
- package/lib/search-map/VtxModal.js +25 -22
- package/lib/search-map/VtxModal.js.map +1 -1
- package/lib/search-map/index.js +11 -10
- package/lib/search-map/index.js.map +1 -1
- package/lib/search-map/style/css.js.map +1 -1
- package/lib/search-map/style/index.js.map +1 -1
- package/lib/search-map/style/index.less +82 -82
- package/lib/search-map/style/modal.less +58 -58
- 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/tile-layer/TileLayer.js +22 -20
- package/lib/tile-layer/TileLayer.js.map +1 -1
- package/lib/tile-layer/index.js +4 -4
- package/lib/tile-layer/index.js.map +1 -1
- package/lib/tile-layer/style/css.js.map +1 -1
- package/lib/tile-layer/style/index.js.map +1 -1
- package/lib/tools/Layer/LayerService.js +9 -8
- package/lib/tools/Layer/LayerService.js.map +1 -1
- package/lib/tools/Layer/LayersCheckService.js +39 -32
- package/lib/tools/Layer/LayersCheckService.js.map +1 -1
- package/lib/tools/Layer/index.js +15 -15
- package/lib/tools/Layer/index.js.map +1 -1
- package/lib/tools/Layer/index.less +43 -43
- package/lib/tools/Search/index.js +21 -19
- package/lib/tools/Search/index.js.map +1 -1
- package/lib/tools/Toolbox/BoxSelect/index.js +6 -5
- package/lib/tools/Toolbox/BoxSelect/index.js.map +1 -1
- package/lib/tools/Toolbox/CircleSelect/index.js +6 -5
- package/lib/tools/Toolbox/CircleSelect/index.js.map +1 -1
- package/lib/tools/Toolbox/EagleEye/index.js +11 -10
- package/lib/tools/Toolbox/EagleEye/index.js.map +1 -1
- package/lib/tools/Toolbox/MapBookmark/Bookmark.js +36 -33
- package/lib/tools/Toolbox/MapBookmark/Bookmark.js.map +1 -1
- package/lib/tools/Toolbox/MapBookmark/index.js +24 -23
- package/lib/tools/Toolbox/MapBookmark/index.js.map +1 -1
- package/lib/tools/Toolbox/MapBookmark/index.less +20 -20
- package/lib/tools/Toolbox/MapDownload/index.js +2 -2
- package/lib/tools/Toolbox/MapDownload/index.js.map +1 -1
- package/lib/tools/Toolbox/MapPrint/index.js +20 -19
- package/lib/tools/Toolbox/MapPrint/index.js.map +1 -1
- package/lib/tools/Toolbox/MapPrint/index.less +4 -4
- package/lib/tools/Toolbox/Measure/Area/index.js +4 -3
- package/lib/tools/Toolbox/Measure/Area/index.js.map +1 -1
- package/lib/tools/Toolbox/Measure/Distance/index.js +4 -3
- package/lib/tools/Toolbox/Measure/Distance/index.js.map +1 -1
- package/lib/tools/Toolbox/Measure/Measure.js +10 -8
- package/lib/tools/Toolbox/Measure/Measure.js.map +1 -1
- package/lib/tools/Toolbox/Measure/index.js +14 -13
- package/lib/tools/Toolbox/Measure/index.js.map +1 -1
- package/lib/tools/Toolbox/PolygonSelect/index.js +6 -5
- package/lib/tools/Toolbox/PolygonSelect/index.js.map +1 -1
- package/lib/tools/Toolbox/ScaleLine/index.js +11 -10
- package/lib/tools/Toolbox/ScaleLine/index.js.map +1 -1
- package/lib/tools/Toolbox/SelectTools/index.js +43 -41
- package/lib/tools/Toolbox/SelectTools/index.js.map +1 -1
- package/lib/tools/Toolbox/SelectTools/index.less +87 -87
- package/lib/tools/Toolbox/SpaceQuery/index.js +13 -13
- package/lib/tools/Toolbox/SpaceQuery/index.js.map +1 -1
- package/lib/tools/Toolbox/SpaceQuery/index.less +16 -16
- package/lib/tools/Toolbox/ZoomInput/index.js +11 -10
- package/lib/tools/Toolbox/ZoomInput/index.js.map +1 -1
- package/lib/tools/Toolbox/ZoomInput/index.less +5 -5
- package/lib/tools/Toolbox/index.js +10 -8
- package/lib/tools/Toolbox/index.js.map +1 -1
- package/lib/tools/Toolbox/index.less +2 -2
- package/lib/tools/Utils/CreateOverlay.js +11 -10
- package/lib/tools/Utils/CreateOverlay.js.map +1 -1
- package/lib/tools/Utils/Draw.js +19 -16
- package/lib/tools/Utils/Draw.js.map +1 -1
- package/lib/tools/Utils/HighLayer.js +16 -14
- package/lib/tools/Utils/HighLayer.js.map +1 -1
- package/lib/tools/Utils/measure.js +7 -6
- package/lib/tools/Utils/measure.js.map +1 -1
- package/lib/tools/Utils/utils.js +45 -36
- package/lib/tools/Utils/utils.js.map +1 -1
- package/lib/tools/View/index.js +16 -15
- package/lib/tools/View/index.js.map +1 -1
- package/lib/tools/View/index.less +28 -28
- package/lib/tools/analysis-tool/index.js +20 -19
- package/lib/tools/analysis-tool/index.js.map +1 -1
- package/lib/tools/base-map-switch/index.js +16 -15
- package/lib/tools/base-map-switch/index.js.map +1 -1
- package/lib/tools/components/Chart/index.js +130 -120
- package/lib/tools/components/Chart/index.js.map +1 -1
- package/lib/tools/components/Icon/index.js +3 -2
- package/lib/tools/components/Icon/index.js.map +1 -1
- package/lib/tools/components/Info/index.js +3 -2
- package/lib/tools/components/Info/index.js.map +1 -1
- package/lib/tools/components/Info/index.less +26 -26
- package/lib/tools/components/ItemWrap/index.js +11 -10
- package/lib/tools/components/ItemWrap/index.js.map +1 -1
- package/lib/tools/components/ItemWrap/index.less +41 -41
- package/lib/tools/components/Modal/index.js +11 -10
- package/lib/tools/components/Modal/index.js.map +1 -1
- package/lib/tools/components/Modal/index.less +33 -33
- package/lib/tools/components/MyTabs/index.js +1 -1
- package/lib/tools/components/MyTabs/index.js.map +1 -1
- package/lib/tools/components/RequiredLabel/index.js +7 -7
- package/lib/tools/components/RequiredLabel/index.js.map +1 -1
- package/lib/tools/components/RequiredLabel/index.less +5 -5
- package/lib/tools/components/Select/index.js +3 -2
- package/lib/tools/components/Select/index.js.map +1 -1
- package/lib/tools/components/Table/index.js +17 -16
- package/lib/tools/components/Table/index.js.map +1 -1
- package/lib/tools/components/Table/index.less +13 -13
- package/lib/tools/components/ToolItem/index.js +3 -2
- package/lib/tools/components/ToolItem/index.js.map +1 -1
- package/lib/tools/components/ToolItem/index.less +27 -27
- package/lib/tools/components/ToolsSelect/index.js +3 -2
- package/lib/tools/components/ToolsSelect/index.js.map +1 -1
- package/lib/tools/components/ToolsSelect/index.less +10 -10
- package/lib/tools/full-screen/index.js +12 -11
- package/lib/tools/full-screen/index.js.map +1 -1
- package/lib/tools/index.js +14 -13
- package/lib/tools/index.js.map +1 -1
- package/lib/tools/layer-control/index.js +26 -23
- package/lib/tools/layer-control/index.js.map +1 -1
- package/lib/tools/refresh/index.js +12 -11
- package/lib/tools/refresh/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 +154 -154
- package/lib/tools-item/index.js +11 -10
- package/lib/tools-item/index.js.map +1 -1
- package/lib/use-props/index.js +2 -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/wms-layer/WmsLayer.js +33 -31
- package/lib/wms-layer/WmsLayer.js.map +1 -1
- package/lib/wms-layer/index.js +11 -11
- package/lib/wms-layer/index.js.map +1 -1
- package/lib/wms-layer/style/css.js.map +1 -1
- package/lib/wms-layer/style/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
@import (reference) '~antd/lib/style/themes/index.less';
|
|
2
|
-
|
|
3
|
-
.ol-searchmap-searchmodal {
|
|
4
|
-
z-index: 1001;
|
|
5
|
-
|
|
6
|
-
.ant-modal {
|
|
7
|
-
width: e('calc(100% - 200px)') !important;
|
|
8
|
-
min-width: 800px;
|
|
9
|
-
height: 70vh;
|
|
10
|
-
|
|
11
|
-
.ant-modal-title {
|
|
12
|
-
color: @primary-color;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ant-modal-content {
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 100%;
|
|
18
|
-
|
|
19
|
-
.ant-modal-body {
|
|
20
|
-
width: 100%;
|
|
21
|
-
height: e('calc(100% - 108px)') !important;
|
|
22
|
-
padding: 0px;
|
|
23
|
-
background-color: @body-background;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.ol-searchmap-searchmap {
|
|
29
|
-
width: 100%;
|
|
30
|
-
height: 100%;
|
|
31
|
-
padding-top: 48px;
|
|
32
|
-
box-sizing: border-box;
|
|
33
|
-
position: relative;
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
|
|
36
|
-
.ol-searchmap-top,
|
|
37
|
-
.ol-searchmap-bottom {
|
|
38
|
-
width: 100%;
|
|
39
|
-
height: 48px;
|
|
40
|
-
position: absolute;
|
|
41
|
-
left: 0px;
|
|
42
|
-
padding: 10px 15px;
|
|
43
|
-
|
|
44
|
-
button {
|
|
45
|
-
margin-left: 10px;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.ol-searchmap-top {
|
|
50
|
-
top: 0px;
|
|
51
|
-
border-bottom: 1px solid @border-color-base;
|
|
52
|
-
display: flex;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.ol-searchmap-bottom {
|
|
56
|
-
bottom: 0px;
|
|
57
|
-
border-top: 1px solid @border-color-base;
|
|
58
|
-
text-align: right;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.ol-searchmap-content {
|
|
62
|
-
width: 100%;
|
|
63
|
-
height: 100%;
|
|
64
|
-
position: relative;
|
|
65
|
-
|
|
66
|
-
.ol-searchmap-content_right {
|
|
67
|
-
width: 100%;
|
|
68
|
-
height: 100%;
|
|
69
|
-
display: inline-block;
|
|
70
|
-
-webkit-transition-duration: 0.3s;
|
|
71
|
-
-o-transition-duration: 0.3s;
|
|
72
|
-
transition-duration: 0.3s;
|
|
73
|
-
transition-property: width;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.poi-search-list {
|
|
80
|
-
top: 0;
|
|
81
|
-
left: 0;
|
|
82
|
-
height: 100%;
|
|
1
|
+
@import (reference) '~antd/lib/style/themes/index.less';
|
|
2
|
+
|
|
3
|
+
.ol-searchmap-searchmodal {
|
|
4
|
+
z-index: 1001;
|
|
5
|
+
|
|
6
|
+
.ant-modal {
|
|
7
|
+
width: e('calc(100% - 200px)') !important;
|
|
8
|
+
min-width: 800px;
|
|
9
|
+
height: 70vh;
|
|
10
|
+
|
|
11
|
+
.ant-modal-title {
|
|
12
|
+
color: @primary-color;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ant-modal-content {
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
|
|
19
|
+
.ant-modal-body {
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: e('calc(100% - 108px)') !important;
|
|
22
|
+
padding: 0px;
|
|
23
|
+
background-color: @body-background;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ol-searchmap-searchmap {
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
padding-top: 48px;
|
|
32
|
+
box-sizing: border-box;
|
|
33
|
+
position: relative;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
|
|
36
|
+
.ol-searchmap-top,
|
|
37
|
+
.ol-searchmap-bottom {
|
|
38
|
+
width: 100%;
|
|
39
|
+
height: 48px;
|
|
40
|
+
position: absolute;
|
|
41
|
+
left: 0px;
|
|
42
|
+
padding: 10px 15px;
|
|
43
|
+
|
|
44
|
+
button {
|
|
45
|
+
margin-left: 10px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.ol-searchmap-top {
|
|
50
|
+
top: 0px;
|
|
51
|
+
border-bottom: 1px solid @border-color-base;
|
|
52
|
+
display: flex;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ol-searchmap-bottom {
|
|
56
|
+
bottom: 0px;
|
|
57
|
+
border-top: 1px solid @border-color-base;
|
|
58
|
+
text-align: right;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ol-searchmap-content {
|
|
62
|
+
width: 100%;
|
|
63
|
+
height: 100%;
|
|
64
|
+
position: relative;
|
|
65
|
+
|
|
66
|
+
.ol-searchmap-content_right {
|
|
67
|
+
width: 100%;
|
|
68
|
+
height: 100%;
|
|
69
|
+
display: inline-block;
|
|
70
|
+
-webkit-transition-duration: 0.3s;
|
|
71
|
+
-o-transition-duration: 0.3s;
|
|
72
|
+
transition-duration: 0.3s;
|
|
73
|
+
transition-property: width;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.poi-search-list {
|
|
80
|
+
top: 0;
|
|
81
|
+
left: 0;
|
|
82
|
+
height: 100%;
|
|
83
83
|
}
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
@import (reference) '~antd/lib/style/themes/index.less';
|
|
2
|
-
|
|
3
|
-
.vtx-ui-modal-normal {
|
|
4
|
-
.vtx-ui-modal-title {
|
|
5
|
-
position: relative;
|
|
6
|
-
width: 100%;
|
|
7
|
-
.vtx-ui-modal-title_name {
|
|
8
|
-
width: 100%;
|
|
9
|
-
color: @primary-color;
|
|
10
|
-
}
|
|
11
|
-
.vtx-ui-modal-close,
|
|
12
|
-
.vtx-ui-modal-maximizeIcon {
|
|
13
|
-
position: absolute;
|
|
14
|
-
top: -13px;
|
|
15
|
-
right: -16px;
|
|
16
|
-
p {
|
|
17
|
-
width: 36px;
|
|
18
|
-
height: 48px;
|
|
19
|
-
text-align: center;
|
|
20
|
-
line-height: 48px;
|
|
21
|
-
cursor: pointer;
|
|
22
|
-
border: 0;
|
|
23
|
-
background: transparent;
|
|
24
|
-
position: absolute;
|
|
25
|
-
right: 0;
|
|
26
|
-
top: 0;
|
|
27
|
-
z-index: 10;
|
|
28
|
-
font-weight: 700;
|
|
29
|
-
text-decoration: none;
|
|
30
|
-
-webkit-transition: color 0.3s ease;
|
|
31
|
-
transition: color 0.3s ease;
|
|
32
|
-
color: @text-color;
|
|
33
|
-
outline: 0;
|
|
34
|
-
display: inline-block;
|
|
35
|
-
&:hover {
|
|
36
|
-
color: @text-color-secondary;
|
|
37
|
-
text-decoration: none;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.vtx-ui-modal-maximizeIcon {
|
|
42
|
-
right: 20px;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
.vtx-ui-modal-maxClass {
|
|
47
|
-
.ant-modal {
|
|
48
|
-
top: 0 !important;
|
|
49
|
-
left: 0 !important;
|
|
50
|
-
width: 100% !important;
|
|
51
|
-
height: 100% !important;
|
|
52
|
-
padding-bottom: 0 !important;
|
|
53
|
-
overflow: hidden;
|
|
54
|
-
}
|
|
55
|
-
.ant-modal-body {
|
|
56
|
-
height: e('calc(100% - 108px)') !important;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
1
|
+
@import (reference) '~antd/lib/style/themes/index.less';
|
|
2
|
+
|
|
3
|
+
.vtx-ui-modal-normal {
|
|
4
|
+
.vtx-ui-modal-title {
|
|
5
|
+
position: relative;
|
|
6
|
+
width: 100%;
|
|
7
|
+
.vtx-ui-modal-title_name {
|
|
8
|
+
width: 100%;
|
|
9
|
+
color: @primary-color;
|
|
10
|
+
}
|
|
11
|
+
.vtx-ui-modal-close,
|
|
12
|
+
.vtx-ui-modal-maximizeIcon {
|
|
13
|
+
position: absolute;
|
|
14
|
+
top: -13px;
|
|
15
|
+
right: -16px;
|
|
16
|
+
p {
|
|
17
|
+
width: 36px;
|
|
18
|
+
height: 48px;
|
|
19
|
+
text-align: center;
|
|
20
|
+
line-height: 48px;
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
border: 0;
|
|
23
|
+
background: transparent;
|
|
24
|
+
position: absolute;
|
|
25
|
+
right: 0;
|
|
26
|
+
top: 0;
|
|
27
|
+
z-index: 10;
|
|
28
|
+
font-weight: 700;
|
|
29
|
+
text-decoration: none;
|
|
30
|
+
-webkit-transition: color 0.3s ease;
|
|
31
|
+
transition: color 0.3s ease;
|
|
32
|
+
color: @text-color;
|
|
33
|
+
outline: 0;
|
|
34
|
+
display: inline-block;
|
|
35
|
+
&:hover {
|
|
36
|
+
color: @text-color-secondary;
|
|
37
|
+
text-decoration: none;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.vtx-ui-modal-maximizeIcon {
|
|
42
|
+
right: 20px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
.vtx-ui-modal-maxClass {
|
|
47
|
+
.ant-modal {
|
|
48
|
+
top: 0 !important;
|
|
49
|
+
left: 0 !important;
|
|
50
|
+
width: 100% !important;
|
|
51
|
+
height: 100% !important;
|
|
52
|
+
padding-bottom: 0 !important;
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
}
|
|
55
|
+
.ant-modal-body {
|
|
56
|
+
height: e('calc(100% - 108px)') !important;
|
|
57
|
+
}
|
|
58
|
+
}
|
package/lib/style/index.less
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import './themes/index';
|
|
2
|
-
// @import './core/index';
|
|
1
|
+
@import './themes/index';
|
|
2
|
+
// @import './core/index';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import './default.less';
|
|
1
|
+
@import './default.less';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@import (reference) '~antd/lib/style/themes/index.less';
|
|
2
|
-
|
|
3
|
-
@import './default.less';
|
|
4
|
-
|
|
5
|
-
// ScrollBar
|
|
6
|
-
@webkit-scrollbar-thumb-color: #434343;
|
|
7
|
-
@webkit-scrollbar-color: @body-background;
|
|
8
|
-
@statistics-text-color: rgba(255, 255, 255, 0.65);
|
|
9
|
-
@table-row-odd: @body-background;
|
|
1
|
+
@import (reference) '~antd/lib/style/themes/index.less';
|
|
2
|
+
|
|
3
|
+
@import './default.less';
|
|
4
|
+
|
|
5
|
+
// ScrollBar
|
|
6
|
+
@webkit-scrollbar-thumb-color: #434343;
|
|
7
|
+
@webkit-scrollbar-color: @body-background;
|
|
8
|
+
@statistics-text-color: rgba(255, 255, 255, 0.65);
|
|
9
|
+
@table-row-odd: @body-background;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@webkit-scrollbar-width: 8px;
|
|
2
|
-
@webkit-scrollbar-height: 8px;
|
|
3
|
-
@webkit-scrollbar-color: hsla(0, 0%, 80%, 0.08);
|
|
4
|
-
@webkit-scrollbar-thumb-color: rgba(0, 0, 0, 0.05);
|
|
5
|
-
@webkit-scrollbar-thumb-radius: 4px;
|
|
6
|
-
@statistics-text-color: rgba(0, 0, 0, 0.65);
|
|
7
|
-
@table-row-odd: #f6f6f6;
|
|
1
|
+
@webkit-scrollbar-width: 8px;
|
|
2
|
+
@webkit-scrollbar-height: 8px;
|
|
3
|
+
@webkit-scrollbar-color: hsla(0, 0%, 80%, 0.08);
|
|
4
|
+
@webkit-scrollbar-thumb-color: rgba(0, 0, 0, 0.05);
|
|
5
|
+
@webkit-scrollbar-thumb-radius: 4px;
|
|
6
|
+
@statistics-text-color: rgba(0, 0, 0, 0.65);
|
|
7
|
+
@table-row-odd: #f6f6f6;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import './@{root-entry-name}.less';
|
|
1
|
+
@import './@{root-entry-name}.less';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@webkit-scrollbar-width: 8px;
|
|
2
|
-
@webkit-scrollbar-height: 8px;
|
|
3
|
-
@webkit-scrollbar-color: hsla(0, 0%, 80%, 0.08);
|
|
4
|
-
@webkit-scrollbar-thumb-color: rgba(0, 0, 0, 0.05);
|
|
5
|
-
@webkit-scrollbar-thumb-radius: 4px;
|
|
1
|
+
@webkit-scrollbar-width: 8px;
|
|
2
|
+
@webkit-scrollbar-height: 8px;
|
|
3
|
+
@webkit-scrollbar-color: hsla(0, 0%, 80%, 0.08);
|
|
4
|
+
@webkit-scrollbar-thumb-color: rgba(0, 0, 0, 0.05);
|
|
5
|
+
@webkit-scrollbar-thumb-radius: 4px;
|
|
@@ -8,23 +8,23 @@ var _layer = require("ol/layer");
|
|
|
8
8
|
var _source = require("ol/source");
|
|
9
9
|
var _WMTS = _interopRequireDefault(require("ol/tilegrid/WMTS"));
|
|
10
10
|
var _proj = require("ol/proj");
|
|
11
|
-
function _interopRequireDefault(
|
|
12
|
-
function _typeof(
|
|
13
|
-
function _defineProperties(
|
|
14
|
-
function _createClass(
|
|
15
|
-
function _classCallCheck(
|
|
16
|
-
function
|
|
17
|
-
function
|
|
18
|
-
function
|
|
19
|
-
function
|
|
20
|
-
function
|
|
21
|
-
function
|
|
22
|
-
function
|
|
23
|
-
function ownKeys(
|
|
24
|
-
function _objectSpread(
|
|
25
|
-
function _defineProperty(
|
|
26
|
-
function _toPropertyKey(
|
|
27
|
-
function _toPrimitive(
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
13
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
14
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
15
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
17
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
18
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
19
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
20
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
21
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
22
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
23
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
24
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
25
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
26
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
27
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
28
28
|
function getWMTS(options) {
|
|
29
29
|
var url = options.url,
|
|
30
30
|
params = options.params,
|
|
@@ -63,7 +63,9 @@ function getWMTS(options) {
|
|
|
63
63
|
tileGrid: tilegrid
|
|
64
64
|
}, sourceOptions));
|
|
65
65
|
}
|
|
66
|
-
var _default =
|
|
66
|
+
var _default = /*#__PURE__*/function (_Tile) {
|
|
67
|
+
_inherits(_default, _Tile);
|
|
68
|
+
var _super = _createSuper(_default);
|
|
67
69
|
function _default(options) {
|
|
68
70
|
_classCallCheck(this, _default);
|
|
69
71
|
var url = options.url,
|
|
@@ -77,9 +79,9 @@ var _default = exports["default"] = /*#__PURE__*/function (_Tile) {
|
|
|
77
79
|
url: url
|
|
78
80
|
}, sourceOptions));
|
|
79
81
|
}
|
|
80
|
-
return
|
|
82
|
+
return _super.call(this, props);
|
|
81
83
|
}
|
|
82
|
-
_inherits(_default, _Tile);
|
|
83
84
|
return _createClass(_default);
|
|
84
85
|
}(_layer.Tile);
|
|
86
|
+
exports["default"] = _default;
|
|
85
87
|
//# sourceMappingURL=TileLayer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TileLayer.js","names":["_layer","require","_source","_WMTS","_interopRequireDefault","_proj","
|
|
1
|
+
{"version":3,"file":"TileLayer.js","names":["_layer","require","_source","_WMTS","_interopRequireDefault","_proj","obj","__esModule","_typeof","Symbol","iterator","constructor","prototype","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","_toPropertyKey","key","_createClass","Constructor","protoProps","staticProps","_classCallCheck","instance","TypeError","_inherits","subClass","superClass","create","value","_setPrototypeOf","o","p","setPrototypeOf","bind","__proto__","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf","result","NewTarget","Reflect","construct","arguments","apply","_possibleConstructorReturn","self","call","_assertThisInitialized","ReferenceError","sham","Proxy","Boolean","valueOf","e","getPrototypeOf","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","push","_objectSpread","source","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","arg","_toPrimitive","String","input","hint","prim","toPrimitive","undefined","res","Number","getWMTS","options","url","params","sourceOptions","matrixIds","resolutions","tilegrid","tileGrid","extent","tileSize","origin","projection","Projection","code","units","axisOrientation","WMTS","layer","format","matrixSet","_default","_Tile","_super","type","XYZ","Tile","exports"],"sources":["tile-layer/TileLayer.js"],"sourcesContent":["import { Tile } from 'ol/layer';\nimport { WMTS, XYZ } from 'ol/source';\nimport tileGrid from 'ol/tilegrid/WMTS';\nimport { Projection } from 'ol/proj';\n\nfunction getWMTS(options) {\n const { url, params, sourceOptions } = options;\n\n //切片名\n let matrixIds = [\n 'EPSG:4326:0',\n 'EPSG:4326:1',\n 'EPSG:4326:2',\n 'EPSG:4326:3',\n 'EPSG:4326:4',\n 'EPSG:4326:5',\n 'EPSG:4326:6',\n 'EPSG:4326:7',\n 'EPSG:4326:8',\n 'EPSG:4326:9',\n 'EPSG:4326:10',\n 'EPSG:4326:11',\n 'EPSG:4326:12',\n 'EPSG:4326:13',\n 'EPSG:4326:14',\n 'EPSG:4326:15',\n 'EPSG:4326:16',\n 'EPSG:4326:17',\n 'EPSG:4326:18',\n ];\n\n //分辨率\n let resolutions = [\n 0.703125,\n 0.3515625,\n 0.17578125,\n 0.087890625,\n 0.0439453125,\n 0.02197265625,\n 0.010986328125,\n 0.0054931640625,\n 0.00274658203125,\n 0.001373291015625,\n 6.866455078125e-4,\n 3.4332275390625e-4,\n 1.71661376953125e-4,\n 8.58306884765625e-5,\n 4.291534423828125e-5,\n 2.1457672119140625e-5,\n 1.0728836059570312e-5,\n 5.364418029785156e-6,\n 2.682209014892578e-6,\n ];\n\n //切片策略\n let tilegrid = new tileGrid({\n extent: [-180.0, -90.0, 180.0, 90.0], //范围\n tileSize: [256, 256],\n origin: [-180.0, 90.0], //切片原点\n resolutions: resolutions, //分辨率\n matrixIds: matrixIds, //层级标识列表,与地图级数保持一致\n });\n\n //设置地图投影\n let projection = new Projection({\n code: 'EPSG:4326',\n units: 'degrees',\n axisOrientation: 'neu',\n });\n\n return new WMTS({\n url: url,\n layer: params?.layer,\n format: 'image/png',\n matrixSet: 'EPSG:4326',\n projection: projection,\n tileGrid: tilegrid,\n ...sourceOptions,\n });\n}\n\nexport default class extends Tile {\n constructor(options) {\n const { url, type, sourceOptions } = options;\n\n const props = {\n ...options,\n };\n\n if (type === 'WMTS') {\n props.source = props.source || getWMTS(options);\n } else if ('XYZ') {\n props.source =\n props.source ||\n new XYZ({\n url,\n ...sourceOptions,\n });\n }\n\n super(props);\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AAAqC,SAAAG,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,QAAAF,GAAA,sCAAAE,OAAA,wBAAAC,MAAA,uBAAAA,MAAA,CAAAC,QAAA,aAAAJ,GAAA,kBAAAA,GAAA,gBAAAA,GAAA,WAAAA,GAAA,yBAAAG,MAAA,IAAAH,GAAA,CAAAK,WAAA,KAAAF,MAAA,IAAAH,GAAA,KAAAG,MAAA,CAAAG,SAAA,qBAAAN,GAAA,KAAAE,OAAA,CAAAF,GAAA;AAAA,SAAAO,kBAAAC,MAAA,EAAAC,KAAA,aAAAC,CAAA,MAAAA,C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ACZ,IAAIwC,WAAG,CAAAzC,aAAA;QACHkB,GAAG,EAAHA;MAAG,GACAE,aAAa,CACnB,CAAC;IACV;IAAC,OAAAmB,MAAA,CAAA1D,IAAA,OAEK5C,KAAK;EACf;EAAC,OAAAW,YAAA,CAAAyF,QAAA;AAAA,EApBwBK,WAAI;AAAAC,OAAA,cAAAN,QAAA"}
|
package/lib/tile-layer/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -9,9 +9,9 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
9
9
|
var _TileLayer = _interopRequireDefault(require("./TileLayer"));
|
|
10
10
|
var _events = require("../events");
|
|
11
11
|
var _useProps2 = _interopRequireDefault(require("../use-props"));
|
|
12
|
-
function _interopRequireDefault(
|
|
13
|
-
function _getRequireWildcardCache(
|
|
14
|
-
function _interopRequireWildcard(
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
15
|
function _default(props) {
|
|
16
16
|
var url = props.url,
|
|
17
17
|
type = props.type,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_TileLayer","_interopRequireDefault","_events","_useProps2","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_TileLayer","_interopRequireDefault","_events","_useProps2","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_default","props","url","type","params","style","zIndex","_key","name","labelField","template","_useProps","useProps","map","layerRef","useRef","useEffect","layer","TileLayer","registerEventLayer","current","addLayer","removeLayer","createElement","Fragment"],"sources":["tile-layer/index.js"],"sourcesContent":["import React, { useRef, useEffect } from 'react';\nimport TileLayer from './TileLayer';\nimport { registerEventLayer } from '../events';\nimport useProps from '../use-props';\n\nexport default function(props) {\n const { url, type, params, style, zIndex, _key: key, name, labelField, template } = props;\n const { map } = useProps();\n const layerRef = useRef();\n\n useEffect(() => {\n if (map) {\n let layer = new TileLayer({\n url,\n type,\n params,\n style,\n zIndex,\n key,\n name,\n labelField,\n template,\n });\n\n // 注册事件\n registerEventLayer(layer, props);\n\n layerRef.current = layer;\n\n map.addLayer(layerRef.current);\n }\n\n return () => {\n layerRef.current && map && map.removeLayer(layerRef.current);\n };\n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C;IAEA,OAAO,YAAM;MACTN,QAAQ,CAACM,OAAO,IAAIP,GAAG,IAAIA,GAAG,CAACS,WAAW,CAACR,QAAQ,CAACM,OAAO,CAAC;IAChE,CAAC;EACL,CAAC,EAAE,CAACP,GAAG,CAAC,CAAC;EAET,oBAAO1C,MAAA,YAAAoD,aAAA,CAAApD,MAAA,YAAAqD,QAAA,MAAI,CAAC;AAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.js","names":["require"],"sources":["tile-layer/style/index.js"],"sourcesContent":["import './index.less';\
|
|
1
|
+
{"version":3,"file":"css.js","names":["require"],"sources":["tile-layer/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["require"],"sources":["tile-layer/style/index.js"],"sourcesContent":["import './index.less';\
|
|
1
|
+
{"version":3,"file":"index.js","names":["require"],"sources":["tile-layer/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA"}
|