diff options
author | vng <viktor.govako@gmail.com> | 2013-08-20 19:10:07 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:00:00 +0300 |
commit | 2f6acb337e04317904c71f7ab5fbdd9edf713184 (patch) | |
tree | 1b220180a54496132c41d1d6514a2270eb445b7b /map/geourl_process.cpp | |
parent | 5da20aaa42706ac072400e38c6c13fb757af454a (diff) |
Fix scale and balloon position for exported/imported ge0 URLs.
Diffstat (limited to 'map/geourl_process.cpp')
-rw-r--r-- | map/geourl_process.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/map/geourl_process.cpp b/map/geourl_process.cpp index 55d488400c..ea219a5fb1 100644 --- a/map/geourl_process.cpp +++ b/map/geourl_process.cpp @@ -19,18 +19,6 @@ namespace url_scheme m_zoom = scales::GetUpperScale(); } - m2::RectD Info::GetViewport() const - { - ASSERT ( IsValid(), () ); - - return scales::GetRectForLevel(m_zoom, GetMercatorPoint(), 1.0); - } - - m2::PointD Info::GetMercatorPoint() const - { - return m2::PointD(MercatorBounds::LonToX(m_lon), MercatorBounds::LatToY(m_lat)); - } - class DoGeoParse { Info & m_info; |