Version:
Popular examples
Map
Geo objects
Balloon and hint
Controls
Hotspots
Regions
Clustering
GeoQuery
Behaviors and events
Search on a map
Traffic
User's location
Routing
YMapsML
GeoXML
ObjectManager
Modular system
Panoramas
External modules

Multistroke outline

Save as filesEdit on JSFiddle

A polyline is a shape consisting of a set of sequentially connected vertices. The polyline can have self-intersections.

The polyline can be created in two ways: using the GeoObject class with the "Polyline" geometry type, or using the Polyline auxiliary class.

When creating a polyline, you can set properties (such as the contents of a balloon or hint) and options (such as color and line width).

Polylines, like other geo objects, can be combined in collections.