forked from organicmaps/organicmaps
Renamed Framework::ParseURL() to ParseGeoURL()
This commit is contained in:
parent
b5965f5995
commit
462581f38e
3 changed files with 3 additions and 3 deletions
|
@ -1371,7 +1371,7 @@ bool Framework::SetViewportByURL(string const & url)
|
|||
using namespace url_scheme;
|
||||
|
||||
Info info;
|
||||
ParseURL(url, info);
|
||||
ParseGeoURL(url, info);
|
||||
|
||||
if (info.IsValid())
|
||||
{
|
||||
|
|
|
@ -100,7 +100,7 @@ namespace url_scheme
|
|||
}
|
||||
};
|
||||
|
||||
void ParseURL(string const & s, Info & info)
|
||||
void ParseGeoURL(string const & s, Info & info)
|
||||
{
|
||||
strings::Tokenize(s, ":/?&=,", DoGeoParse(info));
|
||||
}
|
||||
|
|
|
@ -28,5 +28,5 @@ namespace url_scheme
|
|||
m2::RectD GetViewport() const;
|
||||
};
|
||||
|
||||
void ParseURL(string const & s, Info & info);
|
||||
void ParseGeoURL(string const & s, Info & info);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue