Use MapControl.Projections in sample applications

This commit is contained in:
ClemensFischer 2024-09-09 17:42:39 +02:00
parent 954451fb34
commit 94b6d47c4d
2 changed files with 3 additions and 0 deletions

View file

@ -28,6 +28,7 @@
<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

@ -12,6 +12,8 @@ namespace SampleApplication
{
static MainWindow()
{
MapProjectionFactory.Instance = new MapControl.Projections.GeoApiProjectionFactory();
//TileImageLoader.Cache = new MapControl.Caching.ImageFileCache(TileImageLoader.DefaultCacheFolder);
}