Google maps - Polyline

How can I implement this: Simple Polylines  |  Maps JavaScript API  |  Google Developers into google-map component?

Solved:
http://webix.com/snippet/43072d24