Skip to content

Commit

Permalink
Also remove highlight for parents and hide the identifier overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
dersmon committed Jul 31, 2024
1 parent 0432ac8 commit 927958f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions publication/assets/js/document-view-map-hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,10 @@ export default getDocumentViewMapHook = () => {
}
},
clearAllHighlights() {
this.setFillForParents(false);
this.setFillForSelectedDocument(false);
this.setFillForChildren(false);
this.identifierOverlay.setPosition(undefined)
},
toggleLayerVisibility(uuid, visibility) {
const layer = this.map.getLayers().getArray().find(layer => layer.get('name') == uuid)
Expand Down

0 comments on commit 927958f

Please sign in to comment.