diff options
author | Kirill Zhdanovich <kzhdanovich@gmail.com> | 2013-10-30 17:28:37 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:04:21 +0300 |
commit | 609e24d158b06a6411b7eef0e98f577fd77b72b1 (patch) | |
tree | d13c39fb3dfaa2575cc63fece4c72e2581579b94 /map/bookmark.cpp | |
parent | 4aa548bc3a6730944dcaf06a029f7b31eb6147fb (diff) |
[routes] Fix parsing of multi geometry routes
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r-- | map/bookmark.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/map/bookmark.cpp b/map/bookmark.cpp index fa968eafd5..a6d48dc17d 100644 --- a/map/bookmark.cpp +++ b/map/bookmark.cpp @@ -369,6 +369,16 @@ namespace if (currTag == "coordinates") SetOrigin(value); } + else if (prevTag == "LineString") + { + if (currTag == "coordinates") + ParseLineCoordinates(value, " \n\r\t", ","); + } + else if (prevTag == "gx:Track") + { + if (currTag == "gx:coord") + ParseLineCoordinates(value, "\n\r\t", " "); + } } } } |