v-openlayers 2.10.2 → 2.10.3
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/package/v-map/components-v3/Draggable/index.vue.d.ts +50 -0
- package/package/v-map/components-v3/Popup/Popup.vue.d.ts +10 -0
- package/package/v-map/components-v3/SvgIcon/SvgIconInner.vue.d.ts +40 -0
- package/package/v-map/components-v3/SvgIcon/svgs.d.ts +2 -0
- package/package/v-map/components-v3/Table/index.vue.d.ts +18 -0
- package/package/v-map/components-v3/Upload/index.vue.d.ts +29 -0
- package/package/v-map/components-v3/Upload/js/wkid.d.ts +5 -0
- package/package/v-map/global.d.ts +1 -1
- package/package/v-map/ol/init.d.ts +7 -0
- package/package/v-map/ol/lib/business/OlHandler.d.ts +4 -3
- package/package/v-map/ol/lib/config/default.config.d.ts +40 -0
- package/package/v-map/ol/lib/core/VMap.d.ts +22 -23
- package/package/v-map/ol/lib/core/plugins/DrawHandler.d.ts +2 -3
- package/package/v-map/ol/lib/core/plugins/FeatureHandler.d.ts +2 -3
- package/package/v-map/ol/lib/core/plugins/GeojsonHandler.d.ts +3 -3
- package/package/v-map/ol/lib/core/plugins/GeometryHandler.d.ts +3 -3
- package/package/v-map/ol/lib/core/plugins/InteractionHandler.d.ts +5 -5
- package/package/v-map/ol/lib/core/plugins/LayerHandler.d.ts +23 -17
- package/package/v-map/ol/lib/core/plugins/MeasureHandler.d.ts +1 -1
- package/package/v-map/ol/lib/core/plugins/ProjectionHandler.d.ts +3 -0
- package/package/v-map/ol/lib/core/plugins/StyleHandler.d.ts +1 -1
- package/package/v-map/ol/lib/core/plugins/TransformHandler.d.ts +1 -1
- package/package/v-map/ol/lib/core/plugins/WMTSExplorer.d.ts +6 -6
- package/package/v-map/ol/lib/core/plugins/WfsHandler.d.ts +1 -1
- package/package/v-map/ol/lib/core/plugins/WktHandler.d.ts +3 -3
- package/package/v-map/ol/lib/core/plugins/WmsHandler.d.ts +3 -3
- package/package/v-map/ol/lib/core/plugins/baidu/BaiduMap.d.ts +2 -2
- package/package/v-map/ol/v3/assets/js/data.d.ts +18 -0
- package/package/v-map/ol/v3/components/OlMap.vue.d.ts +131 -0
- package/package/v-map/ol/v3/components/eagle/index.vue.d.ts +96 -0
- package/package/v-map/ol/v3/components/index.d.ts +26 -0
- package/package/v-map/ol/v3/components/layer/arcgis/index.vue.d.ts +7 -0
- package/package/v-map/ol/v3/components/layer/display/Display.vue.d.ts +27 -0
- package/package/v-map/ol/v3/components/layer/layer/index.vue.d.ts +205 -0
- package/package/v-map/ol/v3/components/layer/overlay/index.vue.d.ts +78 -0
- package/package/v-map/ol/v3/components/layer/popup/identify/index.vue.d.ts +27 -0
- package/package/v-map/ol/v3/components/layer/popup/index.vue.d.ts +97 -0
- package/package/v-map/ol/v3/components/layer/popup/usePopup.d.ts +40 -0
- package/package/v-map/ol/v3/components/layer/supermap/index.vue.d.ts +7 -0
- package/package/v-map/ol/v3/components/layer/tdt/index.vue.d.ts +7 -0
- package/package/v-map/ol/v3/components/layer/tile/index.vue.d.ts +9 -0
- package/package/v-map/ol/v3/components/layer/useLayer.d.ts +72 -0
- package/package/v-map/ol/v3/components/layer/vector/index.vue.d.ts +182 -0
- package/package/v-map/ol/v3/components/layer/vectorTile/index.vue.d.ts +7 -0
- package/package/v-map/ol/v3/components/layer/web/baidu.vue.d.ts +2 -0
- package/package/v-map/ol/v3/components/layer/web/gaode.vue.d.ts +2 -0
- package/package/v-map/ol/v3/components/layer/wms/index.vue.d.ts +7 -0
- package/package/v-map/ol/v3/components/popup/index.vue.d.ts +30 -0
- package/package/v-map/ol/v3/components/toolbar/bar/index.vue.d.ts +41 -0
- package/package/v-map/ol/v3/components/toolbar/baseBar.d.ts +20 -0
- package/package/v-map/ol/v3/components/toolbar/baseLayer/index.vue.d.ts +10 -0
- package/package/v-map/ol/v3/components/toolbar/drawer/index.vue.d.ts +18 -0
- package/package/v-map/ol/v3/components/toolbar/layerManager/index.vue.d.ts +27 -0
- package/package/v-map/ol/v3/components/toolbar/mapBar.d.ts +6 -0
- package/package/v-map/ol/v3/components/widgets/MapStatus.vue.d.ts +32 -0
- package/package/v-map/public/use/theme.d.ts +1 -0
- package/package/v-map/public/use/useEvent.d.ts +1 -0
- package/package/v-map/public/use/usePosition.d.ts +21 -0
- package/package/v-map/public/utils/advanced/canvas2image.d.ts +30 -0
- package/package/v-map/public/utils/advanced/export-excel.d.ts +30 -0
- package/package/v-map/public/utils/advanced/layout.d.ts +10 -0
- package/package/v-map/public/utils/base/prototype.d.ts +0 -0
- package/package/v-map/public/utils/date-formatter.d.ts +56 -0
- package/package/v-map/public/utils/extend.d.ts +1 -0
- package/package/v-map/public/utils/map/arcgis.d.ts +1 -0
- package/package/v-map/public/utils/map/cesium.d.ts +13 -0
- package/package/v-map/public/utils/map/index.d.ts +12 -0
- package/package/v-map/public/utils/map/kriging.d.ts +2 -0
- package/package/v-map/public/utils/map/ogc.d.ts +12 -0
- package/package/v-map/public/utils/map/tif.d.ts +12 -0
- package/package/v-map/public/utils/mix.d.ts +3 -0
- package/package/v-map/public/utils/open-window.d.ts +8 -0
- package/package/v-map/public/utils/scroll-to.d.ts +6 -0
- package/package/v-map/public/utils/web-layout-controller.d.ts +11 -0
- package/package/v-map/shims.d.ts +29 -0
- package/package/v-openlayers.css +1 -1
- package/package/v-openlayers.d.ts +23 -22
- package/package/v-openlayers.mjs +197 -260
- package/package.json +1 -1
package/package/v-openlayers.mjs
CHANGED
|
@@ -69,7 +69,7 @@ import { always } from "ol/events/condition";
|
|
|
69
69
|
import { getLength, getDistance, getArea } from "ol/sphere";
|
|
70
70
|
import { defaults as defaults$1 } from "ol/interaction/defaults";
|
|
71
71
|
import * as olProj from "ol/proj";
|
|
72
|
-
import { get as get$1, transform as transform$1, fromLonLat,
|
|
72
|
+
import { get as get$1, transformExtent, transform as transform$1, fromLonLat, toLonLat } from "ol/proj";
|
|
73
73
|
import { register } from "ol/proj/proj4";
|
|
74
74
|
import { getWidth, getTopLeft, boundingExtent, createEmpty, extend as extend$1 } from "ol/extent";
|
|
75
75
|
import { Polygon, Point as Point$1, LineString } from "ol/geom";
|
|
@@ -10199,9 +10199,9 @@ const proj4 = Object.assign(proj4$1, {
|
|
|
10199
10199
|
});
|
|
10200
10200
|
includedProjections(proj4);
|
|
10201
10201
|
/* @preserve
|
|
10202
|
-
* @terraformer/wkt - v2.2.
|
|
10203
|
-
* Copyright (c) 2012-
|
|
10204
|
-
*
|
|
10202
|
+
* @terraformer/wkt - v2.2.2 - MIT
|
|
10203
|
+
* Copyright (c) 2012-2026 Environmental Systems Research Institute, Inc.
|
|
10204
|
+
* Mon Jun 29 2026 15:12:11 GMT-0700 (Pacific Daylight Time)
|
|
10205
10205
|
*/
|
|
10206
10206
|
var o = function o2(k, v, _o, l) {
|
|
10207
10207
|
for (_o = _o || {}, l = k.length; l--; _o[k[l]] = v) ;
|
|
@@ -12505,6 +12505,7 @@ class LayerHandler {
|
|
|
12505
12505
|
* 根据投影坐标系创建WMTS图层
|
|
12506
12506
|
* @param {string} prj - 投影坐标系
|
|
12507
12507
|
* @param {Object} options.url - WMTS服务URL
|
|
12508
|
+
* @param {Object} options.extent - WMTS服务范围 经纬度
|
|
12508
12509
|
* @param {Object} options.params - WMTS参数对象
|
|
12509
12510
|
* @param {Object} options.params.layer - WMTS图层ID
|
|
12510
12511
|
* @param {Object} options.params.matrixSet - WMTS矩阵集ID
|
|
@@ -12527,6 +12528,7 @@ class LayerHandler {
|
|
|
12527
12528
|
if (!params2.hasOwnProperty("matrixSet")) {
|
|
12528
12529
|
params2["matrixSet"] = params2.tilematrixset;
|
|
12529
12530
|
}
|
|
12531
|
+
const extent = options.extent ? prj === "EPSG:3857" ? this.convertExtentTo3857(options.extent) : options.extent : void 0;
|
|
12530
12532
|
return new TileLayer({
|
|
12531
12533
|
source: new WMTS(__spreadProps(__spreadValues({
|
|
12532
12534
|
url: this.getWmtsUrl({ url, customParams }),
|
|
@@ -12539,12 +12541,30 @@ class LayerHandler {
|
|
|
12539
12541
|
origin: options.origin || getTopLeft(projectionExtent2),
|
|
12540
12542
|
resolutions: options.resolutions || resolutions2,
|
|
12541
12543
|
matrixIds: matrixIdsWMTS,
|
|
12542
|
-
extent: this.getWmtsExtent(
|
|
12544
|
+
extent: this.getWmtsExtent(extent)
|
|
12543
12545
|
// projectionExtent,
|
|
12544
12546
|
})
|
|
12545
12547
|
}))
|
|
12546
12548
|
});
|
|
12547
12549
|
}
|
|
12550
|
+
convertExtentTo3857(extentObj, sourceCrs) {
|
|
12551
|
+
const srcCrs = sourceCrs || extentObj.crs;
|
|
12552
|
+
const destCrs = "EPSG:3857";
|
|
12553
|
+
const srcExtent = [
|
|
12554
|
+
extentObj.minx,
|
|
12555
|
+
extentObj.miny,
|
|
12556
|
+
extentObj.maxx,
|
|
12557
|
+
extentObj.maxy
|
|
12558
|
+
];
|
|
12559
|
+
const transformed = transformExtent(srcExtent, srcCrs, destCrs);
|
|
12560
|
+
return {
|
|
12561
|
+
minx: transformed[0],
|
|
12562
|
+
miny: transformed[1],
|
|
12563
|
+
maxx: transformed[2],
|
|
12564
|
+
maxy: transformed[3],
|
|
12565
|
+
crs: destCrs
|
|
12566
|
+
};
|
|
12567
|
+
}
|
|
12548
12568
|
getWmtsExtent(extent) {
|
|
12549
12569
|
if (extent === void 0) {
|
|
12550
12570
|
return void 0;
|
|
@@ -12655,22 +12675,29 @@ class LayerHandler {
|
|
|
12655
12675
|
getWmsImage(options) {
|
|
12656
12676
|
return new Image({
|
|
12657
12677
|
source: new ImageWMS({
|
|
12678
|
+
projection: options.prj,
|
|
12679
|
+
// 'EPSG:4326', // 声明 WMS 源的坐标系是 4326
|
|
12658
12680
|
url: options.url,
|
|
12659
12681
|
params: __spreadValues(__spreadValues({}, options.requestParams), options.params)
|
|
12682
|
+
// serverType: 'geoserver',
|
|
12683
|
+
// ratio: 1,
|
|
12660
12684
|
})
|
|
12661
|
-
// source:new ImageWMS({
|
|
12662
|
-
// url: 'https://ahocevar.com/geoserver/wms',
|
|
12663
|
-
// params: {'LAYERS': 'topp:states'},
|
|
12664
|
-
// ratio: 1,
|
|
12665
|
-
// serverType: 'geoserver',
|
|
12666
|
-
// })
|
|
12667
12685
|
});
|
|
12668
12686
|
}
|
|
12669
12687
|
getWmsImageTile(options) {
|
|
12688
|
+
console.log("test wms tile", options);
|
|
12670
12689
|
return new TileLayer({
|
|
12671
12690
|
source: new TileWMS({
|
|
12691
|
+
projection: options.prj,
|
|
12692
|
+
//'EPSG:4326', // 声明 WMS 源的坐标系是 4326
|
|
12672
12693
|
url: options.url,
|
|
12673
|
-
params: __spreadValues(__spreadValues({
|
|
12694
|
+
params: __spreadValues(__spreadValues({
|
|
12695
|
+
TILED: true,
|
|
12696
|
+
// 启用瓦片缓存,GeoServer 必填
|
|
12697
|
+
FORMAT: "image/png",
|
|
12698
|
+
TRANSPARENT: true
|
|
12699
|
+
}, options.requestParams), options.params)
|
|
12700
|
+
// serverType: 'geoserver', // 服务端类型,影响 SRS/CRS 参数拼接
|
|
12674
12701
|
})
|
|
12675
12702
|
});
|
|
12676
12703
|
}
|
|
@@ -14617,6 +14644,26 @@ const turfJs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
|
|
|
14617
14644
|
__proto__: null,
|
|
14618
14645
|
spliceLine
|
|
14619
14646
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14647
|
+
function WGS84_to_Cartesian3(point) {
|
|
14648
|
+
let car33 = Cesium.Cartesian3.fromDegrees(point.lon, point.lat, point.alt);
|
|
14649
|
+
let x = car33.x;
|
|
14650
|
+
let y = car33.y;
|
|
14651
|
+
let z = car33.z;
|
|
14652
|
+
return { x, y, z };
|
|
14653
|
+
}
|
|
14654
|
+
function Cartesian3_to_WGS84(point) {
|
|
14655
|
+
let cartesian33 = new Cesium.Cartesian3(point.x, point.y, point.z);
|
|
14656
|
+
let cartographic = Cesium.Cartographic.fromCartesian(cartesian33);
|
|
14657
|
+
let lat2 = Cesium.Math.toDegrees(cartographic.latitude);
|
|
14658
|
+
let lon = Cesium.Math.toDegrees(cartographic.longitude);
|
|
14659
|
+
let alt = cartographic.height;
|
|
14660
|
+
return { lon, lat: lat2, alt };
|
|
14661
|
+
}
|
|
14662
|
+
const cesium = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14663
|
+
__proto__: null,
|
|
14664
|
+
Cartesian3_to_WGS84,
|
|
14665
|
+
WGS84_to_Cartesian3
|
|
14666
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
14620
14667
|
function testIntersect(line, point) {
|
|
14621
14668
|
const lineString = new LineString(line);
|
|
14622
14669
|
return lineString.intersectsCoordinate(point);
|
|
@@ -14652,7 +14699,8 @@ const trans = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
14652
14699
|
const VcMapUtils = {
|
|
14653
14700
|
Turf: __spreadValues({}, turfJs),
|
|
14654
14701
|
Ol: __spreadValues({}, ol$1),
|
|
14655
|
-
Transform: __spreadValues({}, trans)
|
|
14702
|
+
Transform: __spreadValues({}, trans),
|
|
14703
|
+
Cesium: __spreadValues({}, cesium)
|
|
14656
14704
|
};
|
|
14657
14705
|
var DrawType = /* @__PURE__ */ ((DrawType2) => {
|
|
14658
14706
|
DrawType2["Point"] = "Point";
|
|
@@ -14668,7 +14716,7 @@ class DrawHandler {
|
|
|
14668
14716
|
* 构造函数
|
|
14669
14717
|
* @param map 地图实例
|
|
14670
14718
|
*/
|
|
14671
|
-
constructor(map = null) {
|
|
14719
|
+
constructor(map = null, prj = "EPSG:4326") {
|
|
14672
14720
|
this.map = null;
|
|
14673
14721
|
this.curFeature = null;
|
|
14674
14722
|
this.flag = false;
|
|
@@ -14993,7 +15041,11 @@ class DrawHandler {
|
|
|
14993
15041
|
};
|
|
14994
15042
|
if (type === "Ring" && style.ring) {
|
|
14995
15043
|
const { innerR = 0, outerR = 0 } = style.ring;
|
|
14996
|
-
this.createRing(
|
|
15044
|
+
this.createRing(
|
|
15045
|
+
feature.getGeometry().getCoordinates(),
|
|
15046
|
+
innerR,
|
|
15047
|
+
outerR
|
|
15048
|
+
);
|
|
14997
15049
|
} else if (type === "Ring") {
|
|
14998
15050
|
console.warn("<v-openlayers>Style lacks ring attribute", style);
|
|
14999
15051
|
}
|
|
@@ -15099,7 +15151,9 @@ class DrawHandler {
|
|
|
15099
15151
|
"on-change",
|
|
15100
15152
|
(feature, geom) => {
|
|
15101
15153
|
this.curFeature = feature;
|
|
15102
|
-
this.remenberDrawCoordinates = deepClone(
|
|
15154
|
+
this.remenberDrawCoordinates = deepClone(
|
|
15155
|
+
geom.getCoordinates()
|
|
15156
|
+
);
|
|
15103
15157
|
this.step = this.remenberDrawCoordinates.length;
|
|
15104
15158
|
}
|
|
15105
15159
|
);
|
|
@@ -15299,7 +15353,10 @@ class DrawHandler {
|
|
|
15299
15353
|
const type = geometry.getType();
|
|
15300
15354
|
if (type === "LineString") {
|
|
15301
15355
|
const lineString = geometry;
|
|
15302
|
-
return VcMapUtils.Ol.testIntersect(
|
|
15356
|
+
return VcMapUtils.Ol.testIntersect(
|
|
15357
|
+
lineString.getCoordinates(),
|
|
15358
|
+
coordinate
|
|
15359
|
+
) ? lineString : null;
|
|
15303
15360
|
}
|
|
15304
15361
|
if (type === "MultiLineString") {
|
|
15305
15362
|
const lineStrings = geometry.getLineStrings();
|
|
@@ -16985,8 +17042,12 @@ class VMap {
|
|
|
16985
17042
|
* @param prj 坐标系
|
|
16986
17043
|
* @returns 图层
|
|
16987
17044
|
*/
|
|
16988
|
-
getLayerByType(
|
|
17045
|
+
getLayerByType(_options, prj = this.mapConfig.prj) {
|
|
17046
|
+
const options = __spreadProps(__spreadValues({}, _options), {
|
|
17047
|
+
prj
|
|
17048
|
+
});
|
|
16989
17049
|
this.parseLayerOptions(options);
|
|
17050
|
+
console.log("layeroptions...........", options);
|
|
16990
17051
|
let layer = null;
|
|
16991
17052
|
switch (options.type) {
|
|
16992
17053
|
case V_MAP_PROVIDER["wmts-xml"]:
|
|
@@ -17299,7 +17360,7 @@ class VMap {
|
|
|
17299
17360
|
*/
|
|
17300
17361
|
getDrawHandler(map = this.map) {
|
|
17301
17362
|
if (this.drawHandler == null) {
|
|
17302
|
-
this.drawHandler = new DrawHandler(map);
|
|
17363
|
+
this.drawHandler = new DrawHandler(map, this.prj);
|
|
17303
17364
|
}
|
|
17304
17365
|
return this.drawHandler;
|
|
17305
17366
|
}
|
|
@@ -17762,6 +17823,9 @@ class VMap {
|
|
|
17762
17823
|
geometry = new WKT$3().readGeometry(polygon);
|
|
17763
17824
|
} else if (isGeoJSON(polygon)) {
|
|
17764
17825
|
geometry = new GeoJSON$3().readGeometry(polygon);
|
|
17826
|
+
} else if (isMultiPolygon(polygon)) {
|
|
17827
|
+
const mPolygon = polygon;
|
|
17828
|
+
geometry = mPolygon.getPolygons()[0];
|
|
17765
17829
|
}
|
|
17766
17830
|
if (!geometry) {
|
|
17767
17831
|
console.error("参数不合法");
|
|
@@ -17907,6 +17971,9 @@ class OlHandler extends VMap {
|
|
|
17907
17971
|
setMap(map) {
|
|
17908
17972
|
this.map = map;
|
|
17909
17973
|
}
|
|
17974
|
+
getPrj() {
|
|
17975
|
+
return this.prj;
|
|
17976
|
+
}
|
|
17910
17977
|
/**
|
|
17911
17978
|
* 底图切换切换
|
|
17912
17979
|
* @param {*} layerIds 图层ids
|
|
@@ -18508,16 +18575,16 @@ const _export_sfc = (sfc, props) => {
|
|
|
18508
18575
|
return target;
|
|
18509
18576
|
};
|
|
18510
18577
|
const _hoisted_1$c = ["id"];
|
|
18511
|
-
const _hoisted_2$
|
|
18578
|
+
const _hoisted_2$5 = {
|
|
18512
18579
|
key: 0,
|
|
18513
18580
|
class: "vmap-title"
|
|
18514
18581
|
};
|
|
18515
18582
|
const _hoisted_3$4 = { class: "popup-title" };
|
|
18516
18583
|
const _hoisted_4$3 = ["id"];
|
|
18517
|
-
const __default__$
|
|
18584
|
+
const __default__$n = defineComponent({
|
|
18518
18585
|
name: "OlPopup"
|
|
18519
18586
|
});
|
|
18520
|
-
const _sfc_main$
|
|
18587
|
+
const _sfc_main$q = /* @__PURE__ */ Object.assign(__default__$n, {
|
|
18521
18588
|
props: {
|
|
18522
18589
|
theme: {
|
|
18523
18590
|
type: String,
|
|
@@ -18568,7 +18635,7 @@ const _sfc_main$r = /* @__PURE__ */ Object.assign(__default__$o, {
|
|
|
18568
18635
|
id: unref(popupId),
|
|
18569
18636
|
class: normalizeClass(getClass.value)
|
|
18570
18637
|
}, [
|
|
18571
|
-
__props.showTitle ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
18638
|
+
__props.showTitle ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
|
|
18572
18639
|
createElementVNode("span", _hoisted_3$4, toDisplayString(__props.title), 1),
|
|
18573
18640
|
createElementVNode("button", {
|
|
18574
18641
|
class: "popup-title-close",
|
|
@@ -18587,7 +18654,7 @@ const _sfc_main$r = /* @__PURE__ */ Object.assign(__default__$o, {
|
|
|
18587
18654
|
};
|
|
18588
18655
|
}
|
|
18589
18656
|
});
|
|
18590
|
-
const MapPopup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18657
|
+
const MapPopup = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-f05b50ce"]]);
|
|
18591
18658
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
18592
18659
|
function getDefaultExportFromCjs(x) {
|
|
18593
18660
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
@@ -19832,10 +19899,10 @@ function layoutUpdate({
|
|
|
19832
19899
|
tableHeight.value = document.querySelector(className).clientHeight + offset;
|
|
19833
19900
|
});
|
|
19834
19901
|
}
|
|
19835
|
-
const __default__$
|
|
19902
|
+
const __default__$m = defineComponent({
|
|
19836
19903
|
name: "VueTable"
|
|
19837
19904
|
});
|
|
19838
|
-
const _sfc_main$
|
|
19905
|
+
const _sfc_main$p = /* @__PURE__ */ Object.assign(__default__$m, {
|
|
19839
19906
|
props: {
|
|
19840
19907
|
showIndex: {
|
|
19841
19908
|
type: Boolean,
|
|
@@ -19963,7 +20030,7 @@ const _sfc_main$q = /* @__PURE__ */ Object.assign(__default__$n, {
|
|
|
19963
20030
|
};
|
|
19964
20031
|
}
|
|
19965
20032
|
});
|
|
19966
|
-
const
|
|
20033
|
+
const VueTable = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-51928c2c"]]);
|
|
19967
20034
|
const useProps$3 = {
|
|
19968
20035
|
theme: {
|
|
19969
20036
|
type: String,
|
|
@@ -20001,7 +20068,7 @@ const useProps$3 = {
|
|
|
20001
20068
|
}
|
|
20002
20069
|
}
|
|
20003
20070
|
};
|
|
20004
|
-
const _sfc_main$
|
|
20071
|
+
const _sfc_main$o = {
|
|
20005
20072
|
__name: "index",
|
|
20006
20073
|
props: __spreadProps(__spreadValues({}, useProps$3), {
|
|
20007
20074
|
features: {
|
|
@@ -20124,7 +20191,7 @@ const _sfc_main$p = {
|
|
|
20124
20191
|
key: index
|
|
20125
20192
|
}, {
|
|
20126
20193
|
default: withCtx(() => [
|
|
20127
|
-
createVNode(
|
|
20194
|
+
createVNode(VueTable, {
|
|
20128
20195
|
style: normalizeStyle({ height: __props.identifyConfig.height + "px", padding: "0" }),
|
|
20129
20196
|
"table-header": __props.identifyConfig.header,
|
|
20130
20197
|
"show-header": __props.identifyConfig.showHeader,
|
|
@@ -20146,8 +20213,7 @@ const _sfc_main$p = {
|
|
|
20146
20213
|
}
|
|
20147
20214
|
};
|
|
20148
20215
|
const _hoisted_1$b = { class: "vmap-status-bar" };
|
|
20149
|
-
const
|
|
20150
|
-
const _sfc_main$o = {
|
|
20216
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
20151
20217
|
__name: "MapStatus",
|
|
20152
20218
|
props: {
|
|
20153
20219
|
theme: {
|
|
@@ -20166,21 +20232,18 @@ const _sfc_main$o = {
|
|
|
20166
20232
|
}
|
|
20167
20233
|
},
|
|
20168
20234
|
setup(__props) {
|
|
20169
|
-
inject("olHandler");
|
|
20235
|
+
const olHandler = inject("olHandler");
|
|
20170
20236
|
const props = __props;
|
|
20171
|
-
const scaleTarget = ref("scale_" + parseInt(Math.random() * 1e7));
|
|
20172
20237
|
const parseLonLat = computed(() => {
|
|
20238
|
+
const prj = olHandler.getPrj();
|
|
20173
20239
|
let labelX = "经度:";
|
|
20174
20240
|
let labelY = "纬度:";
|
|
20175
20241
|
let unit = "°";
|
|
20176
20242
|
let [lon, lat2] = props.position;
|
|
20177
|
-
|
|
20178
|
-
else {
|
|
20179
|
-
[lon, lat2] = toLonLat(props.position, getConfig().prj);
|
|
20180
|
-
}
|
|
20243
|
+
const [_lon, _lat] = toLonLat([lon, lat2], prj);
|
|
20181
20244
|
return [
|
|
20182
|
-
labelX + parseFloat(
|
|
20183
|
-
labelY + parseFloat(
|
|
20245
|
+
labelX + parseFloat(_lon.toString()).toFixed(4) + unit,
|
|
20246
|
+
labelY + parseFloat(_lat.toString()).toFixed(4) + unit
|
|
20184
20247
|
];
|
|
20185
20248
|
});
|
|
20186
20249
|
const { theme } = toRefs(props);
|
|
@@ -20189,24 +20252,23 @@ const _sfc_main$o = {
|
|
|
20189
20252
|
});
|
|
20190
20253
|
return (_ctx, _cache) => {
|
|
20191
20254
|
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
20192
|
-
createElementVNode("div", { id: scaleTarget.value }, null, 8, _hoisted_2$5),
|
|
20193
20255
|
createElementVNode("div", {
|
|
20194
20256
|
class: normalizeClass(["item", getClass.value]),
|
|
20195
|
-
style: { "display": "flex", "justify-content": "space-around", "width": "
|
|
20257
|
+
style: { "display": "flex", "justify-content": "space-around", "width": "auto", "gap": "20px" }
|
|
20196
20258
|
}, [
|
|
20197
20259
|
createElementVNode("span", null, toDisplayString(parseLonLat.value[0]), 1),
|
|
20198
20260
|
createElementVNode("span", null, toDisplayString(parseLonLat.value[1]), 1),
|
|
20199
|
-
createTextVNode(" 层级: " + toDisplayString(parseInt(__props.zoom)), 1)
|
|
20261
|
+
createTextVNode(" 层级: " + toDisplayString(parseInt(__props.zoom.toString())), 1)
|
|
20200
20262
|
], 2)
|
|
20201
20263
|
]);
|
|
20202
20264
|
};
|
|
20203
20265
|
}
|
|
20204
|
-
};
|
|
20266
|
+
});
|
|
20205
20267
|
const _hoisted_1$a = ["id"];
|
|
20206
|
-
const __default__$
|
|
20268
|
+
const __default__$l = defineComponent({
|
|
20207
20269
|
name: "OlMap"
|
|
20208
20270
|
});
|
|
20209
|
-
const _sfc_main$
|
|
20271
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$l), {
|
|
20210
20272
|
props: {
|
|
20211
20273
|
mapConfig: {
|
|
20212
20274
|
type: Object,
|
|
@@ -20451,14 +20513,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
20451
20513
|
class: "vmap-view"
|
|
20452
20514
|
}, null, 8, _hoisted_1$a),
|
|
20453
20515
|
renderSlot(_ctx.$slots, "popup", {}, void 0, true),
|
|
20454
|
-
unref(mapReady) ? renderSlot(_ctx.$slots, "default", {
|
|
20455
|
-
__props.showStatusbar ? (openBlock(), createBlock(_sfc_main$
|
|
20516
|
+
unref(mapReady) ? renderSlot(_ctx.$slots, "default", {}, void 0, true, 0) : createCommentVNode("", true),
|
|
20517
|
+
__props.showStatusbar ? (openBlock(), createBlock(_sfc_main$n, {
|
|
20456
20518
|
key: 1,
|
|
20457
20519
|
theme: __props.theme,
|
|
20458
20520
|
position: curPosition.value,
|
|
20459
20521
|
zoom: curZoom.value
|
|
20460
20522
|
}, null, 8, ["theme", "position", "zoom"])) : createCommentVNode("", true),
|
|
20461
|
-
unref(useElementPlus) ? (openBlock(), createBlock(_sfc_main$
|
|
20523
|
+
unref(useElementPlus) ? (openBlock(), createBlock(_sfc_main$o, {
|
|
20462
20524
|
key: 2,
|
|
20463
20525
|
title: __props.identifyConfig.title || "属性",
|
|
20464
20526
|
theme: __props.theme,
|
|
@@ -20470,7 +20532,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
20470
20532
|
};
|
|
20471
20533
|
}
|
|
20472
20534
|
}));
|
|
20473
|
-
const OlMap = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20535
|
+
const OlMap = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-a5d98694"]]);
|
|
20474
20536
|
const basemapSrc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAWVJREFUWEftls9Kw0AQxr9JQTx4FxTP3hoPepUQ0ZvRiz5Ai0L6DuJT+KdI+wCetBexxRS8i43voOgbBA8Z2ZKWIG52mxjNYXPd2Znffpnd+QganzeIfDCOAaxphOuEjAC0ezvzl6SK9gafPjg+V8XlXPfVAP1I0No5C6i2jXQAWJWlwHr83wAwANVRYKv7csPMGwCW0k21sLJaoMfUW8cKuJ1Q2umlA7jd8BqMAwB3HNPJ8Kj+lOb2+lGZ1xDkdsJ3AIsc0/r34gLkLwDGJwya9o8NaQCMAkYBo0AVFCjXkk0Gkewl3L2PWkQ4U8+1HBGElpgFmU+xSJtACFv+W+Y0BFnt3vbchRZAjrNNR7xM2UlOA1AJBV6FD5QZkjz/37l6dizLGgJ4C5r2clYOSszonsySzQogilOtdkrMDhHdPjTq+5kAKlM6K0A6XnUDROzUhiXmdFP4wyJFAXyA8Bg07EOdPF/o6uB9Vuth3wAAAABJRU5ErkJggg==";
|
|
20475
20537
|
const useProps$2 = {
|
|
20476
20538
|
position: {
|
|
@@ -20500,10 +20562,10 @@ const _hoisted_2$4 = { for: "" };
|
|
|
20500
20562
|
const _hoisted_3$3 = { class: "image" };
|
|
20501
20563
|
const _hoisted_4$2 = { class: "image-2" };
|
|
20502
20564
|
const _hoisted_5$1 = ["src", "onClick"];
|
|
20503
|
-
const __default__$
|
|
20565
|
+
const __default__$k = {
|
|
20504
20566
|
name: "OlBasemap"
|
|
20505
20567
|
};
|
|
20506
|
-
const _sfc_main$
|
|
20568
|
+
const _sfc_main$l = /* @__PURE__ */ Object.assign(__default__$k, {
|
|
20507
20569
|
props: __spreadValues({}, useProps$2),
|
|
20508
20570
|
emits: ["change"],
|
|
20509
20571
|
setup(__props, { emit: __emit }) {
|
|
@@ -20580,7 +20642,7 @@ const _sfc_main$m = /* @__PURE__ */ Object.assign(__default__$l, {
|
|
|
20580
20642
|
};
|
|
20581
20643
|
}
|
|
20582
20644
|
});
|
|
20583
|
-
const OlBasemap = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20645
|
+
const OlBasemap = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-e6e303fe"]]);
|
|
20584
20646
|
const useProps$1 = {
|
|
20585
20647
|
theme: {
|
|
20586
20648
|
type: String,
|
|
@@ -20677,10 +20739,10 @@ const toolbar = [
|
|
|
20677
20739
|
}
|
|
20678
20740
|
];
|
|
20679
20741
|
const _hoisted_1$8 = { key: 0 };
|
|
20680
|
-
const __default__$
|
|
20742
|
+
const __default__$j = defineComponent({
|
|
20681
20743
|
name: "OlToolbar"
|
|
20682
20744
|
});
|
|
20683
|
-
const _sfc_main$
|
|
20745
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$j), {
|
|
20684
20746
|
props: __spreadProps(__spreadValues({}, useProps$1), {
|
|
20685
20747
|
offset: {
|
|
20686
20748
|
type: Array,
|
|
@@ -20827,17 +20889,17 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
20827
20889
|
};
|
|
20828
20890
|
}
|
|
20829
20891
|
}));
|
|
20830
|
-
const OlToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20892
|
+
const OlToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-22a138d0"]]);
|
|
20831
20893
|
const _hoisted_1$7 = { class: "vicon-drawbar" };
|
|
20832
|
-
const __default__$
|
|
20894
|
+
const __default__$i = defineComponent({
|
|
20833
20895
|
name: "OlDrawer"
|
|
20834
20896
|
});
|
|
20835
|
-
const _sfc_main$
|
|
20897
|
+
const _sfc_main$j = /* @__PURE__ */ Object.assign(__default__$i, {
|
|
20836
20898
|
props: {
|
|
20837
20899
|
shapes: {
|
|
20838
20900
|
type: Array,
|
|
20839
20901
|
default() {
|
|
20840
|
-
return ["Point", "LineString", "Polygon", "Circle"];
|
|
20902
|
+
return ["Point", "LineString", "Polygon", "Circle", "Box"];
|
|
20841
20903
|
}
|
|
20842
20904
|
},
|
|
20843
20905
|
freehand: {
|
|
@@ -20891,6 +20953,12 @@ const _sfc_main$k = /* @__PURE__ */ Object.assign(__default__$j, {
|
|
|
20891
20953
|
type: "Circle",
|
|
20892
20954
|
btnType: "primary"
|
|
20893
20955
|
},
|
|
20956
|
+
{
|
|
20957
|
+
icon: "vicon-rectangle",
|
|
20958
|
+
tip: "绘制矩形",
|
|
20959
|
+
type: "Box",
|
|
20960
|
+
btnType: "primary"
|
|
20961
|
+
},
|
|
20894
20962
|
{
|
|
20895
20963
|
icon: "geometry-freehand",
|
|
20896
20964
|
tip: "freehand",
|
|
@@ -20981,10 +21049,10 @@ const _sfc_main$k = /* @__PURE__ */ Object.assign(__default__$j, {
|
|
|
20981
21049
|
}
|
|
20982
21050
|
});
|
|
20983
21051
|
const _hoisted_1$6 = ["id"];
|
|
20984
|
-
const __default__$
|
|
21052
|
+
const __default__$h = defineComponent({
|
|
20985
21053
|
name: "OlEagle"
|
|
20986
21054
|
});
|
|
20987
|
-
const _sfc_main$
|
|
21055
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$h), {
|
|
20988
21056
|
props: __spreadProps(__spreadValues({}, useProps$1), {
|
|
20989
21057
|
position: {
|
|
20990
21058
|
type: String,
|
|
@@ -21185,7 +21253,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
21185
21253
|
};
|
|
21186
21254
|
}
|
|
21187
21255
|
}));
|
|
21188
|
-
const OlEagle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21256
|
+
const OlEagle = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-78d39783"]]);
|
|
21189
21257
|
const _hoisted_1$5 = {
|
|
21190
21258
|
key: 0,
|
|
21191
21259
|
style: { "display": "flex", "align-items": "center", "justify-content": "space-between", "width": "calc(100% - 50px)" }
|
|
@@ -21197,10 +21265,10 @@ const _hoisted_3$2 = {
|
|
|
21197
21265
|
};
|
|
21198
21266
|
const _hoisted_4$1 = ["onClick"];
|
|
21199
21267
|
const _hoisted_5 = ["onClick"];
|
|
21200
|
-
const __default__$
|
|
21268
|
+
const __default__$g = defineComponent({
|
|
21201
21269
|
name: "OlLayerManager"
|
|
21202
21270
|
});
|
|
21203
|
-
const _sfc_main$
|
|
21271
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$g), {
|
|
21204
21272
|
props: {
|
|
21205
21273
|
treeCheckedKeys: {
|
|
21206
21274
|
type: Array,
|
|
@@ -21438,11 +21506,11 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
21438
21506
|
};
|
|
21439
21507
|
}
|
|
21440
21508
|
}));
|
|
21441
|
-
const OlLayerManager = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21442
|
-
const __default__$
|
|
21509
|
+
const OlLayerManager = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-0e8ef54e"]]);
|
|
21510
|
+
const __default__$f = defineComponent({
|
|
21443
21511
|
name: "OlPopup"
|
|
21444
21512
|
});
|
|
21445
|
-
const _sfc_main$
|
|
21513
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$f), {
|
|
21446
21514
|
props: __spreadProps(__spreadValues({}, useProps$3), {
|
|
21447
21515
|
showTitle: {
|
|
21448
21516
|
type: Boolean,
|
|
@@ -21538,10 +21606,10 @@ const _hoisted_2$2 = {
|
|
|
21538
21606
|
};
|
|
21539
21607
|
const _hoisted_3$1 = { class: "popup-title" };
|
|
21540
21608
|
const _hoisted_4 = ["id"];
|
|
21541
|
-
const __default__$
|
|
21609
|
+
const __default__$e = defineComponent({
|
|
21542
21610
|
name: "OlOverlay"
|
|
21543
21611
|
});
|
|
21544
|
-
const _sfc_main$
|
|
21612
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$e), {
|
|
21545
21613
|
props: {
|
|
21546
21614
|
theme: {
|
|
21547
21615
|
type: String,
|
|
@@ -21657,7 +21725,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
21657
21725
|
};
|
|
21658
21726
|
}
|
|
21659
21727
|
}));
|
|
21660
|
-
const OlOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21728
|
+
const OlOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-291010ba"]]);
|
|
21661
21729
|
const useProps = {
|
|
21662
21730
|
name: {
|
|
21663
21731
|
type: String,
|
|
@@ -21753,10 +21821,10 @@ const useWatch = ({ visible, zIndex, opacity, minZoom, maxZoom, layerStyle, requ
|
|
|
21753
21821
|
}
|
|
21754
21822
|
);
|
|
21755
21823
|
};
|
|
21756
|
-
const __default__$
|
|
21824
|
+
const __default__$d = defineComponent({
|
|
21757
21825
|
name: "OlVector"
|
|
21758
21826
|
});
|
|
21759
|
-
const _sfc_main$
|
|
21827
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$d), {
|
|
21760
21828
|
props: __spreadProps(__spreadValues({}, useProps), {
|
|
21761
21829
|
features: {
|
|
21762
21830
|
type: [Array, Object],
|
|
@@ -21961,7 +22029,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
21961
22029
|
};
|
|
21962
22030
|
}
|
|
21963
22031
|
}));
|
|
21964
|
-
const _sfc_main$
|
|
22032
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
21965
22033
|
__name: "index",
|
|
21966
22034
|
props: __spreadProps(__spreadValues({}, useProps), {
|
|
21967
22035
|
url: {
|
|
@@ -22179,10 +22247,10 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
22179
22247
|
};
|
|
22180
22248
|
}
|
|
22181
22249
|
});
|
|
22182
|
-
const __default__$
|
|
22250
|
+
const __default__$c = defineComponent({
|
|
22183
22251
|
name: "OlTile"
|
|
22184
22252
|
});
|
|
22185
|
-
const _sfc_main$
|
|
22253
|
+
const _sfc_main$c = /* @__PURE__ */ Object.assign(__default__$c, {
|
|
22186
22254
|
props: {
|
|
22187
22255
|
mapProvider: {
|
|
22188
22256
|
type: String,
|
|
@@ -22201,14 +22269,14 @@ const _sfc_main$d = /* @__PURE__ */ Object.assign(__default__$d, {
|
|
|
22201
22269
|
},
|
|
22202
22270
|
setup(__props) {
|
|
22203
22271
|
return (_ctx, _cache) => {
|
|
22204
|
-
return openBlock(), createBlock(_sfc_main$
|
|
22272
|
+
return openBlock(), createBlock(_sfc_main$d, { "map-provider": __props.mapProvider }, null, 8, ["map-provider"]);
|
|
22205
22273
|
};
|
|
22206
22274
|
}
|
|
22207
22275
|
});
|
|
22208
|
-
const __default__$
|
|
22276
|
+
const __default__$b = defineComponent({
|
|
22209
22277
|
name: "OlTdt"
|
|
22210
22278
|
});
|
|
22211
|
-
const _sfc_main$
|
|
22279
|
+
const _sfc_main$b = /* @__PURE__ */ Object.assign(__default__$b, {
|
|
22212
22280
|
props: {
|
|
22213
22281
|
mapStyle: {
|
|
22214
22282
|
type: [String, Array],
|
|
@@ -22222,17 +22290,17 @@ const _sfc_main$c = /* @__PURE__ */ Object.assign(__default__$c, {
|
|
|
22222
22290
|
},
|
|
22223
22291
|
setup(__props) {
|
|
22224
22292
|
return (_ctx, _cache) => {
|
|
22225
|
-
return openBlock(), createBlock(_sfc_main$
|
|
22293
|
+
return openBlock(), createBlock(_sfc_main$d, {
|
|
22226
22294
|
"map-provider": "tdt",
|
|
22227
22295
|
"map-style": __props.mapStyle
|
|
22228
22296
|
}, null, 8, ["map-style"]);
|
|
22229
22297
|
};
|
|
22230
22298
|
}
|
|
22231
22299
|
});
|
|
22232
|
-
const __default__$
|
|
22300
|
+
const __default__$a = defineComponent({
|
|
22233
22301
|
name: "OlSupermap"
|
|
22234
22302
|
});
|
|
22235
|
-
const _sfc_main$
|
|
22303
|
+
const _sfc_main$a = /* @__PURE__ */ Object.assign(__default__$a, {
|
|
22236
22304
|
props: {
|
|
22237
22305
|
mapProvider: {
|
|
22238
22306
|
type: String,
|
|
@@ -22249,14 +22317,14 @@ const _sfc_main$b = /* @__PURE__ */ Object.assign(__default__$b, {
|
|
|
22249
22317
|
return "supermap" + mapProvider.value.toLowerCase();
|
|
22250
22318
|
});
|
|
22251
22319
|
return (_ctx, _cache) => {
|
|
22252
|
-
return openBlock(), createBlock(_sfc_main$
|
|
22320
|
+
return openBlock(), createBlock(_sfc_main$d, { "map-provider": getMapProvider.value }, null, 8, ["map-provider"]);
|
|
22253
22321
|
};
|
|
22254
22322
|
}
|
|
22255
22323
|
});
|
|
22256
|
-
const __default__$
|
|
22324
|
+
const __default__$9 = defineComponent({
|
|
22257
22325
|
name: "OlArcgis"
|
|
22258
22326
|
});
|
|
22259
|
-
const _sfc_main$
|
|
22327
|
+
const _sfc_main$9 = /* @__PURE__ */ Object.assign(__default__$9, {
|
|
22260
22328
|
props: {
|
|
22261
22329
|
mapProvider: {
|
|
22262
22330
|
type: String,
|
|
@@ -22273,14 +22341,14 @@ const _sfc_main$a = /* @__PURE__ */ Object.assign(__default__$a, {
|
|
|
22273
22341
|
return "arcgis" + mapProvider.value.toLowerCase();
|
|
22274
22342
|
});
|
|
22275
22343
|
return (_ctx, _cache) => {
|
|
22276
|
-
return openBlock(), createBlock(_sfc_main$
|
|
22344
|
+
return openBlock(), createBlock(_sfc_main$d, { "map-provider": getMapProvider.value }, null, 8, ["map-provider"]);
|
|
22277
22345
|
};
|
|
22278
22346
|
}
|
|
22279
22347
|
});
|
|
22280
|
-
const __default__$
|
|
22348
|
+
const __default__$8 = defineComponent({
|
|
22281
22349
|
name: "OlWms"
|
|
22282
22350
|
});
|
|
22283
|
-
const _sfc_main$
|
|
22351
|
+
const _sfc_main$8 = /* @__PURE__ */ Object.assign(__default__$8, {
|
|
22284
22352
|
props: {
|
|
22285
22353
|
mapProvider: {
|
|
22286
22354
|
type: String,
|
|
@@ -22297,14 +22365,14 @@ const _sfc_main$9 = /* @__PURE__ */ Object.assign(__default__$9, {
|
|
|
22297
22365
|
return "wms" + mapProvider.value.toLowerCase();
|
|
22298
22366
|
});
|
|
22299
22367
|
return (_ctx, _cache) => {
|
|
22300
|
-
return openBlock(), createBlock(_sfc_main$
|
|
22368
|
+
return openBlock(), createBlock(_sfc_main$d, { "map-provider": getMapProvider.value }, null, 8, ["map-provider"]);
|
|
22301
22369
|
};
|
|
22302
22370
|
}
|
|
22303
22371
|
});
|
|
22304
|
-
const __default__$
|
|
22372
|
+
const __default__$7 = defineComponent({
|
|
22305
22373
|
name: "OlVectortile"
|
|
22306
22374
|
});
|
|
22307
|
-
const _sfc_main$
|
|
22375
|
+
const _sfc_main$7 = /* @__PURE__ */ Object.assign(__default__$7, {
|
|
22308
22376
|
props: {
|
|
22309
22377
|
mapProvider: {
|
|
22310
22378
|
type: String,
|
|
@@ -22318,30 +22386,30 @@ const _sfc_main$8 = /* @__PURE__ */ Object.assign(__default__$8, {
|
|
|
22318
22386
|
return "geoservermvt";
|
|
22319
22387
|
});
|
|
22320
22388
|
return (_ctx, _cache) => {
|
|
22321
|
-
return openBlock(), createBlock(_sfc_main$
|
|
22389
|
+
return openBlock(), createBlock(_sfc_main$d, { "map-provider": getMapProvider.value }, null, 8, ["map-provider"]);
|
|
22322
22390
|
};
|
|
22323
22391
|
}
|
|
22324
22392
|
});
|
|
22325
|
-
const __default__$
|
|
22393
|
+
const __default__$6 = defineComponent({
|
|
22326
22394
|
name: "OlGdmap"
|
|
22327
22395
|
});
|
|
22328
|
-
const _sfc_main$
|
|
22396
|
+
const _sfc_main$6 = /* @__PURE__ */ Object.assign(__default__$6, {
|
|
22329
22397
|
setup(__props) {
|
|
22330
22398
|
return (_ctx, _cache) => {
|
|
22331
|
-
return openBlock(), createBlock(_sfc_main$
|
|
22399
|
+
return openBlock(), createBlock(_sfc_main$d, {
|
|
22332
22400
|
"map-provider": unref(V_MAP_PROVIDER).gdmap,
|
|
22333
22401
|
url: "gaode"
|
|
22334
22402
|
}, null, 8, ["map-provider"]);
|
|
22335
22403
|
};
|
|
22336
22404
|
}
|
|
22337
22405
|
});
|
|
22338
|
-
const __default__$
|
|
22406
|
+
const __default__$5 = defineComponent({
|
|
22339
22407
|
name: "OlBdmap"
|
|
22340
22408
|
});
|
|
22341
|
-
const _sfc_main$
|
|
22409
|
+
const _sfc_main$5 = /* @__PURE__ */ Object.assign(__default__$5, {
|
|
22342
22410
|
setup(__props) {
|
|
22343
22411
|
return (_ctx, _cache) => {
|
|
22344
|
-
return openBlock(), createBlock(_sfc_main$
|
|
22412
|
+
return openBlock(), createBlock(_sfc_main$d, {
|
|
22345
22413
|
"map-provider": unref(V_MAP_PROVIDER).bdmap,
|
|
22346
22414
|
url: "baidu"
|
|
22347
22415
|
}, null, 8, ["map-provider"]);
|
|
@@ -22379,10 +22447,10 @@ function detectTiffMinMax(tifUrl) {
|
|
|
22379
22447
|
}
|
|
22380
22448
|
});
|
|
22381
22449
|
}
|
|
22382
|
-
const __default__$
|
|
22450
|
+
const __default__$4 = defineComponent({
|
|
22383
22451
|
name: "OlDisplay"
|
|
22384
22452
|
});
|
|
22385
|
-
const _sfc_main$
|
|
22453
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$4), {
|
|
22386
22454
|
props: {
|
|
22387
22455
|
data: { default: "" },
|
|
22388
22456
|
dataFormat: { default: "geojson" },
|
|
@@ -22525,10 +22593,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
22525
22593
|
const _hoisted_1$3 = { class: "content" };
|
|
22526
22594
|
const _hoisted_2$1 = { class: "content-item" };
|
|
22527
22595
|
const _hoisted_3 = { class: "content-item" };
|
|
22528
|
-
const __default__$
|
|
22596
|
+
const __default__$3 = defineComponent({
|
|
22529
22597
|
name: "VueCard"
|
|
22530
22598
|
});
|
|
22531
|
-
const _sfc_main$
|
|
22599
|
+
const _sfc_main$3 = /* @__PURE__ */ Object.assign(__default__$3, {
|
|
22532
22600
|
props: {
|
|
22533
22601
|
title: {
|
|
22534
22602
|
type: String,
|
|
@@ -22604,7 +22672,7 @@ const _sfc_main$4 = /* @__PURE__ */ Object.assign(__default__$4, {
|
|
|
22604
22672
|
};
|
|
22605
22673
|
}
|
|
22606
22674
|
});
|
|
22607
|
-
const VueCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22675
|
+
const VueCard = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-04c9f839"]]);
|
|
22608
22676
|
function tryOnScopeDispose(fn) {
|
|
22609
22677
|
if (getCurrentScope()) {
|
|
22610
22678
|
onScopeDispose(fn);
|
|
@@ -22679,10 +22747,10 @@ function useResizeObserver(target, callback, options = {}) {
|
|
|
22679
22747
|
}
|
|
22680
22748
|
const _hoisted_1$2 = { style: { "width": "100%", "margin": "0px", "font-size": "16px" } };
|
|
22681
22749
|
const _hoisted_2 = { class: "slotClass" };
|
|
22682
|
-
const __default__$
|
|
22750
|
+
const __default__$2 = defineComponent({
|
|
22683
22751
|
name: "VueDraggablePanel"
|
|
22684
22752
|
});
|
|
22685
|
-
const _sfc_main$
|
|
22753
|
+
const _sfc_main$2 = /* @__PURE__ */ Object.assign(__default__$2, {
|
|
22686
22754
|
props: {
|
|
22687
22755
|
title: {
|
|
22688
22756
|
type: String,
|
|
@@ -23013,7 +23081,7 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign(__default__$3, {
|
|
|
23013
23081
|
};
|
|
23014
23082
|
}
|
|
23015
23083
|
});
|
|
23016
|
-
const VueDraggablePanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23084
|
+
const VueDraggablePanel = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-bdc0a455"]]);
|
|
23017
23085
|
const WKT2WKID = [
|
|
23018
23086
|
{
|
|
23019
23087
|
wkt: 'PROJCS["CGCS2000_3_Degree_GK_Zone_35",GEOGCS["GCS_China_Geodetic_Coordinate_System_2000",DATUM["D_China_2000",SPHEROID["CGCS2000",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Gauss_Kruger"],PARAMETER["False_Easting",35500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",105.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]',
|
|
@@ -52382,10 +52450,10 @@ const _hoisted_1$1 = {
|
|
|
52382
52450
|
key: 1,
|
|
52383
52451
|
class: "el-upload__text"
|
|
52384
52452
|
};
|
|
52385
|
-
const __default__$
|
|
52453
|
+
const __default__$1 = defineComponent({
|
|
52386
52454
|
name: "VueUpload"
|
|
52387
52455
|
});
|
|
52388
|
-
const _sfc_main$
|
|
52456
|
+
const _sfc_main$1 = /* @__PURE__ */ Object.assign(__default__$1, {
|
|
52389
52457
|
props: {
|
|
52390
52458
|
accept: {
|
|
52391
52459
|
type: String,
|
|
@@ -52714,139 +52782,7 @@ const _sfc_main$2 = /* @__PURE__ */ Object.assign(__default__$2, {
|
|
|
52714
52782
|
};
|
|
52715
52783
|
}
|
|
52716
52784
|
});
|
|
52717
|
-
const VueUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
52718
|
-
const __default__$1 = defineComponent({
|
|
52719
|
-
name: "VueTable"
|
|
52720
|
-
});
|
|
52721
|
-
const _sfc_main$1 = /* @__PURE__ */ Object.assign(__default__$1, {
|
|
52722
|
-
props: {
|
|
52723
|
-
showIndex: {
|
|
52724
|
-
type: Boolean,
|
|
52725
|
-
default: false
|
|
52726
|
-
},
|
|
52727
|
-
showPagination: {
|
|
52728
|
-
type: Boolean,
|
|
52729
|
-
default: false
|
|
52730
|
-
},
|
|
52731
|
-
showHeader: {
|
|
52732
|
-
type: Boolean,
|
|
52733
|
-
default: false
|
|
52734
|
-
},
|
|
52735
|
-
tableData: {
|
|
52736
|
-
type: Array,
|
|
52737
|
-
default() {
|
|
52738
|
-
return [];
|
|
52739
|
-
}
|
|
52740
|
-
},
|
|
52741
|
-
tableHeader: {
|
|
52742
|
-
type: Array,
|
|
52743
|
-
default() {
|
|
52744
|
-
return [];
|
|
52745
|
-
}
|
|
52746
|
-
},
|
|
52747
|
-
tableHandler: {
|
|
52748
|
-
type: Array,
|
|
52749
|
-
default() {
|
|
52750
|
-
return [];
|
|
52751
|
-
}
|
|
52752
|
-
}
|
|
52753
|
-
},
|
|
52754
|
-
emits: ["on-handler"],
|
|
52755
|
-
setup(__props, { emit: __emit }) {
|
|
52756
|
-
const props = __props;
|
|
52757
|
-
const emits = __emit;
|
|
52758
|
-
const { tableData, tableHeader, tableHandler, showPagination } = toRefs(props);
|
|
52759
|
-
let tableClass = ref("table-" + parseInt(Math.random() * 1e9));
|
|
52760
|
-
let tableHeight = ref(100);
|
|
52761
|
-
const handleHeaderStyle = () => {
|
|
52762
|
-
return {
|
|
52763
|
-
"background-color": "#e4f0fd",
|
|
52764
|
-
color: "#547d9b"
|
|
52765
|
-
};
|
|
52766
|
-
};
|
|
52767
|
-
onMounted(() => {
|
|
52768
|
-
layoutUpdate({ tableHeight, container: tableClass.value, offset: -30 });
|
|
52769
|
-
});
|
|
52770
|
-
const handleClick = (item, row) => {
|
|
52771
|
-
emits("on-handler", item.method, row);
|
|
52772
|
-
};
|
|
52773
|
-
return (_ctx, _cache) => {
|
|
52774
|
-
const _component_el_table_column = resolveComponent("el-table-column");
|
|
52775
|
-
const _component_el_icon = resolveComponent("el-icon");
|
|
52776
|
-
const _component_el_button = resolveComponent("el-button");
|
|
52777
|
-
const _component_el_table = resolveComponent("el-table");
|
|
52778
|
-
return openBlock(), createElementBlock("div", {
|
|
52779
|
-
class: normalizeClass(unref(tableClass)),
|
|
52780
|
-
style: { "width": "100%", "height": "100%" }
|
|
52781
|
-
}, [
|
|
52782
|
-
createVNode(_component_el_table, {
|
|
52783
|
-
data: unref(tableData),
|
|
52784
|
-
height: unref(tableHeight),
|
|
52785
|
-
style: { "width": "100%" },
|
|
52786
|
-
"show-header": __props.showHeader,
|
|
52787
|
-
border: "",
|
|
52788
|
-
"header-cell-style": handleHeaderStyle
|
|
52789
|
-
}, {
|
|
52790
|
-
default: withCtx(() => [
|
|
52791
|
-
__props.showIndex ? (openBlock(), createBlock(_component_el_table_column, {
|
|
52792
|
-
key: 0,
|
|
52793
|
-
type: "index",
|
|
52794
|
-
label: "序号",
|
|
52795
|
-
width: "80",
|
|
52796
|
-
align: "center"
|
|
52797
|
-
})) : createCommentVNode("", true),
|
|
52798
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(tableHeader), (item, index) => {
|
|
52799
|
-
return openBlock(), createBlock(_component_el_table_column, {
|
|
52800
|
-
type: item.type || "",
|
|
52801
|
-
key: index,
|
|
52802
|
-
prop: item.value,
|
|
52803
|
-
label: item.label,
|
|
52804
|
-
width: item.width || "auto",
|
|
52805
|
-
align: item.align || "center",
|
|
52806
|
-
"show-overflow-tooltip": ""
|
|
52807
|
-
}, null, 8, ["type", "prop", "label", "width", "align"]);
|
|
52808
|
-
}), 128)),
|
|
52809
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(tableHandler), (column, index) => {
|
|
52810
|
-
return openBlock(), createBlock(_component_el_table_column, {
|
|
52811
|
-
key: index,
|
|
52812
|
-
label: column.label,
|
|
52813
|
-
align: "center"
|
|
52814
|
-
}, {
|
|
52815
|
-
default: withCtx(({ row }) => [
|
|
52816
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(column.children, (item, index2) => {
|
|
52817
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
52818
|
-
item.type === "icon" ? (openBlock(), createBlock(_component_el_icon, {
|
|
52819
|
-
key: 0,
|
|
52820
|
-
onClick: ($event) => handleClick(item, row)
|
|
52821
|
-
}, {
|
|
52822
|
-
default: withCtx(() => [
|
|
52823
|
-
(openBlock(), createBlock(resolveDynamicComponent(item.value)))
|
|
52824
|
-
]),
|
|
52825
|
-
_: 2
|
|
52826
|
-
}, 1032, ["onClick"])) : (openBlock(), createBlock(_component_el_button, {
|
|
52827
|
-
key: 1,
|
|
52828
|
-
link: "",
|
|
52829
|
-
onClick: ($event) => handleClick(item, row)
|
|
52830
|
-
}, {
|
|
52831
|
-
default: withCtx(() => [
|
|
52832
|
-
createTextVNode(toDisplayString(item.label), 1)
|
|
52833
|
-
]),
|
|
52834
|
-
_: 2
|
|
52835
|
-
}, 1032, ["onClick"]))
|
|
52836
|
-
], 64);
|
|
52837
|
-
}), 256))
|
|
52838
|
-
]),
|
|
52839
|
-
_: 2
|
|
52840
|
-
}, 1032, ["label"]);
|
|
52841
|
-
}), 128))
|
|
52842
|
-
]),
|
|
52843
|
-
_: 1
|
|
52844
|
-
}, 8, ["data", "height", "show-header"])
|
|
52845
|
-
], 2);
|
|
52846
|
-
};
|
|
52847
|
-
}
|
|
52848
|
-
});
|
|
52849
|
-
const VueTable = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-51928c2c"]]);
|
|
52785
|
+
const VueUpload = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-9be9bfaa"]]);
|
|
52850
52786
|
const __vite_glob_0_0 = '<svg t="1752739427279" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10550" width="32" height="32"><path d="M511.99 960.22C264.84 960.22 63.77 759.15 63.77 512S264.84 63.78 511.99 63.78 960.23 264.85 960.23 512 759.14 960.22 511.99 960.22z m0-823.81C304.88 136.41 136.4 304.89 136.4 512s168.48 375.59 375.59 375.59c207.13 0 375.61-168.48 375.61-375.59S719.12 136.41 511.99 136.41z" p-id="10551"></path></svg>';
|
|
52851
52787
|
const __vite_glob_0_1 = '<svg t="1745981539011" class="icon" viewBox="0 0 1066 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5041"\r\n width="200" height="200">\r\n <path\r\n d="M535.893333 47.018667L129.450667 245.888a42.666667 42.666667 0 0 0-23.893334 38.314667v447.872a42.666667 42.666667 0 0 0 23.594667 38.144L533.333333 972.373333a42.666667 42.666667 0 0 0 38.186667 0l404.181333-202.112a42.666667 42.666667 0 0 0 23.594667-38.144V287.445333a42.666667 42.666667 0 0 0-23.466667-38.144l-402.005333-202.069333a42.666667 42.666667 0 0 0-37.930667-0.213333z m18.517334 85.930666l359.552 180.778667v391.978667l-361.514667 180.778666-361.557333-180.778666V310.826667l363.52-177.877334z"\r\n p-id="5042"></path>\r\n <path\r\n d="M167.253333 249.216a42.666667 42.666667 0 1 0-38.016 76.416l388.352 193.109333a83.072 83.072 0 0 0 74.282667-0.170666L975.786667 325.546667a42.666667 42.666667 0 1 0-38.314667-76.245334l-382.890667 192.554667L167.210667 249.173333z"\r\n p-id="5043"></path>\r\n <path d="M597.333333 934.186667V489.557333h-85.333333v444.586667z" p-id="5044"></path>\r\n</svg>';
|
|
52852
52788
|
const __vite_glob_0_2 = '<svg t="1752739678266" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="14033" width="32" height="32"><path d="M882.3 137.5c2.4 0 4.3 1.9 4.3 4.3v740c0 2.4-1.9 4.3-4.3 4.3h-740c-2.4 0-4.3-1.9-4.3-4.3v-740c0-2.4 1.9-4.3 4.3-4.3h740m0-5.7h-740c-5.5 0-10 4.5-10 10v740c0 5.5 4.5 10 10 10h740c5.5 0 10-4.5 10-10v-740c0-5.5-4.5-10-10-10z" fill="#1296db" p-id="14034"></path><path d="M654.9 817.2c-4 0-8.1-1-11.8-3-7.7-4.3-12.9-12.4-12.9-21.7 0-4.3 1.1-8.4 3.1-12 45-82.7 154.5-316.5 120.5-402.4-5-12.7-12.9-20.4-24.9-24.4-38.5-12.7-94.6 53.9-144.1 112.8-51.2 60.9-99.7 118.3-151.1 122.5-19.9 1.6-38.3-4.8-54.5-18.9-50.9-44.1-16.9-128.2 13.1-202.4 15.7-38.9 37.2-92.2 29.5-108.5-0.3-0.7-1-2.1-4.9-3.2-30.4-9.5-106.2 83.6-155.2 173-6.6 11.9-21.6 16.4-33.5 9.8-11.9-6.6-16.4-21.6-9.8-33.5 28.8-52.6 129.5-222.2 213.1-196.3 16.1 5 28.1 15.1 34.8 29.2 17 35.8-4 87.9-28.3 148.2-22.5 55.9-50.6 125.6-26.4 146.6 7.9 6.8 13.9 7.3 18.3 6.9 30.9-2.5 76.8-56.9 117.2-105 62.5-74.3 127.2-151 197.4-127.9 25.9 8.5 45 26.8 55.3 53.1C848.4 483 694.4 771.9 676.7 804.4c-4.5 8.1-13 12.8-21.8 12.8z m0 0" p-id="14035"></path></svg>';
|
|
@@ -52872,10 +52808,11 @@ const __vite_glob_0_21 = '<svg t="1688700146309" class="icon" viewBox="0 0 1024
|
|
|
52872
52808
|
const __vite_glob_0_22 = '<svg t="1748229069348" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="12036" width="32" height="32"><path d="M603.136 509.44l120.832 208.896-182.784 111.104-125.952-218.112-148.48 143.872-39.424-660.48 551.936 364.544-176.128 50.176z" p-id="12037"></path></svg>';
|
|
52873
52809
|
const __vite_glob_0_23 = '<svg t="1688700699595" class="icon" viewBox="0 0 1024 1024" version="1.1"\r\n xmlns="http://www.w3.org/2000/svg" p-id="14042" width="16" height="16">\r\n <path\r\n d="M664.7 265.6l-519.4 96.7-7.8 7.8v332.7l10.2 10.4 712.3 55 1.2-1.8 4.5-5.4-194.1-488.5-6.9-6.9z m59.4-147.2c45.1 0 83.4 38.8 83.4 84.4 0 33.7-14.8 61-39.3 75.1l-8.5 4.2-3.4 1.1 191.5 452.5 1.2 0.1c23.8 2.6 45.9 15.3 56.7 32.4l3.5 6.6 2.4 7c13.1 33.1 11.4 64.7-7 89.5-19.4 26.2-51.6 38.9-81.2 32.7-29.8 0-55.6-15.6-69-40.1l-4-8.5-2.7-8.1-685.1-49.1-2.2 6.8c-9.5 23.8-29.7 40.9-54.6 46.6l-9.5 1.6-8.9 0.5C42.3 853.7 4 814.9 4 769.3c0-33.7 14.8-61 39.3-75.1l8.5-4.2 7.5-2.7V385.6l-7.5-2.6C28 373.1 11.5 351.9 6 324.3l-1.5-10.6-0.4-10c0-44.8 37.5-78.8 83.4-78.8 29.8 0 55.6 15.6 69 40.1l4 8.5 1.8 5.3L648 176.3l0.2-0.9c7.8-28.1 29.7-48.6 57.5-54.9l9.5-1.6 8.9-0.5z"\r\n p-id="14043"></path>\r\n</svg>';
|
|
52874
52810
|
const __vite_glob_0_24 = '<svg t="1688700548539" class="icon" viewBox="0 0 1024 1024" version="1.1"\r\n xmlns="http://www.w3.org/2000/svg" p-id="5996" width="16" height="16">\r\n <path\r\n d="M419.2 102.4c51.2 0 92.8 41.6 92.8 96 0 25.6-9.6 51.2-28.8 70.4l166.4 416c19.2-12.8 44.8-16 67.2-9.6l172.8-272c-19.2-32-12.8-76.8 19.2-99.2 32-22.4 73.6-12.8 96 22.4 19.2 32 12.8 76.8-19.2 99.2-9.6 6.4-25.6 12.8-38.4 12.8l-176 275.2c28.8 41.6 19.2 102.4-19.2 131.2-41.6 32-99.2 22.4-128-22.4-16-22.4-19.2-48-16-73.6L422.4 291.2h-3.2c-12.8 0-22.4-3.2-32-6.4l-208 243.2c25.6 44.8 6.4 102.4-38.4 128s-99.2 6.4-124.8-38.4-6.4-102.4 38.4-128c22.4-12.8 51.2-16 76.8-6.4l208-243.2c-25.6-44.8-6.4-102.4 38.4-128 12.8-6.4 28.8-9.6 41.6-9.6z"\r\n p-id="5997"></path>\r\n</svg>';
|
|
52875
|
-
const __vite_glob_0_25 = '<svg t="
|
|
52876
|
-
const __vite_glob_0_26 = '<svg t="
|
|
52877
|
-
const __vite_glob_0_27 = '<svg t="
|
|
52878
|
-
const
|
|
52811
|
+
const __vite_glob_0_25 = '<svg t="1787896314987" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"\r\n p-id="11382" width="32" height="32">\r\n <path\r\n d="M128 168v688a40 40 0 0 0 40 40h688a40 40 0 0 0 40-40V168a40 40 0 0 0-40-40H168a40 40 0 0 0-40 40z m72 32h624v624H200z"\r\n p-id="11383"></path>\r\n</svg>';
|
|
52812
|
+
const __vite_glob_0_26 = '<svg t="1748514391543" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="22724" width="32" height="32"><path d="M836.224 106.666667h-490.666667a85.589333 85.589333 0 0 0-85.333333 85.333333V256h-64a85.589333 85.589333 0 0 0-85.333333 85.333333v490.666667a85.589333 85.589333 0 0 0 85.333333 85.333333h490.666667a85.589333 85.589333 0 0 0 85.333333-85.333333V768h64a85.589333 85.589333 0 0 0 85.333333-85.333333V192a85.589333 85.589333 0 0 0-85.333333-85.333333z m-132.266667 725.333333a20.138667 20.138667 0 0 1-21.333333 21.333333h-490.666667a20.138667 20.138667 0 0 1-21.333333-21.333333V341.333333a20.138667 20.138667 0 0 1 21.333333-21.333333h494.933334a20.138667 20.138667 0 0 1 21.333333 21.333333v490.666667z m153.6-149.333333a20.138667 20.138667 0 0 1-21.333333 21.333333h-64V341.333333a85.589333 85.589333 0 0 0-85.333333-85.333333h-362.666667V192a20.138667 20.138667 0 0 1 21.333333-21.333333h490.666667a20.138667 20.138667 0 0 1 21.333333 21.333333z" p-id="22725" fill="#1296db"></path></svg>';
|
|
52813
|
+
const __vite_glob_0_27 = '<svg t="1748229201402" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2017" width="32" height="32"><path d="M672.495448 771.063111C536.288206 861.520472 350.802077 846.716896 230.724063 726.652386 93.758646 589.702371 93.758646 367.662526 230.724063 230.712511 367.68948 93.762496 589.754297 93.762496 726.719714 230.712511 846.795912 350.775203 861.60252 536.236675 771.139544 672.42803 773.082599 674.008086 774.96705 675.706322 776.783972 677.52304L875.05372 775.781733C902.70344 803.428352 903.102472 847.853384 875.518408 875.434352 848.125328 902.824352 803.92872 903.040688 775.854586 874.969704L677.584842 776.711015C675.771042 774.897418 674.074508 773.01162 672.495448 771.063111L672.495448 771.063111ZM677.120149 677.058399C786.692482 567.498387 786.692482 389.86651 677.120149 280.306498 567.547815 170.746486 389.895962 170.746486 280.323628 280.306498 170.751294 389.86651 170.751294 567.498387 280.323628 677.058399 389.895962 786.61841 567.547815 786.61841 677.120149 677.058399ZM320 448 320 512 640 512 640 448 320 448Z" p-id="2018"></path></svg>';
|
|
52814
|
+
const __vite_glob_0_28 = '<svg t="1748229160179" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1831" width="32" height="32"><path d="M672.495448 771.063111C536.288206 861.520472 350.802077 846.716896 230.724063 726.652386 93.758646 589.702371 93.758646 367.662526 230.724063 230.712511 367.68948 93.762496 589.754297 93.762496 726.719714 230.712511 846.795912 350.775203 861.60252 536.236675 771.139544 672.42803 773.082599 674.008086 774.96705 675.706322 776.783972 677.52304L875.05372 775.781733C902.70344 803.428352 903.102472 847.853384 875.518408 875.434352 848.125328 902.824352 803.92872 903.040688 775.854586 874.969704L677.584842 776.711015C675.771042 774.897418 674.074508 773.01162 672.495448 771.063111L672.495448 771.063111ZM677.120149 677.058399C786.692482 567.498387 786.692482 389.86651 677.120149 280.306498 567.547815 170.746486 389.895962 170.746486 280.323628 280.306498 170.751294 389.86651 170.751294 567.498387 280.323628 677.058399 389.895962 786.61841 567.547815 786.61841 677.120149 677.058399ZM448 448 320 448 320 512 448 512 448 640 512 640 512 512 640 512 640 448 512 448 512 320 448 320 448 448Z" p-id="1832"></path></svg>';
|
|
52815
|
+
const svgs = /* @__PURE__ */ Object.assign({ "/src/assets/icons/geometry/circle.svg": __vite_glob_0_0, "/src/assets/icons/geometry/cube.svg": __vite_glob_0_1, "/src/assets/icons/geometry/freehand.svg": __vite_glob_0_2, "/src/assets/icons/vicon/404.svg": __vite_glob_0_3, "/src/assets/icons/vicon/basin.svg": __vite_glob_0_4, "/src/assets/icons/vicon/box.svg": __vite_glob_0_5, "/src/assets/icons/vicon/bug.svg": __vite_glob_0_6, "/src/assets/icons/vicon/chart.svg": __vite_glob_0_7, "/src/assets/icons/vicon/clear.svg": __vite_glob_0_8, "/src/assets/icons/vicon/clipboard.svg": __vite_glob_0_9, "/src/assets/icons/vicon/close.svg": __vite_glob_0_10, "/src/assets/icons/vicon/collapse.svg": __vite_glob_0_11, "/src/assets/icons/vicon/cross.svg": __vite_glob_0_12, "/src/assets/icons/vicon/expand.svg": __vite_glob_0_13, "/src/assets/icons/vicon/fullmap.svg": __vite_glob_0_14, "/src/assets/icons/vicon/layer.svg": __vite_glob_0_15, "/src/assets/icons/vicon/layers.svg": __vite_glob_0_16, "/src/assets/icons/vicon/max.svg": __vite_glob_0_17, "/src/assets/icons/vicon/measurearea.svg": __vite_glob_0_18, "/src/assets/icons/vicon/measureline.svg": __vite_glob_0_19, "/src/assets/icons/vicon/min.svg": __vite_glob_0_20, "/src/assets/icons/vicon/point.svg": __vite_glob_0_21, "/src/assets/icons/vicon/pointer.svg": __vite_glob_0_22, "/src/assets/icons/vicon/polygon.svg": __vite_glob_0_23, "/src/assets/icons/vicon/polyline.svg": __vite_glob_0_24, "/src/assets/icons/vicon/rectangle.svg": __vite_glob_0_25, "/src/assets/icons/vicon/restore.svg": __vite_glob_0_26, "/src/assets/icons/vicon/zoomin.svg": __vite_glob_0_27, "/src/assets/icons/vicon/zoomout.svg": __vite_glob_0_28 });
|
|
52879
52816
|
const svgMap = {};
|
|
52880
52817
|
for (const path2 in svgs) {
|
|
52881
52818
|
const folder = path2.split("/").at(-2);
|
|
@@ -52923,18 +52860,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
52923
52860
|
};
|
|
52924
52861
|
}
|
|
52925
52862
|
}));
|
|
52926
|
-
const SvgIconInner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
52863
|
+
const SvgIconInner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e764b581"]]);
|
|
52927
52864
|
const components = [
|
|
52928
52865
|
OlMap,
|
|
52929
52866
|
OlBasemap,
|
|
52930
52867
|
OlToolbar,
|
|
52931
|
-
_sfc_main$
|
|
52868
|
+
_sfc_main$j,
|
|
52932
52869
|
OlEagle,
|
|
52933
52870
|
OlLayerManager,
|
|
52934
|
-
_sfc_main$
|
|
52871
|
+
_sfc_main$g,
|
|
52935
52872
|
OlOverlay,
|
|
52936
|
-
_sfc_main$
|
|
52937
|
-
_sfc_main$d,
|
|
52873
|
+
_sfc_main$e,
|
|
52938
52874
|
_sfc_main$c,
|
|
52939
52875
|
_sfc_main$b,
|
|
52940
52876
|
_sfc_main$a,
|
|
@@ -52943,6 +52879,7 @@ const components = [
|
|
|
52943
52879
|
_sfc_main$7,
|
|
52944
52880
|
_sfc_main$6,
|
|
52945
52881
|
_sfc_main$5,
|
|
52882
|
+
_sfc_main$4,
|
|
52946
52883
|
VueDraggablePanel,
|
|
52947
52884
|
VueUpload,
|
|
52948
52885
|
VueCard,
|
|
@@ -63792,25 +63729,25 @@ const webimage = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
|
|
|
63792
63729
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
63793
63730
|
export {
|
|
63794
63731
|
GradientColor,
|
|
63795
|
-
_sfc_main$
|
|
63732
|
+
_sfc_main$9 as OlArcgis,
|
|
63796
63733
|
OlBasemap,
|
|
63797
|
-
_sfc_main$
|
|
63798
|
-
_sfc_main$
|
|
63799
|
-
_sfc_main$
|
|
63734
|
+
_sfc_main$5 as OlBdmap,
|
|
63735
|
+
_sfc_main$4 as OlDisplay,
|
|
63736
|
+
_sfc_main$j as OlDrawer,
|
|
63800
63737
|
OlEagle,
|
|
63801
|
-
_sfc_main$
|
|
63738
|
+
_sfc_main$6 as OlGdmap,
|
|
63802
63739
|
OlHandler,
|
|
63803
63740
|
InteractionHandler as OlInteractionHandler,
|
|
63804
63741
|
OlMap,
|
|
63805
63742
|
OlOverlay,
|
|
63806
|
-
_sfc_main$
|
|
63807
|
-
_sfc_main$
|
|
63808
|
-
_sfc_main$
|
|
63809
|
-
_sfc_main$
|
|
63743
|
+
_sfc_main$g as OlPopup,
|
|
63744
|
+
_sfc_main$a as OlSupermap,
|
|
63745
|
+
_sfc_main$b as OlTdt,
|
|
63746
|
+
_sfc_main$c as OlTile,
|
|
63810
63747
|
OlToolbar,
|
|
63811
|
-
_sfc_main$
|
|
63812
|
-
_sfc_main$
|
|
63813
|
-
_sfc_main$
|
|
63748
|
+
_sfc_main$e as OlVector,
|
|
63749
|
+
_sfc_main$7 as OlVectortile,
|
|
63750
|
+
_sfc_main$8 as OlWms,
|
|
63814
63751
|
SvgIconInner,
|
|
63815
63752
|
VcMapUtils as VMapUtils,
|
|
63816
63753
|
VUtils,
|