mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
MapOverlayMenuItem.SourcePath
This commit is contained in:
parent
d23db23fbc
commit
5afea53c7c
8 changed files with 4 additions and 16 deletions
|
|
@ -220,7 +220,7 @@
|
|||
<Image Source="10_535_330.jpg" Stretch="Fill"
|
||||
map:MapPanel.BoundingBox="53.54031,8.08594,53.74871,8.43750"/>
|
||||
</tools:MapOverlayMenuItem>
|
||||
<tools:MapOverlayMenuItem x:Name="sampleOverlayMenuItem" Text="Mount Etna KML"/>
|
||||
<tools:MapOverlayMenuItem Text="Mount Etna KML" SourcePath="etna.kml"/>
|
||||
<tools:MapOverlayMenuItem Text="Seamarks" InsertOrder="1">
|
||||
<map:MapTileLayer
|
||||
TileSource="http://tiles.openseamap.org/seamark/{z}/{x}/{y}.png"
|
||||
|
|
|
|||
|
|
@ -24,9 +24,6 @@ namespace SampleApplication
|
|||
//Unloaded += (s, e) => tileCache.Dispose();
|
||||
|
||||
InitializeComponent();
|
||||
|
||||
sampleOverlayMenuItem.MapLayerFactory = async () => await GroundOverlay.CreateAsync("etna.kml");
|
||||
|
||||
AddTestLayers();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue