Skip to content

Commit

Permalink
fix: clear highlight on unbind (Resolves #422)
Browse files Browse the repository at this point in the history
  • Loading branch information
techfg committed Apr 30, 2024
1 parent b53b04d commit 6e2b45d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mapdata.js
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,7 @@
},
clearMapData: function (preserveState) {
var me = this;
me.ensureNoHighlight();
this._clearCanvases(preserveState);

// release refs to DOM elements
Expand Down

0 comments on commit 6e2b45d

Please sign in to comment.