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>2011-10-12 16:56:47 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:25:54 +0300
commite9d70dae6e498536e2304321d2d5b6854bf2f7a5 (patch)
tree849025aba851bbb27df574980bec3698c4e3c2f3 /indexer/data_header.cpp
parent66ac8c9240f3ba23ad9b058b2971d9b2f2f37bc9 (diff)
Draw WorldCoasts in all scales and filter coastline features drawing.
Diffstat (limited to 'indexer/data_header.cpp')
-rw-r--r--indexer/data_header.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/indexer/data_header.cpp b/indexer/data_header.cpp
index 5f8e97c85c..32903af338 100644
--- a/indexer/data_header.cpp
+++ b/indexer/data_header.cpp
@@ -42,17 +42,18 @@ namespace feature
using namespace scales;
int const low = 0;
+ int const high = GetUpperScale();
int const worldH = GetUpperWorldScale();
MapType const type = GetType();
switch (type)
{
case world: return make_pair(low, worldH);
- case worldcoasts: return make_pair(low, worldH);
+ case worldcoasts: return make_pair(low, high);
default:
ASSERT_EQUAL(type, country, ());
- return make_pair(worldH + 1, GetUpperScale());
- //return make_pair(low, GetUpperScale());
+ return make_pair(worldH + 1, high);
+ //return make_pair(low, high);
}
}