Fixing typo in Rectanlge.js description. Adding Rectangle.js to dependencies.

This commit is contained in:
Jason Sanford 2012-02-23 14:02:10 -07:00
parent 329da706e8
commit a7081e6927
2 changed files with 7 additions and 1 deletions

View File

@ -114,6 +114,12 @@ var deps = {
src: ['layer/vector/MultiPoly.js'], src: ['layer/vector/MultiPoly.js'],
deps: ['FeatureGroup', 'Polyline', 'Polygon'], deps: ['FeatureGroup', 'Polyline', 'Polygon'],
desc: 'MultiPolygon and MultyPolyline layers.' desc: 'MultiPolygon and MultyPolyline layers.'
},
Rectangle: {
src: ['layer/vector/Rectangle.js'],
deps: ['Polygon'],
desc: ['Rectangle overlays.']
}, },
Circle: { Circle: {

View File

@ -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({ L.Rectangle = L.Polygon.extend({