vue-openlayers-plugin 1.0.97 → 1.0.98

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.
Files changed (43) hide show
  1. package/lib/{BasemapPanel-f68eef76.mjs → BasemapPanel-6030a4a6.mjs} +1 -1
  2. package/lib/{CoordinateLocationDialog-74e71a5e.mjs → CoordinateLocationDialog-ad411c69.mjs} +1 -1
  3. package/lib/{MapPrintDialog-2ca10777.mjs → FilterPanel-a23dccbb.mjs} +1 -1
  4. package/lib/{FilterPanel-0a18d5b0.mjs → LayerPanel-457b2eda.mjs} +1 -1
  5. package/lib/{LayerPanel-c4893dcf.mjs → MapPrintDialog-ded74095.mjs} +1 -1
  6. package/lib/{MeasurementDialog-108b6137.mjs → MeasurementDialog-e682de16.mjs} +16 -4
  7. package/lib/{MyMarkersDialog-d7d8dadb.mjs → MyMarkersDialog-75707eb5.mjs} +1 -1
  8. package/lib/{RegionNavigationDialog-56bb0cdc.mjs → RegionNavigationDialog-e3e5b418.mjs} +1 -1
  9. package/lib/{ViewBookmarksDialog-6e34f1a4.mjs → ViewBookmarksDialog-f7c42678.mjs} +1 -1
  10. package/lib/{index-0eba6ebd.mjs → index-6f52fd83.mjs} +1 -1
  11. package/lib/{index-c58be147.mjs → index-da052bda.mjs} +63 -62
  12. package/lib/{index.es-800376a8.mjs → index.es-d8a69c3e.mjs} +1 -1
  13. package/lib/index.esm.js +1 -1
  14. package/lib/index.umd.js +138 -125
  15. package/lib/style.css +11 -11
  16. package/package.json +1 -1
  17. package/types/components/CustomDialog/CustomDialog.vue.d.ts +3 -3
  18. package/types/components/CustomDialog/CustomDialog.vue.d.ts.map +1 -1
  19. package/types/components/OlMapPopup/ArrayPopup.vue.d.ts +2 -2
  20. package/types/components/OlMapPopup/BasePopup.vue.d.ts +2 -2
  21. package/types/components/OlMapPopup/HtmlPopup.vue.d.ts +2 -2
  22. package/types/components/OlMapPopup/ImagePopup.vue.d.ts +2 -2
  23. package/types/core/styles/index.d.ts.map +1 -1
  24. package/types/types/plugin.d.ts +1 -1
  25. package/types/types/plugin.d.ts.map +1 -1
  26. package/types/utils/svgIcons.d.ts +19 -0
  27. package/types/utils/svgIcons.d.ts.map +1 -0
  28. package/lib/layerIcon/arcgis_img.png +0 -0
  29. package/lib/layerIcon/bd_img.png +0 -0
  30. package/lib/layerIcon/bd_vec.png +0 -0
  31. package/lib/layerIcon/bing_img.png +0 -0
  32. package/lib/layerIcon/gaode_img.png +0 -0
  33. package/lib/layerIcon/gaode_vec.png +0 -0
  34. package/lib/layerIcon/google_img.png +0 -0
  35. package/lib/layerIcon/my_blue.png +0 -0
  36. package/lib/layerIcon/my_dark.png +0 -0
  37. package/lib/layerIcon/my_green.png +0 -0
  38. package/lib/layerIcon/null.png +0 -0
  39. package/lib/layerIcon/offline.png +0 -0
  40. package/lib/layerIcon/tdt_img.png +0 -0
  41. package/lib/layerIcon/tdt_vec.png +0 -0
  42. package/lib/layerIcon/tencent_img.png +0 -0
  43. package/lib/layerIcon/tencent_vec.png +0 -0
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, inject, computed, ref, watch, onMounted, onUnmounted, openBlock, createBlock, unref, withCtx, createElementVNode, createElementBlock, Fragment, renderList, normalizeClass, toDisplayString } from "vue";
2
- import { r as resolveBasemapThumbnail, l as layerEventBus, X, d as _export_sfc } from "./index-c58be147.mjs";
2
+ import { r as resolveBasemapThumbnail, l as layerEventBus, X, d as _export_sfc } from "./index-da052bda.mjs";
3
3
  import "@element-plus/icons-vue";
4
4
  import "ol";
5
5
  import "proj4";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, inject, computed, ref, reactive, resolveComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode } from "vue";
2
2
  import { Aim } from "@element-plus/icons-vue";
3
- import { X, T as TooltipHelper, d as _export_sfc } from "./index-c58be147.mjs";
3
+ import { X, T as TooltipHelper, d as _export_sfc } from "./index-da052bda.mjs";
4
4
  import "ol";
5
5
  import "proj4";
6
6
  import "element-plus";
@@ -1,4 +1,4 @@
1
- import { e as _sfc_main } from "./index-c58be147.mjs";
1
+ import { k as _sfc_main } from "./index-da052bda.mjs";
2
2
  import "vue";
3
3
  import "@element-plus/icons-vue";
4
4
  import "ol";
@@ -1,4 +1,4 @@
1
- import { k as _sfc_main } from "./index-c58be147.mjs";
1
+ import { h as _sfc_main } from "./index-da052bda.mjs";
2
2
  import "vue";
