Unless you want to create a completely static map, without the controls required for the user to pan or zoom, you would like the user to be able to navigate and explore the map.
There can be situations when the controls are not enough. Imagine a web application where the user can make a search, such as Everest, and the application must find its location and fly to it. In this case, you need to navigate by code and not by using a control.
This recipe shows you some of the
OpenLayers.Map class methods that will allow you to improve the user's experience.
The application layout contains three main sections. At the top there ...