<ZoomIn />

Constructor

# <ZoomIn map increment holdIncrement />

A simple map zoom in control
PropTypes:
Name Type Required Description Default
map object Yes reference to Openlayers map object
increment number No delta for the amount of zoom 0.5
holdIncrement number No delta for the amount of zoom when holding down 0.2
Since:
  • 0.14.0

View Source Controls/ZoomIn.js, line 15