Shows how to add navigation controls.
This example shows how to use the beforeRender function on the Map to run one or more animations.
The following navigation controls are added to the map:
ol.control.Zoom
(added by default)ol.control.ZoomToExtent