mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 07:55:13 +00:00
Added IsHttp(Uri) extension method
This commit is contained in:
parent
2961836792
commit
1588171fb4
3 changed files with 8 additions and 3 deletions
|
|
@ -38,7 +38,7 @@ namespace MapControl
|
|||
{
|
||||
xmlStream = File.OpenRead(uri.LocalPath);
|
||||
}
|
||||
else if (uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps)
|
||||
else if (uri.IsHttp())
|
||||
{
|
||||
defaultUri = uri.OriginalString.Split('?')[0];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue