v-openlayers 2.4.0 → 2.5.0

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.
@@ -35329,19 +35329,19 @@ class Py {
35329
35329
  });
35330
35330
  }
35331
35331
  getSuperMapWmts({ prj: t, options: e }) {
35332
- const i = mt(di[t].prj).getExtent(), { resolutions: o, matrixIds: a, origin: l } = di[t], { requestParams: u } = e, c = new Go({
35333
- origin: u.origin || l || Lr(i),
35334
- resolutions: u.resolutions || o,
35335
- matrixIds: u.matrixIds || a
35332
+ const i = mt(di[t].prj).getExtent(), { resolutions: o, matrixIds: a, origin: l } = di[t], u = new Go({
35333
+ origin: e.origin || l || Lr(i),
35334
+ resolutions: e.resolutions || o,
35335
+ matrixIds: e.matrixIds || a
35336
35336
  });
35337
35337
  return new Rr({
35338
35338
  ...Na(e),
35339
35339
  source: new Fa({
35340
- tileGrid: c,
35340
+ tileGrid: u,
35341
35341
  projection: t,
35342
- tileUrlFunction: function(f) {
35343
- const d = f[0], g = f[1], p = f[2];
35344
- return `${e.url}&request=gettile&tilecol=${g}&tilerow=${p}&tilematrix=${d}`;
35342
+ tileUrlFunction: function(h) {
35343
+ const f = h[0], d = h[1], g = h[2];
35344
+ return `${e.url}&request=gettile&tilecol=${d}&tilerow=${g}&tilematrix=${f}`;
35345
35345
  }
35346
35346
  })
35347
35347
  });
@@ -56172,7 +56172,7 @@ class bv extends cy {
56172
56172
  }), this.draw = p, e.addInteraction(p);
56173
56173
  let v = "";
56174
56174
  this.initConditions(g);
56175
- const { excludeGeometries: x = [] } = g;
56175
+ const { intersectGeometries: x = [] } = g;
56176
56176
  p.on("drawstart", (w) => {
56177
56177
  const S = w.feature;
56178
56178
  let C = [];
@@ -60765,6 +60765,24 @@ const YG = ["id"], XG = {
60765
60765
  default() {
60766
60766
  return {};
60767
60767
  }
60768
+ },
60769
+ origin: {
60770
+ type: [Array, null],
60771
+ default() {
60772
+ return null;
60773
+ }
60774
+ },
60775
+ resolutions: {
60776
+ type: [Array, null],
60777
+ default() {
60778
+ return null;
60779
+ }
60780
+ },
60781
+ matrixIds: {
60782
+ type: [Array, null],
60783
+ default() {
60784
+ return null;
60785
+ }
60768
60786
  }
60769
60787
  },
60770
60788
  emits: eC,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "v-openlayers",
3
3
  "description": "基于vue3+openlayers封装的组件库",
4
4
  "author": "kangjinrui<1092014304@qq.com>",
5
- "version": "2.4.0",
5
+ "version": "2.5.0",
6
6
  "private": false,
7
7
  "main": "package/v-openlayers.mjs",
8
8
  "keywords": [