Update TileImageLoader.cs

This commit is contained in:
ClemensFischer 2024-02-07 19:18:16 +01:00
parent 5fe66d94a2
commit 7fcfe2412a

View file

@ -146,7 +146,7 @@ namespace MapControl
{
var extension = Path.GetExtension(uri.LocalPath);
if (string.IsNullOrEmpty(extension) || extension == ".jpeg")
if (string.IsNullOrEmpty(extension) || extension.Equals(".jpeg", StringComparison.OrdinalIgnoreCase))
{
extension = ".jpg";
}