Fixing typo in Rectanlge.js description. Adding Rectangle.js to dependencies.
This commit is contained in:
parent
329da706e8
commit
a7081e6927
@ -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: {
|
||||||
|
@ -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({
|
||||||
|
Loading…
Reference in New Issue
Block a user