This example shows a rectangle covering part of Western Europe displayed on a moveable map.

Code

A rectangle is created using the H.map.Rect class, passing in an H.geo.Rect holding the top-left and bottom-right points of the rectangle.