<ZoomOut />

Constructor

# <ZoomOut map decrement holdDecrement />

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

View Source Controls/ZoomOut.js, line 15