Skip to content

Commit

Permalink
Update flatmap-viewer which fixes an issue with selectGeoJSONFeatures…
Browse files Browse the repository at this point in the history
… call.
  • Loading branch information
alan-wu committed Sep 2, 2024
1 parent 9833cf0 commit 0745f7e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/components/FlatmapVuer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0745f7e

Please sign in to comment.