--- 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