diff --git a/package-lock.json b/package-lock.json index 162fd192..eaffcb4b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.4.2", "license": "Apache-2.0", "dependencies": { - "@abi-software/flatmap-viewer": "3.1.4", + "@abi-software/flatmap-viewer": "3.1.7", "@abi-software/map-utilities": "1.1.0", "@abi-software/sparc-annotation": "0.3.1", "@abi-software/svg-sprite": "1.0.0", @@ -43,9 +43,9 @@ } }, "node_modules/@abi-software/flatmap-viewer": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/@abi-software/flatmap-viewer/-/flatmap-viewer-3.1.4.tgz", - "integrity": "sha512-TufhMTpMMbPSI/VxsYgjsBIQ10fwCqruO1m+aHapYdioKQcsBSdhIuib+86Hj6ZKF6dSdkA37NWaMY3YlBV/qw==", + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/@abi-software/flatmap-viewer/-/flatmap-viewer-3.1.7.tgz", + "integrity": "sha512-nNyeMKWumA6Q+nu3Vj/S1/KuuZc6dLl0SuTWZllyD+vkED4SqlSliP4DKHBES+ajsxeIPOzZI1TZWwHQV2U0jw==", "dependencies": { "@deck.gl/core": "^9.0.17", "@deck.gl/geo-layers": "^9.0.18", diff --git a/package.json b/package.json index 500281fc..dedd66d9 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "./src/*": "./src/*" }, "dependencies": { - "@abi-software/flatmap-viewer": "3.1.4", + "@abi-software/flatmap-viewer": "3.1.7", "@abi-software/map-utilities": "1.1.0", "@abi-software/sparc-annotation": "0.3.1", "@abi-software/svg-sprite": "1.0.0", diff --git a/src/components/FlatmapVuer.vue b/src/components/FlatmapVuer.vue index 8385e8d9..03929469 100644 --- a/src/components/FlatmapVuer.vue +++ b/src/components/FlatmapVuer.vue @@ -1514,7 +1514,7 @@ export default { this.mapImp.zoomToGeoJSONFeatures(gid, {noZoomIn: true}) } else { // reset visibility of paths - this.mapImp.selectGeoJSONFeatures("-1") + this.mapImp.unselectGeoJSONFeatures() payload.selections.forEach((item) => { let show = payload.checked.includes(item.taxon) this.mapImp.enableConnectivityByTaxonIds(item.taxon, show)