From 69828a2fe2efc4dff2fbf996b85f45c9adcfab6d Mon Sep 17 00:00:00 2001 From: mdankov Date: Wed, 4 Mar 2015 09:30:38 +0000 Subject: 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 --- navit/maptool/maptool.c | 2 +- navit/maptool/misc.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'navit') diff --git a/navit/maptool/maptool.c b/navit/maptool/maptool.c index 56e9cc09..0efcf881 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 9258048e..eabd24ff 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: -- cgit v1.2.1