Probably the most commonly used control in our mapping applications will be the Navigation control.
OpenLayers.Control.Navigation control integrates (makes use of) some other controls, such as
OpenLayers.Control.ZoomBox, or a wheel handler, which allows us to pan and zoom the map.
While navigating, moving, or zooming, it can be interesting to store a history of the navigation actions made by the user, so he/she can go back or forward to previous places. Fortunately, we don't need to reinvent the wheel. OpenLayers offers us the
This recipe shows how easy it is to add it to our applications and benefit from its features.
As you can see in the ...