@opengis/partsmap 0.0.48 → 0.0.50
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/dist/PartsMap.js +4 -7
- package/dist/PartsMap.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/PartsMap.js
CHANGED
@@ -18102,10 +18102,10 @@ const Yh = {
|
|
18102
18102
|
}), S.getSource(g) && await S.removeSource(g);
|
18103
18103
|
},
|
18104
18104
|
async setFilter(g, S) {
|
18105
|
-
const C = this.layerList.find((V) => V.id === g);
|
18106
|
-
await (
|
18105
|
+
const C = this.layerList.find((V) => V.id === g), E = await this.map.getSource(g);
|
18106
|
+
await (E == null ? void 0 : E.setTiles([
|
18107
18107
|
`${window.location.origin}${C.url.split("&filter")[0]}${C.url.includes("?") ? "&" : "?"}filter=${S}${C.props ? `&props=${C.props}` : ""}`
|
18108
|
-
]);
|
18108
|
+
]));
|
18109
18109
|
},
|
18110
18110
|
getOrder(g) {
|
18111
18111
|
var S;
|
@@ -20470,10 +20470,7 @@ const Dy = /* @__PURE__ */ hn(wy, [["render", zy], ["__scopeId", "data-v-3740577
|
|
20470
20470
|
initTotal: { type: [Number, String], default: () => "" },
|
20471
20471
|
colorAttr: { type: String, default: () => "" },
|
20472
20472
|
legendname: { type: String, default: () => "" },
|
20473
|
-
center: {
|
20474
|
-
type: Array,
|
20475
|
-
default: () => []
|
20476
|
-
},
|
20473
|
+
center: { type: Array },
|
20477
20474
|
maxBounds: {
|
20478
20475
|
type: Array,
|
20479
20476
|
default: () => [
|