ym-giswidget-2d 1.0.13 → 1.0.15

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.
@@ -328,10 +328,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
328
328
  getPolygonTempLayer: () => import('ol/layer').Vector<import('ym-giscomm-2d/entity/Feature').default>;
329
329
  getTempLayerByGeoType: (geoType: string) => import('ol/layer').Vector<import('ym-giscomm-2d/entity/Feature').default>;
330
330
  resetViewProjection: (projection: string) => void;
331
+ sortTemLayer: () => void;
331
332
  getExtent: () => import('ol/extent').Extent;
332
- addWKT: (wkt: string, wkid: number, location?: boolean, fillColor?: string, strokeColor?: string, strokeWidth?: number) => void;
333
- addWKTs: (wkts: string[], wkid: number, location?: boolean, fillColor?: string, strokeColor?: string, strokeWidth?: number) => void;
334
- clearTempFeatures: () => void;
333
+ addWKT: (wkt: string, wkid: number, tag?: string, location?: boolean, fillColor?: string, strokeColor?: string, strokeWidth?: number) => void;
334
+ addWKTs: (wkts: string[], wkid: number, tag?: string, location?: boolean, fillColor?: string, strokeColor?: string, strokeWidth?: number) => void;
335
+ clearTempFeatures: (tag?: string) => void;
335
336
  on: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
336
337
  once: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
337
338
  un: import('ol/Map').MapEventHandler<void>;
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./MultiScreen.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- const _MultiScreen = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-34aec27a"]]);
4
+ const _MultiScreen = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-174306d9"]]);
5
5
  export {
6
6
  _MultiScreen as default
7
7
  };
@@ -48,8 +48,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
48
48
  });
49
49
  onUnmounted(() => {
50
50
  });
51
- function loadedLayer() {
52
- emit("loaded");
51
+ function loadedLayer(map) {
52
+ emit("loaded", map);
53
53
  }
54
54
  const screenStyle = computed(
55
55
  () => {
@@ -77,8 +77,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
77
77
  key: 0,
78
78
  data: _ctx.layers,
79
79
  map: reactiveValue.screenMaps[item - 1],
80
- onLoaded: loadedLayer
81
- }, null, 8, ["data", "map"])) : createCommentVNode("", true)
80
+ onLoaded: ($event) => loadedLayer(reactiveValue.screenMaps[item - 1])
81
+ }, null, 8, ["data", "map", "onLoaded"])) : createCommentVNode("", true)
82
82
  ], 4);
83
83
  }), 128))
84
84
  ]);
@@ -1,12 +1,12 @@
1
- .multi-screen-container[data-v-34aec27a] {
1
+ .multi-screen-container[data-v-174306d9] {
2
2
  display: flex;
3
3
  height: 100%;
4
4
  width: 100%;
5
5
  }
6
- .multi-screen-container .multi-screen[data-v-34aec27a] {
6
+ .multi-screen-container .multi-screen[data-v-174306d9] {
7
7
  border: 1px solid black;
8
8
  }
9
- .multi-screen-container .multi-screen .multi-screen__map[data-v-34aec27a] {
9
+ .multi-screen-container .multi-screen .multi-screen__map[data-v-174306d9] {
10
10
  width: 100%;
11
11
  height: 100%;
12
12
  }
@@ -324,10 +324,11 @@ export declare const MultiScreen: import('../../utils').WithInstall<import('vue'
324
324
  getPolygonTempLayer: () => import('ol/layer').Vector<import('ym-giscomm-2d/entity/Feature').default>;
325
325
  getTempLayerByGeoType: (geoType: string) => import('ol/layer').Vector<import('ym-giscomm-2d/entity/Feature').default>;
326
326
  resetViewProjection: (projection: string) => void;
327
+ sortTemLayer: () => void;
327
328
  getExtent: () => import('ol/extent').Extent;
328
- addWKT: (wkt: string, wkid: number, location?: boolean, fillColor?: string, strokeColor?: string, strokeWidth?: number) => void;
329
- addWKTs: (wkts: string[], wkid: number, location?: boolean, fillColor?: string, strokeColor?: string, strokeWidth?: number) => void;
330
- clearTempFeatures: () => void;
329
+ addWKT: (wkt: string, wkid: number, tag?: string, location?: boolean, fillColor?: string, strokeColor?: string, strokeWidth?: number) => void;
330
+ addWKTs: (wkts: string[], wkid: number, tag?: string, location?: boolean, fillColor?: string, strokeColor?: string, strokeWidth?: number) => void;
331
+ clearTempFeatures: (tag?: string) => void;
331
332
  on: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
332
333
  once: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
333
334
  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.13",
3
+ "version": "1.0.15",
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-giscomm-2d": "1.0.10"
13
+ "ym-giscomm-2d": "1.0.11"
14
14
  }
15
15
  }