Skip to content

Commit

Permalink
Fix position of markers immediately after enabling layer.
Browse files Browse the repository at this point in the history
  • Loading branch information
modos189 committed May 22, 2019
1 parent a99a16a commit f7b32c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugin/leaflet.canvas-markers.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function layerFactory(L) {
this.getPane().appendChild(this._container);
L.DomUtil.toBack(this._container);
this._update();
this._updateTransform(this._center, this._zoom);
this._updateCtx();
this._draw();
},
Expand Down

0 comments on commit f7b32c9

Please sign in to comment.