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 19:10:07 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:00:00 +0300
commit2f6acb337e04317904c71f7ab5fbdd9edf713184 (patch)
tree1b220180a54496132c41d1d6514a2270eb445b7b /map/mwm_url.cpp
parent5da20aaa42706ac072400e38c6c13fb757af454a (diff)
Fix scale and balloon position for exported/imported ge0 URLs.
Diffstat (limited to 'map/mwm_url.cpp')
-rw-r--r--map/mwm_url.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/map/mwm_url.cpp b/map/mwm_url.cpp
index 7794708884..c4e88d265d 100644
--- a/map/mwm_url.cpp
+++ b/map/mwm_url.cpp
@@ -12,7 +12,14 @@
#include "../std/bind.hpp"
-using namespace url_scheme;
+namespace url_scheme
+{
+
+void ResultPoint::Init()
+{
+ m_org = m2::PointD(MercatorBounds::LonToX(m_point.m_lon),
+ MercatorBounds::LatToY(m_point.m_lat));
+}
namespace
{
@@ -172,3 +179,5 @@ bool ParsedMapApi::GetViewportRect(m2::RectD & rect) const
else
return false;
}
+
+}