summaryrefslogtreecommitdiff
path: root/navit
diff options
context:
space:
mode:
authormdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>2015-03-04 09:30:38 +0000
committermdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>2015-03-04 09:30:38 +0000
commit69828a2fe2efc4dff2fbf996b85f45c9adcfab6d (patch)
treeb49d22f0ee8c86490c235eddfa7894eda0f0b447 /navit
parentef37d263bc2e72047e9f234e9ea9cdca953d9a0f (diff)
downloadnavit-svn-69828a2fe2efc4dff2fbf996b85f45c9adcfab6d.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')
-rw-r--r--navit/maptool/maptool.c2
-rw-r--r--navit/maptool/misc.c5
2 files changed, 5 insertions, 2 deletions
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: