Skip to content

Commit

Permalink
Merge pull request #131 from janu75/master
Browse files Browse the repository at this point in the history
Bugfix: Check for circle constructor

Thanks @janu75 !
  • Loading branch information
Joseph Smith authored Oct 3, 2018
2 parents df4bca9 + b1d747b commit d48397f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wicket-leaflet.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@
}

// L.Circle ////////////////////////////////////////////////////////////////
if (obj.constructor === L.Rectangle || obj.constructor === L.rectangle) {
if (obj.constructor === L.Circle || obj.constructor === L.circle) {
console.log('Deconstruction of L.Circle objects is not yet supported');

} else {
Expand Down

0 comments on commit d48397f

Please sign in to comment.