mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 20:37:14 +08:00
Merge pull request #2903 from geirsagberg/patch-3
Change doubleClickZoom to boolean type.
This commit is contained in:
8
leaflet/leaflet.d.ts
vendored
8
leaflet/leaflet.d.ts
vendored
@@ -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?: string;
|
||||
//doubleClickZoom?: boolean;
|
||||
//doubleClickZoom?: string;
|
||||
doubleClickZoom?: boolean;
|
||||
|
||||
/**
|
||||
* Whether the map can be zoomed to a rectangular area specified by dragging
|
||||
|
||||
Reference in New Issue
Block a user