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:
authorAlex Zolotarev <alex@mapswithme.com>2014-07-04 21:27:42 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:19:29 +0300
commitdb544d4c95569b820a5219b2364470cd1dbac305 (patch)
tree11d401817b1f1c29001430ef4ad424e4faf7a604 /map/bookmark.cpp
parentc360eae5538ad816391b3b755d8b0b07d413019b (diff)
Added convenience static method m2::PointD MercatorBounds::FromLatLon(lat, lon)
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r--map/bookmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/map/bookmark.cpp b/map/bookmark.cpp
index 4fdcdc8ead..d219a3c3f7 100644
--- a/map/bookmark.cpp
+++ b/map/bookmark.cpp
@@ -256,7 +256,7 @@ namespace
double lat;
if (strings::to_double(*iter, lat) && MercatorBounds::ValidLat(lat))
{
- pt = m2::PointD(MercatorBounds::LonToX(lon), MercatorBounds::LatToY(lat));
+ pt = MercatorBounds::FromLatLon(lat, lon);
return true;
}
else