diff options
author | vng <viktor.govako@gmail.com> | 2013-08-20 16:43:02 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:59:59 +0300 |
commit | 5da20aaa42706ac072400e38c6c13fb757af454a (patch) | |
tree | a4acb35003c3cbc6235fccaaf79245daef6aff0b /map/bookmark.cpp | |
parent | a83fec63819c13cdefb9cd4ed54bc02a44a04b73 (diff) |
Bookmarks loading from kml: take into account MultiGeometry tag inside Placemark.
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r-- | map/bookmark.cpp | 8 |
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); + } + } } } }; |