Using Add Polygon (Google maps) in order to make a track

Hi guys,

I’m very intrested to display tracks in my app. I have seen there’s the Google Maps resource in Kodular, however I believe there isn’t a practical way to make tracks and routes using this platform. A specifically method called my attention, it’s named as “Add Polygon”. I tried to use it but instead of making a line, it makes a square. I would like to know if it’s possible to make lines with this resource and how am I supposed to do such thing?

Google_Maps.Add Polygon method picture: