File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
// @section Interaction Options
7
7
8
8
L . Map . mergeOptions ( {
9
- // @option doubleClickZoom: Boolean = true
9
+ // @option doubleClickZoom: Boolean|String = true
10
10
// Whether the map can be zoomed in by double clicking on it and
11
11
// zoomed out by double clicking while holding shift. If passed
12
12
// `'center'`, double-click zoom will zoom to the center of the
Original file line number Diff line number Diff line change 6
6
// @section Interaction Options
7
7
L . Map . mergeOptions ( {
8
8
// @section Mousewheel options
9
- // @option scrollWheelZoom: Boolean = true
9
+ // @option scrollWheelZoom: Boolean|String = true
10
10
// Whether the map can be zoomed by using the mouse wheel. If passed `'center'`,
11
11
// it will zoom to the center of the view regardless of where the mouse was.
12
12
scrollWheelZoom : true ,
Original file line number Diff line number Diff line change 6
6
// @section Interaction Options
7
7
L . Map . mergeOptions ( {
8
8
// @section Touch interaction options
9
- // @option touchZoom: Boolean = *
9
+ // @option touchZoom: Boolean|String = *
10
10
// Whether the map can be zoomed by touch-dragging with two fingers. If
11
11
// passed `'center'`, it will zoom to the center of the view regardless of
12
12
// where the touch events (fingers) were. Enabled for touch-capable web
You can’t perform that action at this time.
0 commit comments