Skip to main content

Polylines & Polygons

Learn how to draw lines and polygons on your maps.

Simple Polyline

Styled Polyline

Multiple Routes

Simple Polygon

Styled Polygon

Polygon with Hole

Route with Waypoints

Interactive Drawing

Zones and Regions

Dashed Lines

See Also

Polyline API

Polyline component reference

Polygon API

Polygon component reference

Markers

Add markers to shapes

Interactive

User interactions