3
3
  import "@element-plus/icons-vue";
4
4
  import "ol";
@@ -1,4 +1,4 @@
1
- import { h as _sfc_main } from "./index-c58be147.mjs";
1
+ import { e as _sfc_main } from "./index-da052bda.mjs";
2
2
  import "vue";
3
3
  import "@element-plus/icons-vue";
4
4
  import "ol";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, inject, computed, ref, watch, resolveComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, createElementBlock, Fragment, renderList, normalizeClass } from "vue";
2
- import { X, f as formatMeasurementResult, b as getUnitByType, d as _export_sfc } from "./index-c58be147.mjs";
2
+ import { X, f as formatMeasurementResult, b as getUnitByType, d as _export_sfc } from "./index-da052bda.mjs";
3
3
  import "@element-plus/icons-vue";
4
4
  import "ol";
5
5
  import "proj4";
@@ -55,7 +55,13 @@ const svgPaths = {
55
55
  // 全屏
56
56
  fullscreen: '<path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z" fill="#606266"/>',
57
57
  // 退出全屏
58
- exitFullscreen: '<path d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z" fill="#606266"/>'
58
+ exitFullscreen: '<path d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z" fill="#606266"/>',
59
+ // 额外的图形图标 (for ICON_PATHS)
60
+ pin: '<path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z" fill="#ff4444"/>',
61
+ circle: '<circle cx="12" cy="12" r="8" fill="#3399CC"/>',
62
+ square: '<rect x="6" y="6" width="12" height="12" fill="#3399CC"/>',
63
+ triangle: '<polygon points="12,4 4,20 20,20" fill="#3399CC"/>',
64
+ star: '<polygon points="12,2 15,9 22,9 17,14 19,21 12,17 5,21 7,14 2,9 9,9" fill="#FFD700"/>'
59
65
  };
60
66
  const getIcon = (name) => {
61
67
  const path = svgPaths[name];
@@ -73,7 +79,13 @@ const icons = {
73
79
  clear: getIcon("clear"),
74
80
  close: getIcon("close"),
75
81
  fullscreen: getIcon("fullscreen"),
76
- exitFullscreen: getIcon("exitFullscreen")
82
+ exitFullscreen: getIcon("exitFullscreen"),
83
+ // Additional icons
84
+ pin: getIcon("pin"),
85
+ circle: getIcon("circle"),
86
+ square: getIcon("square"),
87
+ triangle: getIcon("triangle"),
88
+ star: getIcon("star")
77
89
  };
78
90
  const _hoisted_1 = { class: "measurement-content h-full flex flex-col" };
79
91
  const _hoisted_2 = { class: "measurement-header flex justify-between items-center px-6 py-4" };
@@ -445,7 +457,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
445
457
  };
446
458
  }
447
459
  });
448
- const MeasurementDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8b594ab8"]]);
460
+ const MeasurementDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0c2b1184"]]);
449
461
  export {
450
462
  MeasurementDialog as default
451
463
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, inject, computed, ref, reactive, onUnmounted, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, unref, withCtx, createElementVNode, normalizeClass, createTextVNode, toDisplayString, renderList, createBlock, withModifiers, mergeProps } from "vue";
2
2
  import { Plus, FolderOpened, Download, Delete, Search, LocationFilled, Edit } from "@element-plus/icons-vue";
3
3
  import { ElMessageBox } from "element-plus";
4
- import { X, M as MarkerDrawingAdapter, i as fromLonLat, t as toLonLat } from "./index-c58be147.mjs";
4
+ import { X, M as MarkerDrawingAdapter, i as fromLonLat, t as toLonLat } from "./index-da052bda.mjs";
5
5
  import "ol";
6
6
  import "proj4";
7
7
  import "@supermapgis/iclient-ol";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, ref, reactive, resolveComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, normalizeClass } from "vue";
2
- import { X } from "./index-c58be147.mjs";
2
+ import { X } from "./index-da052bda.mjs";
3
3
  import "@element-plus/icons-vue";
4
4
  import "ol";
5
5
  import "proj4";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, inject, computed, ref, reactive, resolveComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, createElementBlock, Fragment, renderList, withModifiers, toDisplayString, createCommentVNode } from "vue";
2
2
  import { Plus, FolderOpened, Download, Delete, Search, Camera, View, Edit, Location, ZoomIn } from "@element-plus/icons-vue";
3
3
  import { ElMessage, ElMessageBox } from "element-plus";
4
- import { X, t as toLonLat, i as fromLonLat, j as getUid } from "./index-c58be147.mjs";
4
+ import { X, t as toLonLat, i as fromLonLat, j as getUid } from "./index-da052bda.mjs";
5
5
  import "ol";
6
6
  import "proj4";
7
7
  import "@supermapgis/iclient-ol";
@@ -1,6 +1,6 @@
1
1
  import { inject, computed, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, unref, createTextVNode, createCommentVNode, createBlock } from "vue";
2
2
  import { Close } from "@element-plus/icons-vue";
3
- import { d as _export_sfc, D as DrawingManager, X } from "./index-c58be147.mjs";
3
+ import { d as _export_sfc, D as DrawingManager, X } from "./index-da052bda.mjs";
4
4
  import "ol";
5
5
  import "proj4";
6
6
  import "element-plus";