diff options
author | vng <viktor.govako@gmail.com> | 2013-08-15 19:21:13 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:59:45 +0300 |
commit | 1269e13617f552b6404efca5bbf3c4b2107349f8 (patch) | |
tree | ecf01d8c17b7d0ac3b08e957cbd782f8027128b7 /map/ruler.cpp | |
parent | 59a0e39dacf58245a19adce3ab83e8f08dbf0c6a (diff) |
[api] Show viewport on correct zoom level in on API request.
Diffstat (limited to 'map/ruler.cpp')
-rw-r--r-- | map/ruler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/map/ruler.cpp b/map/ruler.cpp index 8a7c3e459a..dff4fb35d2 100644 --- a/map/ruler.cpp +++ b/map/ruler.cpp @@ -49,7 +49,7 @@ namespace { "100 yd", 100 }, { "200 yd", 200 }, { "500 yd", 500 }, - { "0.5 mi", 0.5 * 1760 }, + { "0.5 mi", 1760 / 2 }, { "1 mi", 1760 }, { "2 mi", 2 * 1760 }, { "5 mi", 5 * 1760 }, |