[gnome-maps/wip/jonasdn/vector-tiles] Tweak text properties
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/jonasdn/vector-tiles] Tweak text properties
- Date: Fri, 8 May 2015 18:54:19 +0000 (UTC)
commit 8f5eb9ab4105b3467a0bcdfd78dee3ecfff0a706
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Fri May 8 20:54:05 2015 +0200
Tweak text properties
data/gnome-maps.mapcss | 25 ++++++++++++++-----------
1 files changed, 14 insertions(+), 11 deletions(-)
---
diff --git a/data/gnome-maps.mapcss b/data/gnome-maps.mapcss
index 006ea13..183d53a 100644
--- a/data/gnome-maps.mapcss
+++ b/data/gnome-maps.mapcss
@@ -104,6 +104,13 @@ way|z12[highway=primary],
way|z13-17[highway=trunk_link],
way|z13-17[highway=primary_link] {
width: 7;
+ text: name;
+ text-color: #222233;
+ text-halo-color: white;
+ text-halo-radius: 1;
+ font-size: 6;
+ font-family: cantarell;
+
}
way|z10[highway=secondary],
@@ -199,22 +206,18 @@ way|z17[highway=residential] {
font-family: cantarell;
}
-way|z16-17[highway!=residential] {
- text: name;
- text-color: #222233;
- text-halo-color: white;
- text-halo-radius: 1;
- font-size: 6;
- font-family: cantarell;
-}
-
area {
color: #000000;
fill-color: #FAEBD7;
width: 1;
}
-area|z17-19[building] {
+area|z17-19[building!=apartments],
+area|z17-19[building!=residential],
+area|z17-19[building!=house],
+area|z17-19[building!=detached],
+area|z17-19[building!=dormitory]
+{
text: name;
text-color: #222233;
text-halo-color: white;
@@ -223,7 +226,7 @@ area|z17-19[building] {
font-family: cantarell;
}
-area|z16-19[landuse] {
+area|z16-19[landuse!=residential] {
text: name;
text-color: #222233;
text-halo-color: white;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]