Skip to content

Commit

Permalink
feat(MarkersPlugin): add getMarkers function (katspaugh#2743)
Browse files Browse the repository at this point in the history
  • Loading branch information
FalkF committed Mar 26, 2023
1 parent 6f3c193 commit eb1a9dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugin/markers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ export default class MarkersPlugin {
}
return this.markers.add(options);
},
getMarkers() {
return this.markers;
},
clearMarkers() {
this.markers && this.markers.clear();
}
Expand Down

0 comments on commit eb1a9dd

Please sign in to comment.