@opengis/partsmap 0.0.49 → 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 +3 -3
- package/dist/PartsMap.umd.cjs +1 -1
- 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;
|