Skip to content

Commit

Permalink
Remove marker when plugin in closed #144
Browse files Browse the repository at this point in the history
  • Loading branch information
sbk-linus committed Oct 17, 2019
1 parent d43fcbf commit 9a675f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions new-client/src/plugins/coordinates/CoordinatesModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ class CoordinatesModel {
}

addMarker = () => {
if (!this.activated) {
return;
}
var source = this.getSource;
var vectorLayer = this.getVector;

Expand Down

0 comments on commit 9a675f8

Please sign in to comment.