This commit is contained in:
parent
ce9b9f58bd
commit
c10f405a11
@ -140,7 +140,7 @@ L.Polygon = L.Polyline.extend({
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
// @factory L.polygon(latlngs: LatLng[], options?: Path options)
|
// @factory L.polygon(latlngs: LatLng[], options?: Polyline options)
|
||||||
L.polygon = function (latlngs, options) {
|
L.polygon = function (latlngs, options) {
|
||||||
return new L.Polygon(latlngs, options);
|
return new L.Polygon(latlngs, options);
|
||||||
};
|
};
|
||||||
|
@ -48,7 +48,7 @@ L.Rectangle = L.Polygon.extend({
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
// @factory L.rectangle(latLngBounds: LatLngBounds, options?: Path options)
|
// @factory L.rectangle(latLngBounds: LatLngBounds, options?: Polyline options)
|
||||||
L.rectangle = function (latLngBounds, options) {
|
L.rectangle = function (latLngBounds, options) {
|
||||||
return new L.Rectangle(latLngBounds, options);
|
return new L.Rectangle(latLngBounds, options);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user