diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2013-01-14 19:53:29 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:48:43 +0300 |
commit | 56ec19061b7dcdc2ee9205597ec31dbd03f32636 (patch) | |
tree | 2703c2e8d180b3f197a5050fc2800f4a688c022c /map/mwm_url.cpp | |
parent | 9aa56a7b794aa4f190fc63ffefd7c077219c1e50 (diff) |
[api] Added missing url parser
Diffstat (limited to 'map/mwm_url.cpp')
-rw-r--r-- | map/mwm_url.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/map/mwm_url.cpp b/map/mwm_url.cpp index 6a7541d638..9e4fa04bf7 100644 --- a/map/mwm_url.cpp +++ b/map/mwm_url.cpp @@ -89,4 +89,11 @@ void ParsedMapApi::AddKeyValue(string const & key, string const & value) else LOG(LWARNING, ("Map API: Point name with no point. 'll' should come first!")); } + else if (key == "u") + { + if (!m_points.empty()) + m_points.back().m_url = value; + else + LOG(LWARNING, ("Map API: Point url with no point. 'll' should come first!")); + } } |