Skip to content

Commit

Permalink
Merge pull request Leaflet#856 from octavm/patch-1
Browse files Browse the repository at this point in the history
Moved 'showArea' out of 'shapeOptions'
  • Loading branch information
ddproxy authored Aug 10, 2018
2 parents f96fdae + 85f2ab2 commit 8dc1806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/draw/handler/Draw.Rectangle.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ L.Draw.Rectangle = L.Draw.SimpleShape.extend({
fill: true,
fillColor: null, //same as color by default
fillOpacity: 0.2,
showArea: true,
clickable: true
},
showArea: true, //Whether to show the area in the tooltip
metric: true // Whether to use the metric measurement system or imperial
},

Expand Down

0 comments on commit 8dc1806

Please sign in to comment.