Sample applications without MapProjections

This commit is contained in:
ClemensFischer 2024-09-11 09:05:06 +02:00
parent 854cd12fee
commit d66febcdf0
3 changed files with 1 additions and 3 deletions

View file

@ -28,7 +28,6 @@
<ItemGroup>
<ProjectReference Include="..\..\MapControl\Avalonia\MapControl.Avalonia.csproj" />
<ProjectReference Include="..\..\MapProjections\Avalonia\MapProjections.Avalonia.csproj" />
<ProjectReference Include="..\..\MapUiTools\Avalonia\MapUiTools.Avalonia.csproj" />
</ItemGroup>

View file

@ -204,7 +204,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="-4,8" Height="100"

View file

@ -12,7 +12,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);
}