diff options
author | mdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2015-03-04 09:30:38 +0000 |
---|---|---|
committer | mdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2015-03-04 09:30:38 +0000 |
commit | 793f301b602d2e604c221574bbfbf181de265ebe (patch) | |
tree | b49d22f0ee8c86490c235eddfa7894eda0f0b447 /navit/maptool | |
parent | 415c9a5a72e50e276d5df2f37bfee13ae441666f (diff) | |
download | navit-793f301b602d2e604c221574bbfbf181de265ebe.tar.gz |
Fix:maptool:Mark coastline pulling to order 6 as experimental feature, related to #854.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6018 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/maptool')
-rw-r--r-- | navit/maptool/maptool.c | 2 | ||||
-rw-r--r-- | navit/maptool/misc.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/navit/maptool/maptool.c b/navit/maptool/maptool.c index 56e9cc094..0efcf881a 100644 --- a/navit/maptool/maptool.c +++ b/navit/maptool/maptool.c @@ -57,7 +57,7 @@ int slices; int unknown_country; char ch_suffix[] ="r"; /* Used to make compiler happy due to Bug 35903 in gcc */ /** Textual description of available experimental features, or NULL (=none available). */ -char* experimental_feature_description = NULL; /* add description here */ +char* experimental_feature_description = "Move coastline data to order 6 tiles. Makes map look more smooth, but may affect drawing/searching performance."; /* add description here */ /** Indicates if experimental features (if available) were enabled. */ int experimental; diff --git a/navit/maptool/misc.c b/navit/maptool/misc.c index 9258048e6..eabd24ff8 100644 --- a/navit/maptool/misc.c +++ b/navit/maptool/misc.c @@ -181,9 +181,12 @@ item_order_by_type(enum item_type type) case type_district_label_2e6: case type_district_label_1e6: case type_district_label_5e5: - case type_poly_water_tiled: max=6; break; + case type_poly_water_tiled: + if(experimental) + max=6; + break; case type_town_label_2e5: case type_town_label_1e5: case type_district_label_2e5: |