Skip to content

Commit

Permalink
fix: properly remove markers
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulthink committed Feb 13, 2024
1 parent ba58c4d commit 3bdd75e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export class Renderer extends EventTarget {

for (const markerId of toRemove) {
this.markersById[markerId].destroy();
delete this.markersById[markerId];
}

for (let props of markerProps) {
Expand Down

0 comments on commit 3bdd75e

Please sign in to comment.