I have the fallowing code:
map: function (events) { var arrayOfLatLngs = []; var _this = this; // setup a marker group var markers = L.markerClu
I used a combination of the two best answers here from beije and Prayitno Ashuri.
Saving the markers to "this" so we can reference it later.
this.marker = L.marker([event.location.lat, event.location.lng]);
and then just removing the markers.
this.markers.remove()