178
Views
4
Comments
[Google Maps] unable to get directions between two coordinates
Question
Forge component by Labs
46
Published on 14 Dec 2020

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


mvp_badge
MVP
Rank: #310

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.

Rank: #28075

Hi Kurt,


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


Appreciate your advice.


Thank you

MapSample.oml

Staff
Rank: #18

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