Update Polylines / Markers Intraweb Async Timer

Is there a way to get TTIWWebGMaps to recognize and update it display from within a Intraweb Async Timer.
I have tried all the usual calls (Invalidate, Repaint, etc.) but none of these cause the map to be redrawn with the new changed Polylines and Markers.

The only way I have been able to do this is by adding the following code at the end of the Timer call
  ID := ''; // or some IWControl.HTMLName
  JS := 'SubmitClick("' + ID + '","",false);';

  WebApplication.CallBackResponse.AddJavaScriptToExecute('<![CDATA[' + JS + ']]>');

This causes a very noticeable reload and update of the map where all I would like to see is the removal of the old Polylines and Markers replaced with the new Polylines and Markers.

Since using the Zorder for polylines (Other post in this forum) updates done in the Async Timer on the Map are done when expected. Setting Zorder to 0 for all and it still works so am not sure what may have changed.

Hi,


Please note that the TTIWWebGMaps control will not automatically update during an async refresh.
You would need to manually update the Polylines and Markers.