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:
authorExMix <rahuba.youri@mapswithme.com>2014-09-30 13:44:44 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:28:59 +0300
commit41f1c2a11a68a15623cad58d9300ab39d8915356 (patch)
treeba10a131641db5f244c600f8f86c06abbf9ff2a3 /map/bookmark.cpp
parent6b1eb715eeab2d2f8cf7efdd08d3124a7dc8443d (diff)
review fixes
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r--map/bookmark.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/map/bookmark.cpp b/map/bookmark.cpp
index 5edb36f926..f42292aff2 100644
--- a/map/bookmark.cpp
+++ b/map/bookmark.cpp
@@ -404,7 +404,10 @@ namespace
{
Track track(m_points);
track.SetName(m_name);
- track.SetColor(m_trackColor);
+
+ Track::TrackOutline trackOutline { 5.0f, m_trackColor };
+ track.AddOutline(&trackOutline, 1);
+
/// @todo Add description, style, timestamp
m_category.AddTrack(track);
}
@@ -749,7 +752,7 @@ void BookmarkCategory::SaveToKML(ostream & s)
s << "</name>\n";
s << "<Style><LineStyle>";
- graphics::Color const & col = track->GetColor();
+ graphics::Color const & col = track->GetMainColor();
s << "<color>"
<< NumToHex(col.a)
<< NumToHex(col.b)
@@ -758,7 +761,7 @@ void BookmarkCategory::SaveToKML(ostream & s)
s << "</color>\n";
s << "<width>"
- << track->GetWidth();
+ << track->GetMainWidth();
s << "</width>\n";
s << "</LineStyle></Style>\n";