I use a GMap3 to show the meteo for pilots , the name of the airfields are displayed using the data field of markers .
- Code: Select all
GoogleMap.JQGMapV3Options.InfoWindow.Close;
GoogleMap.JQGMapV3Options.InfoWindow.Options.ContentFunc.Script := GoogleMap.CurrEventParamsJs[2] + '.data';
GoogleMap.JQGMapV3Options.InfoWindow.Anchor.Script := GoogleMap.CurrEventParamsJs[0];
GoogleMap.JQGMapV3Options.InfoWindow.ApplyProps;
AfficheTafMetar(True);
This works fine , but i have a button to force the refresh ( reload of database data and re-creation of the markers ) , when i click it i got this message Script Error "$(...)[0].currEventParams is undefined" in Render Async! Processing Full Submit...
can you help please ?
you can see the problem on : http://meteoaero.assapan.fr