ym-giswidget-2d 1.0.35 → 1.0.37
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.
|
@@ -74,7 +74,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
if (unionGeometry) {
|
|
77
|
-
props.map.
|
|
77
|
+
props.map.locationGeometry(unionGeometry);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
function showImportResult(res) {
|
|
@@ -106,7 +106,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
106
|
}
|
|
107
107
|
(_a = templayer.getSource()) == null ? void 0 : _a.addFeatures(features);
|
|
108
108
|
if (unionGeometry) {
|
|
109
|
-
props.map.
|
|
109
|
+
props.map.locationGeometry(unionGeometry);
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
function getStyle(geoType) {
|
|
@@ -390,8 +390,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
390
390
|
resetViewProjection: (projection: string) => void;
|
|
391
391
|
sortTemLayer: () => void;
|
|
392
392
|
getExtent: () => import('ol/extent').Extent;
|
|
393
|
-
addWKT: (wkt: string,
|
|
394
|
-
addWKTs: (wkts: string[],
|
|
393
|
+
addWKT: (wkt: string, proj: string, tag?: string, location?: boolean, style?: import('ym-gis-2d/entity/IStyle').default) => void;
|
|
394
|
+
addWKTs: (wkts: string[], proj: string, tag?: string, location?: boolean, style?: import('ym-gis-2d/entity/IStyle').default) => void;
|
|
395
|
+
locationWKT: (wkt: string, proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
396
|
+
locationWKTs: (wkts: string[], proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
397
|
+
locationGeometry: (geometry: import('ol/geom').Geometry, proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
398
|
+
locationGeometrys: (geometrys: import('ol/geom').Geometry[], proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
395
399
|
on: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
396
400
|
once: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
397
401
|
un: import('ol/Map').MapEventHandler<void>;
|
|
@@ -389,8 +389,12 @@ export declare const MapView: import('../../utils').WithInstall<import('vue').De
|
|
|
389
389
|
resetViewProjection: (projection: string) => void;
|
|
390
390
|
sortTemLayer: () => void;
|
|
391
391
|
getExtent: () => import('ol/extent').Extent;
|
|
392
|
-
addWKT: (wkt: string,
|
|
393
|
-
addWKTs: (wkts: string[],
|
|
392
|
+
addWKT: (wkt: string, proj: string, tag?: string, location?: boolean, style?: import('ym-gis-2d/entity/IStyle').default) => void;
|
|
393
|
+
addWKTs: (wkts: string[], proj: string, tag?: string, location?: boolean, style?: import('ym-gis-2d/entity/IStyle').default) => void;
|
|
394
|
+
locationWKT: (wkt: string, proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
395
|
+
locationWKTs: (wkts: string[], proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
396
|
+
locationGeometry: (geometry: import('ol/geom').Geometry, proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
397
|
+
locationGeometrys: (geometrys: import('ol/geom').Geometry[], proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
394
398
|
on: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
395
399
|
once: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
396
400
|
un: import('ol/Map').MapEventHandler<void>;
|
|
@@ -396,8 +396,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
396
396
|
resetViewProjection: (projection: string) => void;
|
|
397
397
|
sortTemLayer: () => void;
|
|
398
398
|
getExtent: () => import('ol/extent').Extent;
|
|
399
|
-
addWKT: (wkt: string,
|
|
400
|
-
addWKTs: (wkts: string[],
|
|
399
|
+
addWKT: (wkt: string, proj: string, tag?: string, location?: boolean, style?: import('ym-gis-2d/entity/IStyle').default) => void;
|
|
400
|
+
addWKTs: (wkts: string[], proj: string, tag?: string, location?: boolean, style?: import('ym-gis-2d/entity/IStyle').default) => void;
|
|
401
|
+
locationWKT: (wkt: string, proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
402
|
+
locationWKTs: (wkts: string[], proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
403
|
+
locationGeometry: (geometry: import('ol/geom').Geometry, proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
404
|
+
locationGeometrys: (geometrys: import('ol/geom').Geometry[], proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
401
405
|
on: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
402
406
|
once: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
403
407
|
un: import('ol/Map').MapEventHandler<void>;
|
|
@@ -392,8 +392,12 @@ export declare const MultiScreen: import('../../utils').WithInstall<import('vue'
|
|
|
392
392
|
resetViewProjection: (projection: string) => void;
|
|
393
393
|
sortTemLayer: () => void;
|
|
394
394
|
getExtent: () => import('ol/extent').Extent;
|
|
395
|
-
addWKT: (wkt: string,
|
|
396
|
-
addWKTs: (wkts: string[],
|
|
395
|
+
addWKT: (wkt: string, proj: string, tag?: string, location?: boolean, style?: import('ym-gis-2d/entity/IStyle').default) => void;
|
|
396
|
+
addWKTs: (wkts: string[], proj: string, tag?: string, location?: boolean, style?: import('ym-gis-2d/entity/IStyle').default) => void;
|
|
397
|
+
locationWKT: (wkt: string, proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
398
|
+
locationWKTs: (wkts: string[], proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
399
|
+
locationGeometry: (geometry: import('ol/geom').Geometry, proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
400
|
+
locationGeometrys: (geometrys: import('ol/geom').Geometry[], proj?: string, ratio?: number, isFlash?: boolean) => void;
|
|
397
401
|
on: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
398
402
|
once: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
399
403
|
un: import('ol/Map').MapEventHandler<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ym-giswidget-2d",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.37",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
"element-plus": "^2.9.0",
|
|
11
11
|
"jszip": "^3.10.1",
|
|
12
12
|
"ol": "^9.2.4",
|
|
13
|
-
"ym-gis-2d": "1.0.
|
|
13
|
+
"ym-gis-2d": "1.0.16"
|
|
14
14
|
}
|
|
15
15
|
}
|