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

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

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({