zuloloxi / gmlibrary

Automatically exported from code.google.com/p/gmlibrary
0 stars 1 forks source link

DoMap in AfterPageLoaded throws exception when no internet connection #57

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When there is no internet connection or the connection is poor then after 60-70 
sec an IE style dialog box appears with the message:
Script error
google not defined

Pressing yes or no AfterPageLoaded fires and the dialog appears again. Pressing 
yes or no again a memory exception thrown in the TGMMap.ExecuteScript function 
at the following line:

Win2.execScript(NameFunct + '(' + Params + ')', 'JavaScript')

I can reproduce it with the MegaDemo project as well compiled with D6.

Original issue reported on code.google.com by zsolt.sz...@gmail.com on 15 Jun 2015 at 2:20