admin管理员组

文章数量:1326607

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:

本文标签: