Back to Openlayers

Navigation Controls

examples/navigation-controls.html

10.9.0345 B
Original Source

--- layout: example.html title: Navigation Controls shortdesc: Shows how to add navigation controls. docs: >

This example shows how to use the ol/control/ZoomToExtent control.

The following navigation controls are added to the map:

  • ol/control/Zoom (added by default)
  • ol/control/ZoomToExtent

tags: "control, navigation, extent" ---