The Polyline class defines a linear overlay of connected line segments on the map. A Polyline object consists of an array of coordinates, and creates a series of line segments that connect those locations in an ordered sequence.
Build your polyline
By configuration file
By default, the bundle doesn't need any configuration. Most of the service have a default configuration which allows
you to use the given objects like they are. The
ivory_google_map.polyline service is. The configuration describes
below is this default configuration.
<?php // Requests the ivory google map polyline service $polyline = $this->get('ivory_google_map.polyline');
If you want to learn more, you can read this documentation.