[Google Maps Library] google maps mobile directions

Forge Component
(24)
Published on 26 Feb by Labs
24 votes
Published on 26 Feb by Labs


Is there anyone who has an example about how to using map directions like on google maps demo web ?

Hello, Dedy,

Even though Google Maps Mobile doesn't include a Demo module accompanying it, with examples, you can check out Field Services Mobile for an example of its usage with directions (Directory Mobile also uses it, but no directions).

If you have trouble figuring out the logic within the app, please let us know! :)

Best regards,

Carlos Simões

1. Create Local Variable with data type: MapDirections

2. Somewhere in your logic, assign Origin Address, Destination Address and TravelMode (1=car).

3. Assign this variable to Google Maps Mobile's Direction property

Harlin Setiadarma wrote:Hi i have tried the same approach can you please attach the oml file with dummy data to see whether i am doing the correct thing or not.

1. Create Local Variable with data type: MapDirections

2. Somewhere in your logic, assign Origin Address, Destination Address and TravelMode (1=car).

3. Assign this variable to Google Maps Mobile's Direction property