This example displays a map of Boston, covering the area from 42.3736°N, 71.0751°W in the North-West corner to 42.3472°N, 71.0408°W in the South-East corner.

Code

Passing the bounds to the setLookAtData method of the H.map.ViewModel moves and zooms the map to cover the specified area.