Skip to content

Commit

Permalink
fix broken removeMarker
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoe committed May 1, 2019
1 parent 419b1ab commit eda858e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/leaflet.canvas-markers.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ function layerFactory(L) {
data: marker
};

this._removeGeneric(marker, fn);
this._removeGeneric(val, fn);

if (isDisplaying === true && redraw === true) {
self._redraw();
Expand Down

0 comments on commit eda858e

Please sign in to comment.