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:
authorvng <viktor.govako@gmail.com>2013-08-20 16:43:02 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:59:59 +0300
commit5da20aaa42706ac072400e38c6c13fb757af454a (patch)
treea4acb35003c3cbc6235fccaaf79245daef6aff0b /map/bookmark.cpp
parenta83fec63819c13cdefb9cd4ed54bc02a44a04b73 (diff)
Bookmarks loading from kml: take into account MultiGeometry tag inside Placemark.
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r--map/bookmark.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/map/bookmark.cpp b/map/bookmark.cpp
index efdb28780f..c86cacf522 100644
--- a/map/bookmark.cpp
+++ b/map/bookmark.cpp
@@ -269,6 +269,14 @@ namespace
}
}
}
+ else if (count > 3 && m_tags[count-3] == "MultiGeometry")
+ {
+ if (prevTag == "Point")
+ {
+ if (currTag == "coordinates")
+ SetOrigin(value);
+ }
+ }
}
}
};