Skip to content

Commit

Permalink
Update BruTile to 2.1.2 and update dependent nuget packages
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldendulk committed Sep 20, 2019
1 parent a3321f5 commit 945ce99
Show file tree
Hide file tree
Showing 40 changed files with 366 additions and 260 deletions.
2 changes: 1 addition & 1 deletion Mapsui.Desktop/Mapsui.Desktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BruTile" Version="2.0.2" />
<PackageReference Include="BruTile" Version="2.1.2" />
</ItemGroup>

<ItemGroup>
Expand Down
30 changes: 27 additions & 3 deletions Mapsui.Rendering.Xaml/Mapsui.Rendering.Xaml.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<Reference Include="BruTile, Version=2.0.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\BruTile.2.0.2\lib\net45\BruTile.dll</HintPath>
<Reference Include="BruTile, Version=2.1.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\BruTile.2.1.2\lib\net45\BruTile.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
Expand All @@ -45,7 +45,30 @@
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Net.Http, Version=4.1.1.2, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Net.Http.4.3.3\lib\net46\System.Net.Http.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Security.Cryptography.Algorithms, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Cryptography.Algorithms.4.3.1\lib\net461\System.Security.Cryptography.Algorithms.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Security.Cryptography.Encoding, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Security.Cryptography.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Security.Cryptography.X509Certificates, Version=4.1.1.2, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Cryptography.X509Certificates.4.3.2\lib\net461\System.Security.Cryptography.X509Certificates.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
Expand Down Expand Up @@ -93,6 +116,7 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="packages.config">
<SubType>Designer</SubType>
</None>
Expand Down
11 changes: 11 additions & 0 deletions Mapsui.Rendering.Xaml/app.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
7 changes: 6 additions & 1 deletion Mapsui.Rendering.Xaml/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="BruTile" version="2.0.2" targetFramework="net461" />
<package id="BruTile" version="2.1.2" targetFramework="net461" />
<package id="Svg2Xaml" version="0.3.0.5" targetFramework="net461" />
<package id="System.Net.Http" version="4.3.3" targetFramework="net461" />
<package id="System.Security.Cryptography.Algorithms" version="4.3.1" targetFramework="net461" />
<package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net461" />
<package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net461" />
<package id="System.Security.Cryptography.X509Certificates" version="4.3.2" targetFramework="net461" />
</packages>
2 changes: 1 addition & 1 deletion Mapsui.UI.Wpf/Mapsui.UI.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BruTile" Version="2.0.2" />
<PackageReference Include="BruTile" Version="2.1.2" />
<PackageReference Include="SkiaSharp" Version="1.60.3" />
<PackageReference Include="SkiaSharp.Views" Version="1.60.3" />
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions Mapsui.sln.DotSettings
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpKeepExistingMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpPlaceEmbeddedOnSameLineMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpRenamePlacementToArrangementMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpUseContinuousIndentInsideBracesMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EAddAccessorOwnerDeclarationBracesMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EAlwaysTreatStructAsNotReorderableMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002ECSharpPlaceAttributeOnSameLineMigration/@EntryIndexedValue">True</s:Boolean>
Expand Down
2 changes: 1 addition & 1 deletion Mapsui/Mapsui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BruTile" Version="2.0.2" />
<PackageReference Include="BruTile" Version="2.1.2" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
</ItemGroup>
<ItemGroup>
Expand Down
48 changes: 0 additions & 48 deletions Mapsui/Utilities/CustomHttpTileProvider.cs

This file was deleted.

53 changes: 0 additions & 53 deletions Mapsui/Utilities/CustomHttpTileSource.cs

This file was deleted.

6 changes: 3 additions & 3 deletions Mapsui/Utilities/OpenStreetMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ public static TileLayer CreateTileLayer()
return new TileLayer(CreateTileSource()) { Name = "OpenStreetMap" };
}

