Navigation controls example

Shows how to add navigation controls.

The following navigation controls are added to the map:
  • ol.control.Zoom (added by default)
  • ol.control.ZoomToExtent

See the navigation-controls.js source to see how this is done.

control, navigation, extent