locations[]

Contains an array of objects making up the route.

Type: Array

These objects have the same structure as an object passed to the center option.

lat

The latitude location of the widget.

Type: Number
Default Value: 0

lng

The longitude location of the widget.

Type: Number
Default Value: 0