19
Views
5
Comments
Outsystems Map (This page can't load google map correctly)

Currently I'm working on the tracking live location.

Problem 1:

Even I already added the api key into the Outsystems map, but the map still show the message said that "This page can't load google map correctly". When I used the browser inspect to check, it shown that "Invalid location. Using the default location -> 55 Thomson Pl 2nd floor, Boston, MA 02210, United States". How can I fix this?


Problem 2:

I'm using timer javascript to make my live location refreshing every 3 seconds. The live location is working now, but the browser inspect shown error message of "Uncaught SyntaxError: Unexpected identifier 'Promise'. How can I solve this?


Two problems can be found in below the screenshot.

Please I need a guide to solve these problem! 





can you share the javascript code regarding problem 2?

Hi, Thanks for your reply. I have edited the post with the javascript.

Thank you for the extra information.
I'm not seeing any issue with the javascript file that could trigger the syntax error in the developer tools console.
Can you perhaps share a screenshot of the flow in the Client action "AutoRefreshPage?"


I also seems a little strange to call this action in the OnRender Event

Can you also share the 'RefreshLiveLocation' Actions that gets called in your timeOut?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.