diff options
author | Constantin Shalnev <c.shalnev@corp.mail.ru> | 2015-04-27 16:32:34 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:47:15 +0300 |
commit | 390d0c2451728e0cbf412f804c7c97d97b4e997b (patch) | |
tree | 01c2d9c04f357a36cf948374691bd2e1cf6c8726 /map/user_mark_container.cpp | |
parent | 5a81ae596eb765bb8ddf12e913046432231c4a72 (diff) |
Added api markers
Diffstat (limited to 'map/user_mark_container.cpp')
-rw-r--r-- | map/user_mark_container.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/map/user_mark_container.cpp b/map/user_mark_container.cpp index 6ee8bcc59f..731aa5b656 100644 --- a/map/user_mark_container.cpp +++ b/map/user_mark_container.cpp @@ -285,6 +285,29 @@ UserMark * ApiUserMarkContainer::AllocateUserMark(const m2::PointD & ptOrg) } +DebugUserMarkContainer::DebugUserMarkContainer(double layerDepth, Framework & framework) + : UserMarkContainer(layerDepth, framework) +{ +} + +string DebugUserMarkContainer::GetTypeName() const +{ + // api-result.png is reused for debug markers + return "api-result"; +} + +string DebugUserMarkContainer::GetActiveTypeName() const +{ + // api-result.png is reused for debug markers + return "api-result"; +} + +UserMark * DebugUserMarkContainer::AllocateUserMark(const m2::PointD & ptOrg) +{ + return new DebugMarkPoint(ptOrg, this); +} + + SelectionContainer::SelectionContainer(Framework & fm) : m_container(NULL) , m_fm(fm) |