Polygons

Learn how to work with polygons on a map.

Polygons represent a two-dimensional plane enclosed by a closed path where a series of coordinates define the enclosed path. A polygon has at least three sides. A Polygon object is drawn with a stroke and a fill. We can define custom style options for the stroke and custom colors for the enclosed area of the polygon.

Get hands-on with 1200+ tech skills courses.