2013-11-17 16:52:03 +01:00
|
|
|
<Window
|
|
|
|
|
x:Class="WpfApplication.MainWindow"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:map="clr-namespace:MapControl;assembly=MapControl.WPF"
|
|
|
|
|
xmlns:vm="clr-namespace:ViewModel"
|
|
|
|
|
xmlns:local="clr-namespace:WpfApplication"
|
|
|
|
|
Title="XAML MapControl - WPF Test Application" Height="600" Width="800"
|
|
|
|
|
Stylus.IsPressAndHoldEnabled="False">
|
2012-05-04 12:52:20 +02:00
|
|
|
<Window.Resources>
|
2012-08-13 19:16:59 +02:00
|
|
|
<map:TileLayerCollection x:Key="TileLayers">
|
2014-10-19 21:50:23 +02:00
|
|
|
<!--
|
|
|
|
|
TileLayers with OpenStreetMap data.
|
|
|
|
|
-->
|
|
|
|
|
<map:TileLayer SourceName="OpenStreetMap"
|
|
|
|
|
Description="Maps © [OpenStreetMap Contributors](http://www.openstreetmap.org/copyright)"
|
|
|
|
|
TileSource="http://{c}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
|
|
|
|
MaxZoomLevel="19"/>
|
|
|
|
|
<map:TileLayer SourceName="Thunderforest OpenCycleMap"
|
|
|
|
|
Description="Maps © [Thunderforest](http://www.thunderforest.com/), Data © [OpenStreetMap Contributors](http://www.openstreetmap.org/copyright)"
|
|
|
|
|
TileSource="http://{c}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png"/>
|
|
|
|
|
<map:TileLayer SourceName="Thunderforest Landscape"
|
|
|
|
|
Description="Maps © [Thunderforest](http://www.thunderforest.com/), Data © [OpenStreetMap Contributors](http://www.openstreetmap.org/copyright)"
|
|
|
|
|
TileSource="http://{c}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png"/>
|
|
|
|
|
<map:TileLayer SourceName="Thunderforest Outdoors"
|
|
|
|
|
Description="Maps © [Thunderforest](http://www.thunderforest.com/), Data © [OpenStreetMap Contributors](http://www.openstreetmap.org/copyright)"
|
|
|
|
|
TileSource="http://{c}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png"/>
|
|
|
|
|
<map:TileLayer SourceName="Thunderforest Transport"
|
|
|
|
|
Description="Maps © [Thunderforest](http://www.thunderforest.com/), Data © [OpenStreetMap Contributors](http://www.openstreetmap.org/copyright)"
|
|
|
|
|
TileSource="http://{c}.tile.thunderforest.com/transport/{z}/{x}/{y}.png"/>
|
|
|
|
|
<map:TileLayer SourceName="Thunderforest Transport Dark"
|
|
|
|
|
Description="Maps © [Thunderforest](http://www.thunderforest.com/), Data © [OpenStreetMap Contributors](http://www.openstreetmap.org/copyright)"
|
|
|
|
|
TileSource="http://{c}.tile.thunderforest.com/transport-dark/{z}/{x}/{y}.png"
|
2014-11-19 21:11:14 +01:00
|
|
|
Foreground="White" Background="Black"/>
|
2014-10-19 21:50:23 +02:00
|
|
|
<map:TileLayer SourceName="MapQuest OpenStreetMap"
|
|
|
|
|
Description="Maps © [MapQuest](http://www.mapquest.com/), Data © [OpenStreetMap Contributors](http://www.openstreetmap.org/copyright)"
|
|
|
|
|
TileSource="http://otile{n}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png"
|
|
|
|
|
MaxZoomLevel="19"/>
|
|
|
|
|
<map:TileLayer SourceName="Seamarks"
|
|
|
|
|
TileSource="http://tiles.openseamap.org/seamark/{z}/{x}/{y}.png"
|
2014-11-19 21:11:14 +01:00
|
|
|
MinZoomLevel="9" MaxZoomLevel="18"/>
|
2012-08-13 19:16:59 +02:00
|
|
|
|
2014-10-19 21:50:23 +02:00
|
|
|
<!--
|
|
|
|
|
Bing Maps TileLayers with tile URLs retrieved from the Imagery Metadata Service
|
|
|
|
|
(see http://msdn.microsoft.com/en-us/library/ff701716.aspx).
|
|
|
|
|
A Bing Maps API Key (see http://msdn.microsoft.com/en-us/library/ff428642.aspx) is required
|
|
|
|
|
for using these layers and must be assigned to the static BingMapsTileLayer.ApiKey property.
|
|
|
|
|
-->
|
|
|
|
|
<map:BingMapsTileLayer SourceName="Bing Maps Road"
|
|
|
|
|
Description="© [Microsoft Corporation](http://www.bing.com/maps/)"
|
|
|
|
|
Mode="Road" MaxZoomLevel="19"/>
|
|
|
|
|
<map:BingMapsTileLayer SourceName="Bing Maps Aerial"
|
|
|
|
|
Description="© [Microsoft Corporation](http://www.bing.com/maps/)"
|
|
|
|
|
Mode="Aerial" MaxZoomLevel="19" Foreground="White" Background="Black"/>
|
|
|
|
|
<map:BingMapsTileLayer SourceName="Bing Maps Hybrid"
|
|
|
|
|
Description="© [Microsoft Corporation](http://www.bing.com/maps/)"
|
|
|
|
|
Mode="AerialWithLabels" MaxZoomLevel="19" Foreground="White" Background="Black"/>
|
2012-08-13 19:16:59 +02:00
|
|
|
|
2014-10-19 21:50:23 +02:00
|
|
|
<!--
|
|
|
|
|
A TileLayer for World OSM WMS, a Web Map Service based on OpenStreetMap data.
|
|
|
|
|
-->
|
|
|
|
|
<!--<map:TileLayer SourceName="World OSM WMS"
|
|
|
|
|
Description="[World OSM WMS](http://www.osm-wms.de/) © [OpenStreetMap Contributors](http://www.openstreetmap.org/copyright)"
|
|
|
|
|
TileSource="http://129.206.228.72/cached/osm?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=osm_auto:all&STYLES=&SRS=EPSG:900913&BBOX={W},{S},{E},{N}&WIDTH=256&HEIGHT=256&FORMAT=image/png"/>-->
|
2012-08-13 19:16:59 +02:00
|
|
|
|
2014-10-19 21:50:23 +02:00
|
|
|
<!--
|
|
|
|
|
A TileLayer that uses an ImageTileSource, which bypasses caching of map tile images
|
|
|
|
|
-->
|
2014-11-19 21:11:14 +01:00
|
|
|
<!--<map:TileLayer SourceName="OpenStreetMap No Cache"
|
2014-10-19 21:50:23 +02:00
|
|
|
Description="© [OpenStreetMap Contributors](http://www.openstreetmap.org/copyright)">
|
2014-07-01 18:57:44 +02:00
|
|
|
<map:ImageTileSource IsAsync="True" UriFormat="http://{c}.tile.openstreetmap.org/{z}/{x}/{y}.png"/>
|
2012-11-04 10:16:39 +01:00
|
|
|
</map:TileLayer>-->
|
2013-01-17 18:48:38 +01:00
|
|
|
|
2014-10-19 21:50:23 +02:00
|
|
|
<!--
|
|
|
|
|
A TileLayer that demonstrates how to access local tile image files (from ImageFileCache here)
|
|
|
|
|
-->
|
|
|
|
|
<!--<map:TileLayer SourceName="OSM Local Files"
|
|
|
|
|
Description="© [OpenStreetMap Contributors](http://www.openstreetmap.org/copyright)"
|
2013-04-04 18:01:13 +02:00
|
|
|
TileSource="file:///C:/ProgramData/MapControl/TileCache/OpenStreetMap/{z}/{x}/{y}.png"/>-->
|
2012-08-13 19:16:59 +02:00
|
|
|
</map:TileLayerCollection>
|
2013-06-07 15:09:59 +02:00
|
|
|
<local:LocationToVisibilityConverter x:Key="LocationToVisibilityConverter"/>
|
2012-06-14 10:43:27 +02:00
|
|
|
<DataTemplate x:Key="PolylineItemTemplate">
|
|
|
|
|
<map:MapPolyline Locations="{Binding Locations}" Stroke="Red" StrokeThickness="3"/>
|
|
|
|
|
</DataTemplate>
|
2012-11-22 21:42:29 +01:00
|
|
|
<Style x:Key="PolylineItemStyle" TargetType="map:MapItem">
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<ControlTemplate TargetType="map:MapItem">
|
|
|
|
|
<map:MapPolyline Locations="{Binding Locations}" Stroke="Red" StrokeThickness="3"/>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
|
|
|
|
</Style>
|
2012-06-14 10:43:27 +02:00
|
|
|
<Style x:Key="PointItemStyle" TargetType="map:MapItem">
|
2012-05-04 12:52:20 +02:00
|
|
|
<Setter Property="map:MapPanel.Location" Value="{Binding Location}"/>
|
2014-10-19 21:50:23 +02:00
|
|
|
<Setter Property="Foreground" Value="Black"/>
|
2012-05-04 12:52:20 +02:00
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<ControlTemplate TargetType="map:MapItem">
|
|
|
|
|
<Canvas>
|
|
|
|
|
<VisualStateManager.VisualStateGroups>
|
|
|
|
|
<VisualStateGroup x:Name="CommonStates">
|
|
|
|
|
<VisualState x:Name="Normal"/>
|
|
|
|
|
<VisualState x:Name="Disabled"/>
|
|
|
|
|
<VisualState x:Name="MouseOver">
|
|
|
|
|
<Storyboard>
|
|
|
|
|
<DoubleAnimation Storyboard.TargetName="labelBackground" Storyboard.TargetProperty="Opacity" To="1" Duration="0:0:0.1"/>
|
|
|
|
|
</Storyboard>
|
|
|
|
|
</VisualState>
|
|
|
|
|
</VisualStateGroup>
|
|
|
|
|
<VisualStateGroup x:Name="SelectionStates">
|
|
|
|
|
<VisualState x:Name="Unselected"/>
|
2012-11-22 21:42:29 +01:00
|
|
|
<VisualState x:Name="Selected">
|
|
|
|
|
<Storyboard>
|
|
|
|
|
<DoubleAnimation Storyboard.TargetName="selectedPath" Storyboard.TargetProperty="Opacity" To="0.7" Duration="0:0:0.1"/>
|
|
|
|
|
</Storyboard>
|
|
|
|
|
</VisualState>
|
2012-05-04 12:52:20 +02:00
|
|
|
</VisualStateGroup>
|
|
|
|
|
</VisualStateManager.VisualStateGroups>
|
2013-08-17 08:41:11 +02:00
|
|
|
<Path x:Name="selectedPath" Fill="White" Opacity="0">
|
2012-11-22 21:42:29 +01:00
|
|
|
<Path.Data>
|
|
|
|
|
<EllipseGeometry RadiusX="15" RadiusY="15"/>
|
|
|
|
|
</Path.Data>
|
|
|
|
|
</Path>
|
2013-08-17 08:41:11 +02:00
|
|
|
<Path StrokeThickness="2" Fill="Transparent">
|
2012-05-04 12:52:20 +02:00
|
|
|
<Path.Stroke>
|
|
|
|
|
<SolidColorBrush Color="Gray"/>
|
|
|
|
|
</Path.Stroke>
|
|
|
|
|
<Path.Data>
|
|
|
|
|
<EllipseGeometry RadiusX="8" RadiusY="8"/>
|
|
|
|
|
</Path.Data>
|
|
|
|
|
</Path>
|
2012-11-23 23:00:50 +01:00
|
|
|
<Grid Canvas.Left="15" Canvas.Top="-8">
|
2013-08-17 08:41:11 +02:00
|
|
|
<Rectangle x:Name="labelBackground" Fill="White" Opacity="0.7"/>
|
2012-11-23 23:00:50 +01:00
|
|
|
<TextBlock Margin="2,0,2,0" Text="{Binding Name}"/>
|
2012-05-04 12:52:20 +02:00
|
|
|
</Grid>
|
|
|
|
|
</Canvas>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
2013-11-17 16:52:03 +01:00
|
|
|
<EventSetter Event="TouchDown" Handler="MapItemTouchDown"/>
|
2012-05-04 12:52:20 +02:00
|
|
|
</Style>
|
2012-06-14 10:43:27 +02:00
|
|
|
<Style x:Key="PushpinItemStyle" TargetType="map:MapItem">
|
2012-05-04 12:52:20 +02:00
|
|
|
<Setter Property="map:MapPanel.Location" Value="{Binding Location}"/>
|
2012-08-26 21:54:00 +02:00
|
|
|
<Setter Property="Visibility">
|
|
|
|
|
<Setter.Value>
|
2012-11-22 21:42:29 +01:00
|
|
|
<MultiBinding Converter="{StaticResource LocationToVisibilityConverter}">
|
2012-08-26 21:54:00 +02:00
|
|
|
<Binding Path="(map:MapPanel.ParentMap)" RelativeSource="{RelativeSource Self}"/>
|
2012-11-22 21:42:29 +01:00
|
|
|
<Binding Path="RenderTransform" RelativeSource="{RelativeSource Self}"/>
|
2012-08-26 21:54:00 +02:00
|
|
|
</MultiBinding>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
2012-06-13 17:33:23 +02:00
|
|
|
<Setter Property="VerticalAlignment" Value="Bottom"/>
|
2012-05-04 12:52:20 +02:00
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
2012-12-06 23:28:12 +01:00
|
|
|
<ControlTemplate TargetType="map:MapItem">
|
2012-06-14 10:43:27 +02:00
|
|
|
<map:Pushpin Content="{Binding Name}"/>
|
2012-05-04 12:52:20 +02:00
|
|
|
</ControlTemplate>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
2013-11-17 16:52:03 +01:00
|
|
|
<EventSetter Event="TouchDown" Handler="MapItemTouchDown"/>
|
2012-06-14 10:43:27 +02:00
|
|
|
<Style.Triggers>
|
|
|
|
|
<Trigger Property="IsSelected" Value="True">
|
|
|
|
|
<Setter Property="Foreground" Value="OrangeRed"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</Style.Triggers>
|
2012-05-04 12:52:20 +02:00
|
|
|
</Style>
|
|
|
|
|
</Window.Resources>
|
2013-11-17 16:52:03 +01:00
|
|
|
<Window.DataContext>
|
|
|
|
|
<vm:ViewModel/>
|
|
|
|
|
</Window.DataContext>
|
2012-05-04 12:52:20 +02:00
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
2014-10-19 21:50:23 +02:00
|
|
|
<map:Map x:Name="map" Center="{Binding MapCenter}" ZoomLevel="11" MaxZoomLevel="20"
|
2012-11-22 21:42:29 +01:00
|
|
|
MouseLeftButtonDown="MapMouseLeftButtonDown" MouseRightButtonDown="MapMouseRightButtonDown"
|
|
|
|
|
MouseMove="MapMouseMove" MouseLeave="MapMouseLeave"
|
|
|
|
|
ManipulationInertiaStarting="MapManipulationInertiaStarting">
|
2013-05-07 18:12:25 +02:00
|
|
|
|
|
|
|
|
<!-- experimental WMS map layers -->
|
2014-10-19 21:50:23 +02:00
|
|
|
<!--<map:MapImageLayer
|
|
|
|
|
UriFormat="http://129.206.228.72/cached/osm?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=osm_auto:all&STYLES=&SRS=EPSG:900913&BBOX={W},{S},{E},{N}&WIDTH={X}&HEIGHT={Y}&FORMAT=image/png"/>-->
|
|
|
|
|
<!--<map:MapImageLayer
|
|
|
|
|
UriFormat="http://ows.terrestris.de/osm/service?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=OSM-WMS&STYLES=&SRS=EPSG:900913&BBOX={W},{S},{E},{N}&WIDTH={X}&HEIGHT={Y}&FORMAT=image/png"/>-->
|
2013-05-07 18:12:25 +02:00
|
|
|
|
2013-04-12 19:59:16 +02:00
|
|
|
<map:MapImage x:Name="mapImage" South="53.54031" North="53.74871" West="8.08594" East="8.43750"
|
2013-04-21 23:56:08 +02:00
|
|
|
Source="10_535_330.jpg" Opacity="0.5"/>
|
|
|
|
|
|
2012-05-04 12:52:20 +02:00
|
|
|
<map:MapGraticule Opacity="0.6"/>
|
2014-11-19 21:11:14 +01:00
|
|
|
<map:MapScale Margin="4" Opacity="0.8" HorizontalAlignment="Left" Background="Transparent"/>
|
2012-11-22 21:42:29 +01:00
|
|
|
|
|
|
|
|
<!-- use ItemTemplate or ItemContainerStyle alternatively -->
|
2013-11-17 16:52:03 +01:00
|
|
|
<map:MapItemsControl ItemsSource="{Binding Polylines}"
|
2012-06-14 10:43:27 +02:00
|
|
|
ItemTemplate="{StaticResource PolylineItemTemplate}"/>
|
2013-11-17 16:52:03 +01:00
|
|
|
<!--<map:MapItemsControl ItemsSource="{Binding Polylines}"
|
2012-11-22 21:42:29 +01:00
|
|
|
ItemContainerStyle="{StaticResource PolylineItemStyle}"/>-->
|
|
|
|
|
|
2013-11-17 16:52:03 +01:00
|
|
|
<map:MapItemsControl ItemsSource="{Binding Points}"
|
2012-06-14 10:43:27 +02:00
|
|
|
ItemContainerStyle="{StaticResource PointItemStyle}"
|
2012-11-22 21:42:29 +01:00
|
|
|
IsSynchronizedWithCurrentItem="True"
|
|
|
|
|
SelectionMode="Extended"/>
|
|
|
|
|
|
2013-11-17 16:52:03 +01:00
|
|
|
<map:MapItemsControl ItemsSource="{Binding Pushpins}"
|
2012-06-14 10:43:27 +02:00
|
|
|
ItemContainerStyle="{StaticResource PushpinItemStyle}"
|
2012-05-04 12:52:20 +02:00
|
|
|
IsSynchronizedWithCurrentItem="True"/>
|
2012-11-22 21:42:29 +01:00
|
|
|
|
2014-11-19 21:11:14 +01:00
|
|
|
<Path map:MapPanel.Location="53.5,8.2" Stroke="Blue" StrokeThickness="3" Fill="#1F007F00">
|
|
|
|
|
<Path.Data>
|
|
|
|
|
<EllipseGeometry RadiusX="1852" RadiusY="1852" Transform="{Binding ScaleTransform, ElementName=map}"/>
|
|
|
|
|
</Path.Data>
|
|
|
|
|
</Path>
|
|
|
|
|
|
2012-11-22 21:42:29 +01:00
|
|
|
<map:Pushpin map:MapPanel.Location="53.5,8.2" Background="Yellow" Foreground="Blue" Content="N 53° 30' E 8° 12'">
|
2012-08-26 21:54:00 +02:00
|
|
|
<map:Pushpin.Visibility>
|
2012-11-22 21:42:29 +01:00
|
|
|
<MultiBinding Converter="{StaticResource LocationToVisibilityConverter}">
|
2012-08-26 21:54:00 +02:00
|
|
|
<Binding Path="(map:MapPanel.ParentMap)" RelativeSource="{RelativeSource Self}"/>
|
2012-11-22 21:42:29 +01:00
|
|
|
<Binding Path="RenderTransform" RelativeSource="{RelativeSource Self}"/>
|
2012-08-26 21:54:00 +02:00
|
|
|
</MultiBinding>
|
|
|
|
|
</map:Pushpin.Visibility>
|
|
|
|
|
</map:Pushpin>
|
2012-05-04 12:52:20 +02:00
|
|
|
</map:Map>
|
2014-11-19 21:11:14 +01:00
|
|
|
|
2014-10-19 21:50:23 +02:00
|
|
|
<Border HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#7FFFFFFF">
|
|
|
|
|
<TextBlock x:Name="mapLegend" Margin="2" FontSize="10"/>
|
|
|
|
|
</Border>
|
2014-11-19 21:11:14 +01:00
|
|
|
|
2012-11-22 21:42:29 +01:00
|
|
|
<Grid Grid.Row="1">
|
2012-05-04 12:52:20 +02:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
2013-08-17 08:41:11 +02:00
|
|
|
<TextBlock x:Name="mouseLocation" Margin="5" VerticalAlignment="Bottom" FontFamily="Segoe UI Mono"/>
|
2012-05-04 12:52:20 +02:00
|
|
|
<StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Right">
|
2013-04-12 19:59:16 +02:00
|
|
|
<StackPanel Margin="5">
|
|
|
|
|
<TextBlock Text="Zoom Level" Margin="0,0,0,2" HorizontalAlignment="Center" Foreground="Gray" FontSize="10"/>
|
|
|
|
|
<Slider ToolTip="Zoom Level" Width="100" VerticalAlignment="Center" SmallChange="0.01"
|
|
|
|
|
Minimum="{Binding MinZoomLevel, ElementName=map}"
|
|
|
|
|
Maximum="{Binding MaxZoomLevel, ElementName=map}"
|
|
|
|
|
Value="{Binding TargetZoomLevel, ElementName=map}"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Margin="5">
|
|
|
|
|
<TextBlock Text="Heading" Margin="0,0,0,2" HorizontalAlignment="Center" Foreground="Gray" FontSize="10"/>
|
|
|
|
|
<Slider ToolTip="Heading" Width="100" VerticalAlignment="Center" SmallChange="5" LargeChange="45"
|
|
|
|
|
Minimum="0" Maximum="360" Value="{Binding TargetHeading, ElementName=map}"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Margin="5">
|
|
|
|
|
<TextBlock Text="Image Opacity" Margin="0,0,0,2" HorizontalAlignment="Center" Foreground="Gray" FontSize="10"/>
|
|
|
|
|
<Slider ToolTip="Image Opacity" Width="100" VerticalAlignment="Center"
|
|
|
|
|
Minimum="0" Maximum="1" Value="{Binding Opacity, ElementName=mapImage}"/>
|
|
|
|
|
</StackPanel>
|
2014-06-11 23:03:13 +02:00
|
|
|
<CheckBox ToolTip="Seamarks Overlay" Margin="7" VerticalAlignment="Bottom" Content="Seamarks"
|
|
|
|
|
Checked="SeamarksChecked" Unchecked="SeamarksUnchecked"/>
|
2014-10-19 21:50:23 +02:00
|
|
|
<ComboBox x:Name="tileLayerComboBox" ToolTip="Tile Layer" Margin="5" VerticalAlignment="Bottom"
|
|
|
|
|
SelectionChanged="TileLayerSelectionChanged">
|
|
|
|
|
<ComboBoxItem Tag="OpenStreetMap">OpenStreetMap</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem Tag="Thunderforest OpenCycleMap">OpenCycleMap</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem Tag="Thunderforest Landscape">Landscape</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem Tag="Thunderforest Outdoors">Outdoors</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem Tag="Thunderforest Transport">Transport</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem Tag="Thunderforest Transport Dark">Transport Dark</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem Tag="MapQuest OpenStreetMap">MapQuest Open</ComboBoxItem>
|
|
|
|
|
<!--<ComboBoxItem Tag="Bing Maps Road">Bing Maps Road</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem Tag="Bing Maps Aerial">Bing Maps Aerial</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem Tag="Bing Maps Hybrid">Bing Maps Hybrid</ComboBoxItem>-->
|
|
|
|
|
</ComboBox>
|
2012-05-04 12:52:20 +02:00
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Window>
|