I am able to use the google map in mobile , i am unable to draw direction between origin and destination.
Can we have a step by step procedure how to add google map into app and pass the data to the origin and destination
Hi prabhakar,
What did you try and what are you getting?
Basically, the Map block has a Directions parameter that's a "MapDirections" structure (see image below). What you need to do is: add a local variable in the screen of type "MapDirections", then pass it to your Map and fill in the values.
Let me know if you need further help.
Regards!
Sofia Mourato wrote: Thank you.
It worked for us but how can we get a current location of device using googlemaps.
To get the current location of the device you can use the location plugin, that is available on the forge.
https://www.outsystems.com/forge/component/1395/location-plugin/
Best regards,
Mário Amorim