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.  

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

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


Hi,


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 mailto:help@tmssoftware.com