mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-31 13:50:06 +01:00
Update TileImageLoader.cs
This commit is contained in:
parent
5fe66d94a2
commit
7fcfe2412a
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue