summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2013-12-15 03:16:20 +0000
committerChristopher Baines <cbaines8@gmail.com>2013-12-15 03:16:20 +0000
commit5eff992956b78b539c5fb1562a4692c065878fd4 (patch)
tree5948a88e656eb94da6da7550c12cc6454d3cdcdd
parentf778a63afc80482c6638ab7d4a743185642060ec (diff)
downloadsum-carto-5eff992956b78b539c5fb1562a4692c065878fd4.tar
sum-carto-5eff992956b78b539c5fb1562a4692c065878fd4.tar.gz
Colour sports things green, and increase the border on indoor buildings
-rwxr-xr-xbuildings.mss13
-rwxr-xr-xproject.mml5
2 files changed, 11 insertions, 7 deletions
diff --git a/buildings.mss b/buildings.mss
index 95cf118..b6846b2 100755
--- a/buildings.mss
+++ b/buildings.mss
@@ -1,15 +1,22 @@
#uni-building {
- polygon-fill: #a9ceeb;
+ polygon-fill: #0098C3;
polygon-opacity: 0.9;
polygon-clip: false;
[zoom >= 16] {
line-color: #330066;
line-width: 0.2;
+ [zoom >= 20] {
+ line-color: #007090;
+ line-width: 3;
+ }
+ }
+ [leisure = 'sports_centre'] {
+ polygon-fill: #30d44b;
}
}
#uni-building-names {
- // [loc_ref!='57'] means, don't write the name for building 57, such that the SUSU Shop logo displays
+ // [loc_ref!='57'] means, don't write the name for building 57, such that the SUSU Shop logo displays
[zoom >= 16][loc_ref!='57'] {
[loc_ref='42'][zoom>16] { // SUSU Building
point-file: url('logos/susu2.png');
@@ -39,7 +46,7 @@
[zoom >= 20] {
text-size: 14;
}
- }
+ }
}
[minor=false] {
text-size: 14;
diff --git a/project.mml b/project.mml
index 2974cb3..f3e739c 100755
--- a/project.mml
+++ b/project.mml
@@ -113,7 +113,6 @@
"extent_cache": "auto",
"extent": "-230132.48,6569406.74,-46597.13,6699692.44",
"dbname": "hampshire",
- "user": "mapbox",
"id": "roads",
"project": "soton",
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
@@ -427,8 +426,7 @@
"geometry_field": "way",
"extent_cache": "auto",
"extent": "-218071.87,6569406.74,-77478.45,6693408.12",
- "dbname": "hampshire",
- "user": "mapbox"
+ "dbname": "hampshire"
},
"id": "uni-building",
"class": "",
@@ -625,7 +623,6 @@
"extent_cache": "auto",
"extent": "-218071.87,6569406.74,-77478.45,6693408.12",
"dbname": "hampshire",
- "user": "mapbox",
"id": "site-name",
"project": "soton-uni-map-v2",
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"