134
Views
2
Comments
Solved
Google maps containslocation problems
Question

Hi all,

I have a problem with the usage of a javascript code. When I used the same code in jsfiddle for testing I get a true as a result but in Outsystems mobile I got a false.

This is my fiddle : https://jsfiddle.net/tc24c9u3/

Thanks

2017-11-07 08-23-52
Furkan Çetin
Solution

Hi Jose,

I have already found the solution for this problem. The callback was the problem. I wanted to run my function before the async script was loaded and that was the reason for the problem. I have made an another screen action to run the function I have made. This action is called now in the callback and this resolves the problem with the async load. 

Thanks a lot for your reaction

Furkan

2020-03-05 14-29-02
José Costa

Hi Furkan,

Where are you using the javascript code? Can you share a sample oml?

Cheers,

José

2017-11-07 08-23-52
Furkan Çetin
Solution

Hi Jose,

I have already found the solution for this problem. The callback was the problem. I wanted to run my function before the async script was loaded and that was the reason for the problem. I have made an another screen action to run the function I have made. This action is called now in the callback and this resolves the problem with the async load. 

Thanks a lot for your reaction

Furkan

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