Changed doubleClickZoom and scrollWheelZoom

Set type to 'boolean' to match docs.
This commit is contained in:
Geir Sagberg
2014-10-01 21:51:09 +02:00
parent c66733739b
commit 7bf79bf1e6
+2 -6
View File
@@ -2418,9 +2418,7 @@ declare module L {
*
* Default value: true.
*/
scrollWheelZoom?: any;
//scrollWheelZoom?: boolean;
//scrollWheelZoom?: string;
scrollWheelZoom?: boolean;
/**
* Whether the map can be zoomed in by double clicking on it and zoomed out
@@ -2430,9 +2428,7 @@ declare module L {
*
* Default value: true.
*/
doubleClickZoom?: any;
//doubleClickZoom?: boolean;
//doubleClickZoom?: string;
doubleClickZoom?: boolean;
/**
* Whether the map can be zoomed to a rectangular area specified by dragging