This example displays an extruded polygon and circle located in the central Paris and displayed on a moveable map. Hold Alt+Left mouse button to tilt and rotate the map.

Code

A polygon is created using the H.map.Polygon class, passing in an H.geo.LineString holding the vertices of the polygon. The circle is created with the H.map.Circle class, passing in a center and the radius of the circle. The extrusion of both objects is defined by the extrude optional parameter.