mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
Sample applications without MapProjections
This commit is contained in:
parent
76d0f1ebde
commit
c1fe0a16bc
9 changed files with 5 additions and 13 deletions
|
|
@ -116,7 +116,8 @@
|
|||
<Grid>
|
||||
<map:Map x:Name="map"
|
||||
MinZoomLevel="2" MaxZoomLevel="21" ZoomLevel="11"
|
||||
Center="53.5,8.2" ManipulationMode="All"
|
||||
Center="53.5,8.2"
|
||||
ManipulationMode="All"
|
||||
MouseLeftButtonDown="MapMouseLeftButtonDown"
|
||||
MouseRightButtonDown="MapMouseRightButtonDown"
|
||||
MouseRightButtonUp="MapMouseRightButtonUp"
|
||||
|
|
@ -264,7 +265,6 @@
|
|||
<tools:MapProjectionItem Text="Web Mercator" Projection="EPSG:3857"/>
|
||||
<tools:MapProjectionItem Text="Equirectangular" Projection="EPSG:4326"/>
|
||||
<tools:MapProjectionItem Text="ETRS89 / UTM zone 32N" Projection="EPSG:25832"/>
|
||||
<tools:MapProjectionItem Text="WGS84 / Auto UTM" Projection="AUTO2:42001"/>
|
||||
</tools:MapProjectionsMenuButton>
|
||||
|
||||
<Slider Orientation="Vertical" Margin="8" Height="100"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace SampleApplication
|
|||
{
|
||||
static MainWindow()
|
||||
{
|
||||
MapProjectionFactory.Instance = new MapControl.Projections.GeoApiProjectionFactory();
|
||||
//MapProjectionFactory.Instance = new MapControl.Projections.GeoApiProjectionFactory();
|
||||
|
||||
//TileImageLoader.Cache = new MapControl.Caching.ImageFileCache(TileImageLoader.DefaultCacheFolder);
|
||||
//TileImageLoader.Cache = new MapControl.Caching.FileDbCache(TileImageLoader.DefaultCacheFolder);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\MapControl\WPF\MapControl.WPF.csproj" />
|
||||
<ProjectReference Include="..\..\MapProjections\WPF\MapProjections.WPF.csproj" />
|
||||
<ProjectReference Include="..\..\MapUiTools\WPF\MapUiTools.WPF.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue