[Google Maps] unable to get directions between two coordinates

[Google Maps] unable to get directions between two coordinates

  
Forge Component
(18)
Published on 24 Apr by OutSystems Labs
18 votes
Published on 24 Apr by OutSystems Labs

Hi,

I would like to add directions between two coordinates in my map. I used the "AddCoordinateDirectionsToMap" action to my preparation workflow. however, upon loading the screen, the map is empty. There were no markers or directions generated on the map itself.


May I know what I am doing wrongly in this case? You can access the following URL to check my application (https://davissalim.outsystemscloud.com/Attendance/RouteDetail.aspx?RouteId=1).


Thank you in advance.

Regards,

Davis


Hi,


Can you make a small test espace and share it? Without having a view on your code, it's difficult to tell what's wrong.

Hi Kurt,


Sorry for the late reply. I have attached the sample espace.


Appreciate your advice.


Thank you

Hi Davis,

After some quick tests on our environment it seems that there's a bug with that feature. I'll add an issue to our backlog for us to check again and solve or remove it, depending on the tests results.

In the meantime, to solve your issue, i recommend you to use google maps action to convert coordinates to addresses and add the directions with them. (Those two actions are working fine)

Sorry for the inconvenience.
Regards