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

Forge Component
Published on 26 Feb by Labs
22 votes
Published on 26 Feb 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.