diff --git a/build/deps.js b/build/deps.js index 8ea6dd28..22d86ffc 100644 --- a/build/deps.js +++ b/build/deps.js @@ -114,6 +114,12 @@ var deps = { src: ['layer/vector/MultiPoly.js'], deps: ['FeatureGroup', 'Polyline', 'Polygon'], desc: 'MultiPolygon and MultyPolyline layers.' + }, + + Rectangle: { + src: ['layer/vector/Rectangle.js'], + deps: ['Polygon'], + desc: ['Rectangle overlays.'] }, Circle: { diff --git a/src/layer/vector/Rectangle.js b/src/layer/vector/Rectangle.js index 57c73d00..2ea985b9 100644 --- a/src/layer/vector/Rectangle.js +++ b/src/layer/vector/Rectangle.js @@ -1,5 +1,5 @@ /* - * L.Rectangle extends Polygon and creates a rectangle when passed at LatLngBounds + * L.Rectangle extends Polygon and creates a rectangle when passed a LatLngBounds */ L.Rectangle = L.Polygon.extend({