簡體   English   中英

我們如何在UWP Mapcontrol中放置一些自定義按鈕?

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

我們如何在UWP Mapcontrol中放置一些自定義按鈕? 喜歡下面的圖片嗎?

手機樣品

使用父GridMapControl上放置按鈕

樣例代碼:

<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>

樣本輸出:

在此處輸入圖片說明

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM