by Torstein Hønsi
Highmaps supports different ways of navigating around the map - zooming, panning, zooming to an area etc. The API options related to this can be viewed at mapNavigation.
Please note that mapNavigation is disabled by default because the implementer should be concious that it may interfere with the navigation of the web page in general. When scrolling the mouse wheel over a map, the user may expect the web page to scroll, while Highmaps will capture the mousewheel event and zoom the map. The same goes for touch devices, where unless used right, the map may trap the user unable to zoom out to the page outside the map. So zooming should only be enabled in cases where the map actually needs it.
Two buttons, [+] and [-], are by default shown on each map when navigation is enabled. These provide zooming in and zooming out.
On touch devices, zooming and panning may be performed by pinch and touch-drag gestures.
Mousewheeling zooms in and out the map around the point under the mouse.
Doubleclick by default zooms in, focused on the point under the mouse. Following the enableDoubleClickZoomTo option, double clicking may zoom fully in to a specific point.