[Google Maps Library] Draw polyline using Google Maps Mobile plugin

Forge Component
(18)
Published on 2 Oct (3 weeks ago) by Labs
18 votes
Published on 2 Oct (3 weeks ago) by Labs


Hi all,

Is drawing polyline using Google Maps Mobile plugin possible?

I have coordinates that I would want to draw as polyline.

I plan to use AddPolylineToMap server action to accomplish this.

My objectives is:

To draw polyline on the map without having the user to click on the button. From the https://apps.outsystems.com/GoogleMapsDemo/Polyline.aspx example meant for web, we have to click on the Draw Polyline button for the polyline to be shown.

I want to accomplish this on mobile app. AddPolylineToMap is available as server action on the mobile app.

It's easy to draw multiple markers but I can't figure out how to draw polyline between coordinates to indicate the route.


.