enable method

dynamic enable([
  1. dynamic options
])

Enables the "scroll to zoom" interaction.

@param {Object} options @param {string} options.around If "center" is passed, map will zoom around center of map

@example map.scrollZoom.enable(); @example map.scrollZoom.enable({ around: 'center' })

Implementation

enable([dynamic options]) => jsObject.enable(options);