Skip to content
On this page

ol-zoomtoextent-control

A Zoom to extent control for OpenLayers.

Demo

See Demo page for all Map Controls

Properties

className

  • Type: String
  • Default: ol-zoom-extent

target

  • Type: HTMLElement

label

  • Type: String
  • Default: E

tipLabel

  • Type: String
  • Default: Fit to extent

extent

  • Type: Array