From c24fd76ee6cd330cb7bc7b7a5e77a53648aed36b Mon Sep 17 00:00:00 2001 From: Constantin Shalnev Date: Wed, 28 Oct 2015 17:53:58 +0300 Subject: [PATCH] Fixed mapcss to show POI labels --- data/styles/clear/include/POI.mapcss | 2 +- data/styles/clear/include/labels.mapcss | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/data/styles/clear/include/POI.mapcss b/data/styles/clear/include/POI.mapcss index 06ce87ddef..110a0eaa12 100644 --- a/data/styles/clear/include/POI.mapcss +++ b/data/styles/clear/include/POI.mapcss @@ -209,7 +209,7 @@ node|z19-[amenity=recycling], area|z19-[amenity=recycling], { icon-image: recycl /* LEISURE */ /* node|z18-[leisure] { } */ -node|z18-[leisure], area|z18-[leisure] { font-size: 10; text: tourism; text-color: @poi_label; } +node|z18-[leisure], area|z18-[leisure] { font-size: 10; text: name; text-color: @poi_label; } node|z16[leisure=stadium] { icon-image: pitch-m.svg; text-offset: 8; font-size: 10; text: name; text-color: @poi_label; } node|z17-[leisure=stadium] { icon-image: pitch-l.svg; text-offset: 8; font-size: 10; text: name; text-color: @poi_label; } diff --git a/data/styles/clear/include/labels.mapcss b/data/styles/clear/include/labels.mapcss index 615aefb692..18059a2a6d 100644 --- a/data/styles/clear/include/labels.mapcss +++ b/data/styles/clear/include/labels.mapcss @@ -1137,7 +1137,7 @@ area|z17[leisure=park][!name] { area|z17[leisure=garden][!name] { } -area|z18-[leisure=park][name] { +area|z18-[leisure=park] { icon-image: park-l.svg; text-offset: 10; text: name; @@ -1147,7 +1147,7 @@ area|z18-[leisure=park][name] { text-halo-color: @label_halo_light; text-halo-radius: 0.5; } -area|z18-[leisure=garden][name] { +area|z18-[leisure=garden] { icon-image: garden-l.svg; text-offset: 10; text: name; @@ -1157,12 +1157,7 @@ area|z18-[leisure=garden][name] { text-halo-color: @label_halo_light; text-halo-radius: 0.5; } -area|z18-[leisure=park][!name] { - icon-image: park-l.svg; -} -area|z18-[leisure=garden][!name] { - icon-image: garden-l.svg; -} + /* BEACH LABELS */ area|z15-[leisure=beach_resort],