@vtx/ol-map 1.0.146 → 1.0.147
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/README.md +205 -205
- package/lib/_util/EventEmitter.js +11 -13
- package/lib/_util/EventEmitter.js.map +1 -1
- package/lib/_util/StyleCache.js +8 -10
- package/lib/_util/StyleCache.js.map +1 -1
- package/lib/_util/encryptParams.js +17 -22
- 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 +5 -6
- package/lib/_util/getCookie.js.map +1 -1
- package/lib/_util/getDefaultMapInfo.js +7 -8
- package/lib/_util/getDefaultMapInfo.js.map +1 -1
- package/lib/_util/getSystemInfo.js +7 -8
- package/lib/_util/getSystemInfo.js.map +1 -1
- package/lib/_util/getToken.js +2 -4
- package/lib/_util/getToken.js.map +1 -1
- package/lib/_util/getUrlParam.js +2 -3
- package/lib/_util/getUrlParam.js.map +1 -1
- package/lib/_util/http.js +30 -32
- 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 +33 -37
- package/lib/_util/layer.js.map +1 -1
- package/lib/_util/mapTool.js +36 -37
- package/lib/_util/mapTool.js.map +1 -1
- package/lib/_util/projzh/datum/bd-09.js +2 -3
- package/lib/_util/projzh/datum/bd-09.js.map +1 -1
- package/lib/_util/projzh/datum/gcj-02.js +1 -2
- package/lib/_util/projzh/datum/gcj-02.js.map +1 -1
- package/lib/_util/projzh/datum/index.js +2 -3
- package/lib/_util/projzh/datum/index.js.map +1 -1
- package/lib/_util/projzh/index.js +2 -3
- package/lib/_util/projzh/index.js.map +1 -1
- package/lib/_util/projzh/projection/baidu-mercator.js +1 -2
- package/lib/_util/projzh/projection/baidu-mercator.js.map +1 -1
- package/lib/_util/projzh/projection/index.js +2 -3
- package/lib/_util/projzh/projection/index.js.map +1 -1
- package/lib/_util/projzh/projection/spherical-mercator.js +1 -2
- package/lib/_util/projzh/projection/spherical-mercator.js.map +1 -1
- package/lib/_util/projzh/util.js +1 -2
- package/lib/_util/projzh/util.js.map +1 -1
- package/lib/_util/search.js +13 -16
- package/lib/_util/search.js.map +1 -1
- package/lib/_util/setCookie.js +5 -6
- 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 +9 -10
- package/lib/_util/transform.js.map +1 -1
- package/lib/_util/useColSize.js +2 -3
- package/lib/_util/useColSize.js.map +1 -1
- package/lib/_util/useInterval.js.map +1 -1
- package/lib/_util/useSet.js +12 -13
- package/lib/_util/useSet.js.map +1 -1
- package/lib/analysis-layer/index.js +44 -50
- 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 +11 -13
- package/lib/buffer-draw/BufferDraw.js.map +1 -1
- package/lib/buffer-draw/index.js +9 -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 +22 -24
- package/lib/circle/Circle.js.map +1 -1
- package/lib/circle/index.js +3 -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 +1 -2
- package/lib/config.js.map +1 -1
- package/lib/convertCamelToCSS.js +1 -2
- package/lib/convertCamelToCSS.js.map +1 -1
- package/lib/dom/Dom.js +19 -21
- package/lib/dom/Dom.js.map +1 -1
- package/lib/dom/index.js +10 -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 +2 -4
- package/lib/events/index.js.map +1 -1
- package/lib/feature-draw/FeatureDraw.js +40 -46
- 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 +64 -65
- package/lib/feature-layer/FeatureLayer.js.map +1 -1
- package/lib/feature-layer/MyCluster.js +28 -31
- package/lib/feature-layer/MyCluster.js.map +1 -1
- package/lib/feature-layer/createFeatureCollection.js +39 -47
- package/lib/feature-layer/createFeatureCollection.js.map +1 -1
- package/lib/feature-layer/index.js +15 -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 +22 -25
- package/lib/flow-line-layer/FlowLineLayer.js.map +1 -1
- package/lib/flow-line-layer/index.js +15 -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 +12 -14
- package/lib/fly-line-layer/FlyLineLayer.js.map +1 -1
- package/lib/fly-line-layer/index.js +8 -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 +10 -12
- package/lib/group-layer/GroupLayer.js.map +1 -1
- package/lib/group-layer/index.js +8 -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 +29 -30
- package/lib/heatmap-layer/HeatmapLayer.js.map +1 -1
- package/lib/heatmap-layer/index.js +8 -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 +13 -15
- package/lib/high-layer/HighLayer.js.map +1 -1
- package/lib/high-layer/index.js +11 -13
- 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 +31 -33
- package/lib/image-layer/ImageLayer.js.map +1 -1
- package/lib/image-layer/ImageTileLayer.js +31 -33
- package/lib/image-layer/ImageTileLayer.js.map +1 -1
- package/lib/image-layer/index.js +10 -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 +20 -23
- 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 +100 -100
- package/lib/map/Analysis.js +24 -27
- package/lib/map/Analysis.js.map +1 -1
- package/lib/map/Layers.js +24 -28
- package/lib/map/Layers.js.map +1 -1
- package/lib/map/Popup.js +22 -24
- package/lib/map/Popup.js.map +1 -1
- package/lib/map/ScaleDenominator.js +9 -11
- package/lib/map/ScaleDenominator.js.map +1 -1
- package/lib/map/Test.js +12 -14
- package/lib/map/Test.js.map +1 -1
- package/lib/map/getBaseLayers/imagery/amap/AmapImageryProvider.js +1 -2
- package/lib/map/getBaseLayers/imagery/amap/AmapImageryProvider.js.map +1 -1
- package/lib/map/getBaseLayers/imagery/baidu/BaiduImageryProvider.js +2 -3
- package/lib/map/getBaseLayers/imagery/baidu/BaiduImageryProvider.js.map +1 -1
- package/lib/map/getBaseLayers/imagery/geoq/GeoQImageryProvider.js +8 -10
- package/lib/map/getBaseLayers/imagery/geoq/GeoQImageryProvider.js.map +1 -1
- package/lib/map/getBaseLayers/imagery/tdt/TdtImageryProvider.js +7 -9
- package/lib/map/getBaseLayers/imagery/tdt/TdtImageryProvider.js.map +1 -1
- package/lib/map/getBaseLayers/index.js +11 -13
- package/lib/map/getBaseLayers/index.js.map +1 -1
- package/lib/map/index.js +66 -70
- 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 +2 -3
- 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 +23 -26
- package/lib/marker/Marker.js.map +1 -1
- package/lib/marker/index.js +3 -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 +21 -23
- package/lib/path-line-layer/PathLineLayer.js.map +1 -1
- package/lib/path-line-layer/getPathLineStyles.js +8 -9
- package/lib/path-line-layer/getPathLineStyles.js.map +1 -1
- package/lib/path-line-layer/index.js +15 -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 +51 -28
- package/lib/path-play-back/PathPlayBack.js.map +1 -1
- package/lib/path-play-back/index.js +17 -10
- 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 +7 -8
- package/lib/poi-search/Location.js.map +1 -1
- package/lib/poi-search/PoiList.js +9 -10
- package/lib/poi-search/PoiList.js.map +1 -1
- package/lib/poi-search/Search.js +20 -21
- package/lib/poi-search/Search.js.map +1 -1
- package/lib/poi-search/index.js +9 -11
- 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 +22 -24
- package/lib/point/Point.js.map +1 -1
- package/lib/point/index.js +3 -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 +22 -24
- package/lib/polygon/Polygon.js.map +1 -1
- package/lib/polygon/index.js +3 -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 +22 -24
- package/lib/polyline/Polyline.js.map +1 -1
- package/lib/polyline/index.js +3 -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 +14 -16
- 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 +3 -5
- 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 +17 -19
- package/lib/renderer/Fill.js.map +1 -1
- package/lib/renderer/Stroke.js +17 -19
- package/lib/renderer/Stroke.js.map +1 -1
- package/lib/renderer/index.js +12 -15
- 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 +1 -2
- package/lib/renderer/transformRgb.js.map +1 -1
- package/lib/search-map/VtxModal.js +22 -25
- package/lib/search-map/VtxModal.js.map +1 -1
- package/lib/search-map/index.js +22 -24
- 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 +21 -24
- package/lib/tile-layer/TileLayer.js.map +1 -1
- package/lib/tile-layer/index.js +3 -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 +8 -9
- package/lib/tools/Layer/LayerService.js.map +1 -1
- package/lib/tools/Layer/LayersCheckService.js +32 -39
- package/lib/tools/Layer/LayersCheckService.js.map +1 -1
- package/lib/tools/Layer/index.js +14 -15
- package/lib/tools/Layer/index.js.map +1 -1
- package/lib/tools/Layer/index.less +43 -43
- package/lib/tools/Search/index.js +18 -21
- package/lib/tools/Search/index.js.map +1 -1
- package/lib/tools/Toolbox/BoxSelect/index.js +5 -6
- package/lib/tools/Toolbox/BoxSelect/index.js.map +1 -1
- package/lib/tools/Toolbox/CircleSelect/index.js +5 -6
- package/lib/tools/Toolbox/CircleSelect/index.js.map +1 -1
- package/lib/tools/Toolbox/EagleEye/index.js +9 -11
- package/lib/tools/Toolbox/EagleEye/index.js.map +1 -1
- package/lib/tools/Toolbox/MapBookmark/Bookmark.js +44 -50
- package/lib/tools/Toolbox/MapBookmark/Bookmark.js.map +1 -1
- package/lib/tools/Toolbox/MapBookmark/index.js +34 -36
- 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 +33 -36
- 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 +3 -4
- package/lib/tools/Toolbox/Measure/Area/index.js.map +1 -1
- package/lib/tools/Toolbox/Measure/Distance/index.js +3 -4
- package/lib/tools/Toolbox/Measure/Distance/index.js.map +1 -1
- package/lib/tools/Toolbox/Measure/Measure.js +8 -10
- package/lib/tools/Toolbox/Measure/Measure.js.map +1 -1
- package/lib/tools/Toolbox/Measure/index.js +12 -14
- package/lib/tools/Toolbox/Measure/index.js.map +1 -1
- package/lib/tools/Toolbox/PolygonSelect/index.js +5 -6
- package/lib/tools/Toolbox/PolygonSelect/index.js.map +1 -1
- package/lib/tools/Toolbox/ScaleLine/index.js +9 -11
- package/lib/tools/Toolbox/ScaleLine/index.js.map +1 -1
- package/lib/tools/Toolbox/SelectTools/index.js +59 -62
- 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 +24 -25
- 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 +9 -11
- 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 +7 -10
- package/lib/tools/Toolbox/index.js.map +1 -1
- package/lib/tools/Toolbox/index.less +2 -2
- package/lib/tools/Utils/CreateOverlay.js +10 -11
- package/lib/tools/Utils/CreateOverlay.js.map +1 -1
- package/lib/tools/Utils/Draw.js +16 -19
- package/lib/tools/Utils/Draw.js.map +1 -1
- package/lib/tools/Utils/HighLayer.js +14 -16
- package/lib/tools/Utils/HighLayer.js.map +1 -1
- package/lib/tools/Utils/measure.js +6 -7
- package/lib/tools/Utils/measure.js.map +1 -1
- package/lib/tools/Utils/utils.js +36 -45
- package/lib/tools/Utils/utils.js.map +1 -1
- package/lib/tools/View/index.js +14 -16
- package/lib/tools/View/index.js.map +1 -1
- package/lib/tools/View/index.less +28 -28
- package/lib/tools/analysis-tool/index.js +18 -20
- package/lib/tools/analysis-tool/index.js.map +1 -1
- package/lib/tools/base-map-switch/index.js +14 -16
- package/lib/tools/base-map-switch/index.js.map +1 -1
- package/lib/tools/components/Chart/index.js +129 -140
- package/lib/tools/components/Chart/index.js.map +1 -1
- package/lib/tools/components/Icon/index.js +2 -3
- package/lib/tools/components/Icon/index.js.map +1 -1
- package/lib/tools/components/Info/index.js +2 -3
- 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 +9 -11
- 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 +10 -11
- 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 +2 -3
- package/lib/tools/components/Select/index.js.map +1 -1
- package/lib/tools/components/Table/index.js +17 -19
- 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 +2 -3
- 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 +2 -3
- 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 +10 -12
- package/lib/tools/full-screen/index.js.map +1 -1
- package/lib/tools/index.js +10 -11
- package/lib/tools/index.js.map +1 -1
- package/lib/tools/layer-control/index.js +22 -26
- package/lib/tools/layer-control/index.js.map +1 -1
- package/lib/tools/refresh/index.js +10 -12
- 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 +9 -11
- package/lib/tools-item/index.js.map +1 -1
- package/lib/use-props/index.js +1 -2
- 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 +31 -33
- package/lib/wms-layer/WmsLayer.js.map +1 -1
- package/lib/wms-layer/index.js +10 -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 +120 -120
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["require"],"sources":["search-map/style/index.js"],"sourcesContent":["import '../../poi-search/style';\nimport './modal.less';\nimport './index.less';\n"],"mappings":";;AAAAA,OAAA;AACAA,OAAA;AACAA,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["require"],"sources":["search-map/style/index.js"],"sourcesContent":["import '../../poi-search/style';\r\nimport './modal.less';\r\nimport './index.less';\r\n"],"mappings":";;AAAAA,OAAA;AACAA,OAAA;AACAA,OAAA","ignoreList":[]}
|
|
@@ -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,24 +8,24 @@ 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(
|
|
28
|
-
var getSource = function getSource(options) {
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
13
|
+
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); } }
|
|
14
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
15
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
16
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
17
|
+
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); }
|
|
18
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
19
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
20
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
21
|
+
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); }
|
|
22
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
23
|
+
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; }
|
|
24
|
+
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; }
|
|
25
|
+
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; }
|
|
26
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
27
|
+
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); }
|
|
28
|
+
var getSource = exports.getSource = function getSource(options) {
|
|
29
29
|
var url = options.url,
|
|
30
30
|
params = options.params,
|
|
31
31
|
sourceOptions = options.sourceOptions;
|
|
@@ -63,10 +63,7 @@ var getSource = function getSource(options) {
|
|
|
63
63
|
tileGrid: tilegrid
|
|
64
64
|
}, sourceOptions));
|
|
65
65
|
};
|
|
66
|
-
exports
|
|
67
|
-
var _default = /*#__PURE__*/function (_Tile) {
|
|
68
|
-
_inherits(_default, _Tile);
|
|
69
|
-
var _super = _createSuper(_default);
|
|
66
|
+
var _default = exports["default"] = /*#__PURE__*/function (_Tile) {
|
|
70
67
|
function _default(options) {
|
|
71
68
|
_classCallCheck(this, _default);
|
|
72
69
|
var url = options.url,
|
|
@@ -80,9 +77,9 @@ var _default = /*#__PURE__*/function (_Tile) {
|
|
|
80
77
|
url: url
|
|
81
78
|
}, sourceOptions));
|
|
82
79
|
}
|
|
83
|
-
return
|
|
80
|
+
return _callSuper(this, _default, [props]);
|
|
84
81
|
}
|
|
82
|
+
_inherits(_default, _Tile);
|
|
85
83
|
return _createClass(_default);
|
|
86
84
|
}(_layer.Tile);
|
|
87
|
-
exports["default"] = _default;
|
|
88
85
|
//# 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","e","__esModule","_typeof","o","Symbol","iterator","constructor","prototype","_defineProperties","r","t","length","enumerable","configurable","writable","Object","defineProperty","_toPropertyKey","key","_createClass","_classCallCheck","a","n","TypeError","_callSuper","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","apply","_assertThisInitialized","ReferenceError","Boolean","valueOf","call","setPrototypeOf","getPrototypeOf","bind","__proto__","_inherits","create","value","_setPrototypeOf","ownKeys","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","push","_objectSpread","arguments","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","i","_toPrimitive","toPrimitive","String","Number","getSource","exports","options","url","params","sourceOptions","matrixIds","resolutions","tilegrid","tileGrid","extent","tileSize","origin","projection","Projection","code","units","axisOrientation","WMTS","layer","format","matrixSet","_default","_Tile","type","props","source","XYZ","Tile"],"sources":["tile-layer/TileLayer.js"],"sourcesContent":["import { Tile } from 'ol/layer';\r\nimport { WMTS, XYZ } from 'ol/source';\r\nimport tileGrid from 'ol/tilegrid/WMTS';\r\nimport { Projection } from 'ol/proj';\r\n\r\nexport const getSource = (options) => {\r\n const { url, params, sourceOptions } = options;\r\n\r\n //切片名\r\n let matrixIds = [\r\n 'EPSG:4326:0',\r\n 'EPSG:4326:1',\r\n 'EPSG:4326:2',\r\n 'EPSG:4326:3',\r\n 'EPSG:4326:4',\r\n 'EPSG:4326:5',\r\n 'EPSG:4326:6',\r\n 'EPSG:4326:7',\r\n 'EPSG:4326:8',\r\n 'EPSG:4326:9',\r\n 'EPSG:4326:10',\r\n 'EPSG:4326:11',\r\n 'EPSG:4326:12',\r\n 'EPSG:4326:13',\r\n 'EPSG:4326:14',\r\n 'EPSG:4326:15',\r\n 'EPSG:4326:16',\r\n 'EPSG:4326:17',\r\n 'EPSG:4326:18',\r\n ];\r\n\r\n //分辨率\r\n let resolutions = [\r\n 0.703125,\r\n 0.3515625,\r\n 0.17578125,\r\n 0.087890625,\r\n 0.0439453125,\r\n 0.02197265625,\r\n 0.010986328125,\r\n 0.0054931640625,\r\n 0.00274658203125,\r\n 0.001373291015625,\r\n 6.866455078125e-4,\r\n 3.4332275390625e-4,\r\n 1.71661376953125e-4,\r\n 8.58306884765625e-5,\r\n 4.291534423828125e-5,\r\n 2.1457672119140625e-5,\r\n 1.0728836059570312e-5,\r\n 5.364418029785156e-6,\r\n 2.682209014892578e-6,\r\n ];\r\n\r\n //切片策略\r\n let tilegrid = new tileGrid({\r\n extent: [-180.0, -90.0, 180.0, 90.0], //范围\r\n tileSize: [256, 256],\r\n origin: [-180.0, 90.0], //切片原点\r\n resolutions: resolutions, //分辨率\r\n matrixIds: matrixIds, //层级标识列表,与地图级数保持一致\r\n });\r\n\r\n //设置地图投影\r\n let projection = new Projection({\r\n code: 'EPSG:4326',\r\n units: 'degrees',\r\n axisOrientation: 'neu',\r\n });\r\n\r\n return new WMTS({\r\n url: url,\r\n layer: params?.layer,\r\n format: 'image/png',\r\n matrixSet: 'EPSG:4326',\r\n projection: projection,\r\n tileGrid: tilegrid,\r\n ...sourceOptions,\r\n });\r\n}\r\n\r\nexport default class extends Tile {\r\n constructor(options) {\r\n const { url, type, sourceOptions } = options;\r\n\r\n const props = {\r\n ...options,\r\n };\r\n\r\n if (type === 'WMTS') {\r\n props.source = props.source || getSource(options);\r\n } else if ('XYZ') {\r\n props.source =\r\n props.source ||\r\n new XYZ({\r\n url,\r\n ...sourceOptions,\r\n });\r\n }\r\n\r\n super(props);\r\n }\r\n}\r\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,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAA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,EAAE;MACjBC,KAAK,CAACC,MAAM,GAAGD,KAAK,CAACC,MAAM,IAAI1B,SAAS,CAACE,OAAO,CAAC;IACrD,CAAC,MAAM,IAAI,KAAK,EAAE;MACduB,KAAK,CAACC,MAAM,GACRD,KAAK,CAACC,MAAM,IACZ,IAAIC,WAAG,CAAAtC,aAAA;QACHc,GAAG,EAAHA;MAAG,GACAE,aAAa,CACnB,CAAC;IACV;IAAC,OAAA1C,UAAA,OAAA2D,QAAA,GAEKG,KAAK;EACf;EAAC9C,SAAA,CAAA2C,QAAA,EAAAC,KAAA;EAAA,OAAAjE,YAAA,CAAAgE,QAAA;AAAA,EApBwBM,WAAI","ignoreList":[]}
|
package/lib/tile-layer/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -9,9 +9,8 @@ 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
|
|
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; }
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
15
14
|
function _default(props) {
|
|
16
15
|
var url = props.url,
|
|
17
16
|
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","e","__esModule","t","WeakMap","r","n","o","i","f","__proto__","_typeof","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_default","props","url","type","params","style","zIndex","key","_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';\r\nimport TileLayer from './TileLayer';\r\nimport { registerEventLayer } from '../events';\r\nimport useProps from '../use-props';\r\n\r\nexport default function(props) {\r\n const { url, type, params, style, zIndex, _key: key, name, labelField, template } = props;\r\n const { map } = useProps();\r\n const layerRef = useRef();\r\n\r\n useEffect(() => {\r\n if (map) {\r\n let layer = new TileLayer({\r\n url,\r\n type,\r\n params,\r\n style,\r\n zIndex,\r\n key,\r\n name,\r\n labelField,\r\n template,\r\n });\r\n\r\n // 注册事件\r\n registerEventLayer(layer, props);\r\n\r\n layerRef.current = layer;\r\n\r\n map.addLayer(layerRef.current);\r\n }\r\n\r\n return () => {\r\n layerRef.current && map && map.removeLayer(layerRef.current);\r\n };\r\n }, [map]);\r\n\r\n return <></>;\r\n}\r\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAF,sBAAA,CAAAF,OAAA;AAAoC,SAAAE,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,SAAAN,wBAAAM,CAAA,EAAAE,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAT,uBAAA,YAAAA,wBAAAM,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,mBAAAT,CAAA,iBAAAA,CAAA,gBAAAU,OAAA,CAAAV,CAAA,0BAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAJ,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAE,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,cAAAM,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IAAI;QACJC,UAAU,EAAVA,UAAU;QACVC,QAAQ,EAARA;MACJ,CAAC,CAAC;;MAEF;MACA,IAAAS,0BAAkB,EAACF,KAAK,EAAEjB,KAAK,CAAC;MAEhCc,QAAQ,CAACM,OAAO,GAAGH,KAAK;MAExBJ,GAAG,CAACQ,QAAQ,CAACP,QAAQ,CAACM,OAAO,CAAC;IAClC;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,oBAAOzC,MAAA,YAAAmD,aAAA,CAAAnD,MAAA,YAAAoD,QAAA,MAAI,CAAC;AAChB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.js","names":["require"],"sources":["tile-layer/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA"}
|
|
1
|
+
{"version":3,"file":"css.js","names":["require"],"sources":["tile-layer/style/index.js"],"sourcesContent":["import './index.less';\r\n"],"mappings":";;AAAAA,OAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["require"],"sources":["tile-layer/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["require"],"sources":["tile-layer/style/index.js"],"sourcesContent":["import './index.less';\r\n"],"mappings":";;AAAAA,OAAA","ignoreList":[]}
|