admin管理员组文章数量:1327238
If you create a blank template with the Maps controls, following instructions shared here, in MAUI on iOS like this:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns=";
xmlns:x=";
x:Class="SignalCortex.Views.MapPage"
xmlns:maps=";
Title="MapPage">
<VerticalStackLayout>
<maps:Map x:Name="map" />
</VerticalStackLayout>
</ContentPage>
You will see a blank white screen.
But if you change the VerticalStackLayout
to just be StackLayout
the maps appears fine. What am I missing here, I don't see anything in the docs explaining what I am doing wrong?
Images show the screenshots from when you run the code I shared:
本文标签:
版权声明:本文标题:xamarin - VerticalStackLayout shows white screen with MAUI map, works fine with StackLayout - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742214290a2434281.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论