Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use default color

  • Loading branch information...
commit 0c650f157d8a7c0b39ef97c6baf57b2893a69415 1 parent de3b20d
@jacobtoye authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Control.Draw.js
View
2  Control.Draw.js
@@ -27,7 +27,7 @@ L.Control.Draw = L.Control.extend({
}
if (this.options.drawPolygon) {
- handler = new L.Polygon.Draw(map, { color: '#000' });
+ handler = new L.Polygon.Draw(map);
this._createButton(
'Draw a polygon',
className + '-polygon',
Please sign in to comment.
Something went wrong with that request. Please try again.