enable method
dynamic
enable([
- 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);