private static CustomHttpTileSource CreateTileSource()
private static HttpTileSource CreateTileSource()
{
return new CustomHttpTileSource(new GlobalSphericalMercator(),
return new HttpTileSource(new GlobalSphericalMercator(),
"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
new[] { "a", "b", "c" }, name: "OpenStreetMap",
attribution: OpenStreetMapAttribution);
attribution: OpenStreetMapAttribution, userAgent:"OpenStreetMap in Mapsui");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BruTile" Version="2.0.2" />
<PackageReference Include="BruTile.Desktop" Version="2.0.2" />
<PackageReference Include="BruTile" Version="2.1.2" />
<PackageReference Include="BruTile.Desktop" Version="2.1.2" />
<PackageReference Include="System.Net.Http" Version="4.3.3" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions Samples/Mapsui.Samples.Common/Mapsui.Samples.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BruTile" Version="2.0.2" />
<PackageReference Include="BruTile.MbTiles" Version="2.0.2" />
<PackageReference Include="BruTile" Version="2.1.2" />
<PackageReference Include="BruTile.MbTiles" Version="2.1.2" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
</PropertyGroup>
<ItemGroup>
<Reference Include="BruTile, Version=2.0.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\BruTile.2.0.2\lib\netstandard1.1\BruTile.dll</HintPath>
<Reference Include="BruTile, Version=2.1.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\BruTile.2.1.2\lib\netstandard1.1\BruTile.dll</HintPath>
</Reference>
<Reference Include="BruTile.MbTiles, Version=2.0.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\BruTile.MbTiles.2.0.2\lib\netstandard1.1\BruTile.MbTiles.dll</HintPath>
<Reference Include="BruTile.MbTiles, Version=2.1.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\BruTile.MbTiles.2.1.2\lib\netstandard1.1\BruTile.MbTiles.dll</HintPath>
</Reference>
<Reference Include="ConcurrentCollections, Version=1.0.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\ConcurrentHashSet.1.0.2\lib\netstandard1.0\ConcurrentCollections.dll</HintPath>
Expand Down Expand Up @@ -87,23 +87,23 @@
<Reference Include="SkiaSharp.Views.Forms, Version=1.60.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\SkiaSharp.Views.Forms.1.60.3\lib\MonoAndroid\SkiaSharp.Views.Forms.dll</HintPath>
</Reference>
<Reference Include="SQLite-net, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\sqlite-net-pcl.1.4.118\lib\netstandard1.1\SQLite-net.dll</HintPath>
<Reference Include="SQLite-net, Version=1.6.292.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\sqlite-net-pcl.1.6.292\lib\netstandard1.1\SQLite-net.dll</HintPath>
</Reference>
<Reference Include="SQLitePCLRaw.batteries_green, Version=1.1.11.121, Culture=neutral, PublicKeyToken=a84b7dcfb1391f7f, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\SQLitePCLRaw.bundle_green.1.1.11\lib\MonoAndroid\SQLitePCLRaw.batteries_green.dll</HintPath>
<Reference Include="SQLitePCLRaw.batteries_green, Version=1.1.13.388, Culture=neutral, PublicKeyToken=a84b7dcfb1391f7f, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\SQLitePCLRaw.bundle_green.1.1.13\lib\MonoAndroid\SQLitePCLRaw.batteries_green.dll</HintPath>
</Reference>
<Reference Include="SQLitePCLRaw.batteries_v2, Version=1.1.11.121, Culture=neutral, PublicKeyToken=8226ea5df37bcae9, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\SQLitePCLRaw.bundle_green.1.1.11\lib\MonoAndroid\SQLitePCLRaw.batteries_v2.dll</HintPath>
<Reference Include="SQLitePCLRaw.batteries_v2, Version=1.1.13.388, Culture=neutral, PublicKeyToken=8226ea5df37bcae9, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\SQLitePCLRaw.bundle_green.1.1.13\lib\MonoAndroid\SQLitePCLRaw.batteries_v2.dll</HintPath>
</Reference>
<Reference Include="SQLitePCLRaw.core, Version=1.1.11.121, Culture=neutral, PublicKeyToken=1488e028ca7ab535, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\SQLitePCLRaw.core.1.1.11\lib\MonoAndroid\SQLitePCLRaw.core.dll</HintPath>
<Reference Include="SQLitePCLRaw.core, Version=1.1.13.388, Culture=neutral, PublicKeyToken=1488e028ca7ab535, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\SQLitePCLRaw.core.1.1.13\lib\MonoAndroid\SQLitePCLRaw.core.dll</HintPath>
</Reference>
<Reference Include="SQLitePCLRaw.lib.e_sqlite3, Version=1.1.11.121, Culture=neutral, PublicKeyToken=e4ad490600e2234c, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\SQLitePCLRaw.lib.e_sqlite3.android.1.1.11\lib\MonoAndroid\SQLitePCLRaw.lib.e_sqlite3.dll</HintPath>
<Reference Include="SQLitePCLRaw.lib.e_sqlite3, Version=1.1.13.388, Culture=neutral, PublicKeyToken=e4ad490600e2234c, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\SQLitePCLRaw.lib.e_sqlite3.android.1.1.13\lib\MonoAndroid\SQLitePCLRaw.lib.e_sqlite3.dll</HintPath>
</Reference>
<Reference Include="SQLitePCLRaw.provider.e_sqlite3, Version=1.1.11.121, Culture=neutral, PublicKeyToken=9c301db686d0bd12, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\SQLitePCLRaw.provider.e_sqlite3.android.1.1.11\lib\MonoAndroid\SQLitePCLRaw.provider.e_sqlite3.dll</HintPath>
<Reference Include="SQLitePCLRaw.provider.e_sqlite3, Version=1.1.13.388, Culture=neutral, PublicKeyToken=9c301db686d0bd12, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\SQLitePCLRaw.provider.e_sqlite3.android.1.1.13\lib\MonoAndroid\SQLitePCLRaw.provider.e_sqlite3.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="BruTile" version="2.0.2" targetFramework="monoandroid81" />
<package id="BruTile.MbTiles" version="2.0.2" targetFramework="monoandroid81" />
<package id="BruTile" version="2.1.2" targetFramework="monoandroid90" />
<package id="BruTile.MbTiles" version="2.1.2" targetFramework="monoandroid90" />
<package id="ConcurrentHashSet" version="1.0.2" targetFramework="monoandroid81" />
<package id="Itinero" version="1.3.2" targetFramework="monoandroid81" />
<package id="Microsoft.NETCore.Platforms" version="2.1.1" targetFramework="monoandroid81" />
Expand All @@ -15,11 +15,11 @@
<package id="SkiaSharp.Svg" version="1.60.0" targetFramework="monoandroid81" />
<package id="SkiaSharp.Views" version="1.60.3" targetFramework="monoandroid90" />
<package id="SkiaSharp.Views.Forms" version="1.60.3" targetFramework="monoandroid90" />
<package id="sqlite-net-pcl" version="1.4.118" targetFramework="monoandroid81" />
<package id="SQLitePCLRaw.bundle_green" version="1.1.11" targetFramework="monoandroid81" />
<package id="SQLitePCLRaw.core" version="1.1.11" targetFramework="monoandroid81" />
<package id="SQLitePCLRaw.lib.e_sqlite3.android" version="1.1.11" targetFramework="monoandroid81" />
<package id="SQLitePCLRaw.provider.e_sqlite3.android" version="1.1.11" targetFramework="monoandroid81" />
<package id="sqlite-net-pcl" version="1.6.292" targetFramework="monoandroid90" />
<package id="SQLitePCLRaw.bundle_green" version="1.1.13" targetFramework="monoandroid90" />
<package id="SQLitePCLRaw.core" version="1.1.13" targetFramework="monoandroid90" />
<package id="SQLitePCLRaw.lib.e_sqlite3.android" version="1.1.13" targetFramework="monoandroid90" />
<package id="SQLitePCLRaw.provider.e_sqlite3.android" version="1.1.13" targetFramework="monoandroid90" />
<package id="System.AppContext" version="4.3.0" targetFramework="monoandroid81" />
<package id="System.Collections" version="4.3.0" targetFramework="monoandroid81" />
<package id="System.Collections.Concurrent" version="4.3.0" targetFramework="monoandroid81" />
Expand Down
Loading

0 comments on commit 945ce99

Please sign in to comment.