Outsystems Google Maps constantly update location

Outsystems Google Maps constantly update location

  

Hello,

Is it possible to have the GetLocation Widget from Outsystems Now constantly update? Or does it already do that? I am trying to move the marker on the map when I move. Also, is it possible to update the database with my new location every 5 seconds?


Thank you,

Amos

Solution

Hi there,


In this instance, the easiest way is to have a hidden button that calls the get GPS location option. On the page have some java script that calls the click of the button on a schedule that makes sense.



Solution

Stacey Levine wrote:

Hi there,


In this instance, the easiest way is to have a hidden button that calls the get GPS location option. On the page have some java script that calls the click of the button on a schedule that makes sense.



Yeah it does, but so far the scheduler or timer can't seem to do it in 5 second intervals. Is there another way?

You have to do it with client side java script - not using a timer.