forked from organicmaps/organicmaps
Fixed order in which bookmarks are stored to KML file.
This commit is contained in:
parent
568222e411
commit
35b6cf169d
1 changed files with 2 additions and 1 deletions
|
@ -705,7 +705,8 @@ void BookmarkCategory::SaveToKML(ostream & s)
|
|||
|
||||
for (size_t i = 0; i < GetBookmarksCount(); ++i)
|
||||
{
|
||||
Bookmark const * bm = GetBookmark(i);
|
||||
const size_t ix = GetBookmarksCount() - i - 1;
|
||||
Bookmark const * bm = GetBookmark(ix);
|
||||
s << " <Placemark>\n";
|
||||
s << " <name>";
|
||||
SaveStringWithCDATA(s, bm->GetName());
|
||||
|
|
Loading…
Add table
Reference in a new issue