openMarkerInfoWindowHtml not consistent

I am displaying marker info windows using the openMarkerInfoWindowHtml function. Trying to automatically open all the markers InfoWindows (at once) upon launching the map.

The issue I am having is that it doesn't "always" work. I first launch the map and call it. The InfoWindows are displayed. I can then close the infoWindows, so far so good. 

Later, I may close the form with my WebGMap and reopen/relaunch it, it may or may not show the infoWindows. 

Can't make any sense of this. Sometimes it does work, sometimes it doesn't. 

All other functionalities work as expected, just not the openMarkerInfoWindowHtml which seems to have a mind of its own.  

procedure TMapTMS.ExpandAllCallouts;
  i: Integer;
  Marker: TMarker;
   with WebGMaps1 do
      for i := 0 to Markers.Count - 1 do
        Marker := Markers;
        openMarkerInfoWindowHtml(Marker.ID, '<B>Test' + IntToStr(i)+ '</B>);

At the end of my rope here, do you have any suggestion?


I have not been able to reproduce this issue.

Can you please provide the following information so I can further investigate this?
- The version of Delphi you are using
- A ready to run sample project that demonstrates the issue
Sample projects can be sent as Email attachment to