Hi, I'm using the WebGMaps component on a panel and aligning the component to client. What I'm seeing is a small blank gap at the top of the panel - it's about 20 pixels high.
I'm tried switching to content alignment and the result is the same. I tried the component on a blank form and found the same issue. There's always a small gap at the top of the container object.
Not sure what I'm missing here, might be something related to the map options. Has anyone seen this before and solved the problem?
I've updated to version 1.8 of WebGMaps and found that the positioning is working properly now.
However there's a new problem with this version.
In managing the visibility of the component I find that I can set the initial map.visible property to false. And then I can programmatically turn the visibility on using map.visible := true;
However when I try to turn the visibility off using map.visible := false this doesn't work. I'm unable to hide the map control once it is visible.
So basically TMSFMXWebGMaps.Visible := False doesn't work.
The reason we were not able to reproduce this is because we have tested this on iOS. The 20 pixel border issue is something that is related to the iOS 7 statusbar. It wasn't clear until your last post that you were working on Android.
On Android we were able to reproduce this and have applied a fix, the next version (1.8.0.1) will address this.
The demo is created in XE4 for compatibility with XE5 / XE6. The FMX.Sensors is a unit that no longer exists in XE6. We have removed the unit as it is not necessary for correct compilation.