Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Zhdanovich <kzhdanovich@gmail.com>2013-10-30 17:28:37 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:04:21 +0300
commit609e24d158b06a6411b7eef0e98f577fd77b72b1 (patch)
treed13c39fb3dfaa2575cc63fece4c72e2581579b94 /map/bookmark.cpp
parent4aa548bc3a6730944dcaf06a029f7b31eb6147fb (diff)
[routes] Fix parsing of multi geometry routes
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r--map/bookmark.cpp10
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", " ");
+ }
}
}
}