ThinkGeo.com    |     Documentation    |     Premium Support

Data not refreshing while Page is not Active

Hi,

I am working on Flight moving application using Thinkgeo Web Edition.

Here I have all the flights in some overlay. In addition to flights i have some other overlays also.

And I am using a Timer to refresh the data (Flights will be moving). Each refresh I am getting New data from DB and Plotting…

Actually I have achieved this and its working fine. But, when I was not active in that page and i am visiting at some other Webpages, and after sometime if I go to our page I observed that Sudden moving of Flights to Current location.

It means that when I was Inactive flights has not moved, but once i come to page that time Flights has moved.

Please give me any suggestions to overcome this issue…

Thanks,
Ashok

Hi Ashok,

I think that’s the limitation from browser, when the tab is inactive status, it will pause the script run and leave the source to active page.

I found a topic discuss about this, wish that’s helpful.

Regards,

Ethan