mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Sample applications without MapProjections
This commit is contained in:
parent
76d0f1ebde
commit
c1fe0a16bc
|
|
@ -263,7 +263,6 @@
|
||||||
<tools:MapProjectionItem Text="Web Mercator" Projection="EPSG:3857"/>
|
<tools:MapProjectionItem Text="Web Mercator" Projection="EPSG:3857"/>
|
||||||
<tools:MapProjectionItem Text="Equirectangular" Projection="EPSG:4326"/>
|
<tools:MapProjectionItem Text="Equirectangular" Projection="EPSG:4326"/>
|
||||||
<tools:MapProjectionItem Text="ETRS89 / UTM zone 32N" Projection="EPSG:25832"/>
|
<tools:MapProjectionItem Text="ETRS89 / UTM zone 32N" Projection="EPSG:25832"/>
|
||||||
<tools:MapProjectionItem Text="WGS84 / Auto UTM" Projection="AUTO2:42001"/>
|
|
||||||
</tools:MapProjectionsMenuButton>
|
</tools:MapProjectionsMenuButton>
|
||||||
|
|
||||||
<Slider Orientation="Vertical" Margin="4,8" Height="100"
|
<Slider Orientation="Vertical" Margin="4,8" Height="100"
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ namespace SampleApplication
|
||||||
{
|
{
|
||||||
static MainPage()
|
static MainPage()
|
||||||
{
|
{
|
||||||
MapProjectionFactory.Instance = new MapControl.Projections.GeoApiProjectionFactory();
|
//MapProjectionFactory.Instance = new MapControl.Projections.GeoApiProjectionFactory();
|
||||||
|
|
||||||
//TileImageLoader.Cache = new MapControl.Caching.ImageFileCache(ApplicationData.Current.LocalCacheFolder);
|
//TileImageLoader.Cache = new MapControl.Caching.ImageFileCache(ApplicationData.Current.LocalCacheFolder);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -105,10 +105,6 @@
|
||||||
<Project>{951bc5d2-d653-42d9-9a91-21dc50de0182}</Project>
|
<Project>{951bc5d2-d653-42d9-9a91-21dc50de0182}</Project>
|
||||||
<Name>MapControl.UWP</Name>
|
<Name>MapControl.UWP</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\..\MapProjections\UWP\MapProjections.UWP.csproj">
|
|
||||||
<Project>{9ee69591-5edc-45e3-893e-2f9a4b82d538}</Project>
|
|
||||||
<Name>MapProjections.UWP</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
<ProjectReference Include="..\..\MapUiTools\UWP\MapUiTools.UWP.csproj">
|
<ProjectReference Include="..\..\MapUiTools\UWP\MapUiTools.UWP.csproj">
|
||||||
<Project>{dffe8e49-aa07-457e-a459-99326b44f828}</Project>
|
<Project>{dffe8e49-aa07-457e-a459-99326b44f828}</Project>
|
||||||
<Name>MapUiTools.UWP</Name>
|
<Name>MapUiTools.UWP</Name>
|
||||||
|
|
|
||||||
|
|
@ -294,7 +294,6 @@
|
||||||
<tools:MapProjectionItem Text="Web Mercator" Projection="EPSG:3857"/>
|
<tools:MapProjectionItem Text="Web Mercator" Projection="EPSG:3857"/>
|
||||||
<tools:MapProjectionItem Text="Equirectangular" Projection="EPSG:4326"/>
|
<tools:MapProjectionItem Text="Equirectangular" Projection="EPSG:4326"/>
|
||||||
<tools:MapProjectionItem Text="ETRS89 / UTM zone 32N" Projection="EPSG:25832"/>
|
<tools:MapProjectionItem Text="ETRS89 / UTM zone 32N" Projection="EPSG:25832"/>
|
||||||
<tools:MapProjectionItem Text="WGS84 / Auto UTM" Projection="AUTO2:42001"/>
|
|
||||||
</tools:MapProjectionsMenuButton>
|
</tools:MapProjectionsMenuButton>
|
||||||
|
|
||||||
<Slider Orientation="Vertical" Margin="4,8" Height="100"
|
<Slider Orientation="Vertical" Margin="4,8" Height="100"
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ namespace SampleApplication
|
||||||
{
|
{
|
||||||
static MainWindow()
|
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.ImageFileCache(TileImageLoader.DefaultCacheFolder);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\..\MapControl\WinUI\MapControl.WinUI.csproj" />
|
<ProjectReference Include="..\..\MapControl\WinUI\MapControl.WinUI.csproj" />
|
||||||
<ProjectReference Include="..\..\MapProjections\WinUI\MapProjections.WinUI.csproj" />
|
|
||||||
<ProjectReference Include="..\..\MapUiTools\WinUI\MapUiTools.WinUI.csproj" />
|
<ProjectReference Include="..\..\MapUiTools\WinUI\MapUiTools.WinUI.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,8 @@
|
||||||
<Grid>
|
<Grid>
|
||||||
<map:Map x:Name="map"
|
<map:Map x:Name="map"
|
||||||
MinZoomLevel="2" MaxZoomLevel="21" ZoomLevel="11"
|
MinZoomLevel="2" MaxZoomLevel="21" ZoomLevel="11"
|
||||||
Center="53.5,8.2" ManipulationMode="All"
|
Center="53.5,8.2"
|
||||||
|
ManipulationMode="All"
|
||||||
MouseLeftButtonDown="MapMouseLeftButtonDown"
|
MouseLeftButtonDown="MapMouseLeftButtonDown"
|
||||||
MouseRightButtonDown="MapMouseRightButtonDown"
|
MouseRightButtonDown="MapMouseRightButtonDown"
|
||||||
MouseRightButtonUp="MapMouseRightButtonUp"
|
MouseRightButtonUp="MapMouseRightButtonUp"
|
||||||
|
|
@ -264,7 +265,6 @@
|
||||||
<tools:MapProjectionItem Text="Web Mercator" Projection="EPSG:3857"/>
|
<tools:MapProjectionItem Text="Web Mercator" Projection="EPSG:3857"/>
|
||||||
<tools:MapProjectionItem Text="Equirectangular" Projection="EPSG:4326"/>
|
<tools:MapProjectionItem Text="Equirectangular" Projection="EPSG:4326"/>
|
||||||
<tools:MapProjectionItem Text="ETRS89 / UTM zone 32N" Projection="EPSG:25832"/>
|
<tools:MapProjectionItem Text="ETRS89 / UTM zone 32N" Projection="EPSG:25832"/>
|
||||||
<tools:MapProjectionItem Text="WGS84 / Auto UTM" Projection="AUTO2:42001"/>
|
|
||||||
</tools:MapProjectionsMenuButton>
|
</tools:MapProjectionsMenuButton>
|
||||||
|
|
||||||
<Slider Orientation="Vertical" Margin="8" Height="100"
|
<Slider Orientation="Vertical" Margin="8" Height="100"
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ namespace SampleApplication
|
||||||
{
|
{
|
||||||
static MainWindow()
|
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.ImageFileCache(TileImageLoader.DefaultCacheFolder);
|
||||||
//TileImageLoader.Cache = new MapControl.Caching.FileDbCache(TileImageLoader.DefaultCacheFolder);
|
//TileImageLoader.Cache = new MapControl.Caching.FileDbCache(TileImageLoader.DefaultCacheFolder);
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\..\MapControl\WPF\MapControl.WPF.csproj" />
|
<ProjectReference Include="..\..\MapControl\WPF\MapControl.WPF.csproj" />
|
||||||
<ProjectReference Include="..\..\MapProjections\WPF\MapProjections.WPF.csproj" />
|
|
||||||
<ProjectReference Include="..\..\MapUiTools\WPF\MapUiTools.WPF.csproj" />
|
<ProjectReference Include="..\..\MapUiTools\WPF\MapUiTools.WPF.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue