Google Maps Directions

Google Maps Directions

  

Hi guys,

I am trying the get the directions from my device location do a destination. I am able to get the route but when I move the origin marker doesnt move.

I have tried to use watch position but with no success. 

What I need is the marker A to move as i am walking.

Can anybody help me with this?


Hi Mário,

The Google Directions is based on the Google Maps Directions API, which is not built to respond on real time user input (such as a changed location). 

You could try the Google Maps Mobile widget that is available in the forge, which contains Web Blocks to integrate interactive maps to your application.


Best,

Sjors