WebOSMaps.GetMapBounds() always returns FALSE

WebOSMaps.GetMapBounds() always returns FALSE although the bounds are retrieved correctly.

This does not work:

  if WebOSMaps.GetMapBounds then
    OSMapCenter.Longitude := (OSMapBounds.SouthWest.Longitude + OSMapBounds.NorthEast.Longitude) / 2;
    OSMapCenter.Latitude  := (OSMapBounds.SouthWest.Latitude  + OSMapBounds.NorthEast.Latitude)  / 2;

The code in the if branch is never executed, as GetMapBoundsis never returns TRUE.


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
- Exact instructions to reproduce the issue