diff options
author | Alex Zolotarev <alex@mapswithme.com> | 2014-07-04 21:27:42 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:19:29 +0300 |
commit | db544d4c95569b820a5219b2364470cd1dbac305 (patch) | |
tree | 11d401817b1f1c29001430ef4ad424e4faf7a604 /map/bookmark.cpp | |
parent | c360eae5538ad816391b3b755d8b0b07d413019b (diff) |
Added convenience static method m2::PointD MercatorBounds::FromLatLon(lat, lon)
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r-- | map/bookmark.cpp | 2 |
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 |