简体   繁体   English

我们如何在UWP Mapcontrol中放置一些自定义按钮?

[英]How we can put some custom button in UWP Mapcontrol?

How we can put some custom button in UWP Mapcontrol ? 我们如何在UWP Mapcontrol中放置一些自定义按钮? like below picture ? 喜欢下面的图片吗?

手机样品

Use your parent Grid to place buttons on MapControl 使用父GridMapControl上放置按钮

Sample code: 样例代码:

<Grid Width="400" Height="400">
    <Maps:MapControl Width="400" Height="400"/>
    <Button HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,20,20,0">
        <SymbolIcon Symbol="Add"/>
    </Button>
</Grid>

Sample output: 样本输出:

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM