Skip to content

Commit

Permalink
Adding rendering for amenity=ferry_terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
kocio-pl committed Nov 19, 2016
1 parent af70eb3 commit fc96863
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 23 deletions.
3 changes: 2 additions & 1 deletion amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -2153,7 +2153,8 @@
text-wrap-width: @standard-wrap-width;
}

[feature = 'aeroway_aerodrome'][zoom >= 10][zoom < 14] {
[feature = 'aeroway_aerodrome'][zoom >= 10][zoom < 14],
[feature = 'amenity_ferry_terminal'][zoom >= 15] {
text-name: "[name]";
text-size: @standard-text-size;
text-fill: darken(@airtransport, 15%);
Expand Down
33 changes: 18 additions & 15 deletions landcover.mss
Original file line number Diff line number Diff line change
Expand Up @@ -7,55 +7,57 @@
@park: #c8facc; // Lch(94,30,145) also recreation_ground
@orchard: #aedfa3;

// --- "base" landuses ---
// --- "Base" landuses ---

@residential: #e0dfdf; // Lch(89,0,0)
@residential-line: #B9B9B9; // Lch(75,0,0)
@retail: #FFD6D1; // Lch(89,16,30)
@retail-line: #D99C95; // Lch(70,25,30)
@commercial: #F2DAD9; // Lch(89,8.5,25)
@commercial-line: #D1B2B0; // Lch(75,12,25)
@industrial: #EBDBE8; // Lch(89,9,330)
@industrial-line: #C6B3C3; // Lch(75,11,330)
@railway: @industrial;
@railway-line: @industrial-line;
@industrial: #EBDBE8; // Lch(89,9,330) (Also used for railway)
@industrial-line: #C6B3C3; // Lch(75,11,330) (Also used for railway-line)
@farmland: #fbecd7; // Lch(94,12,80) (Also used for farm)
@farmland-line: #d6c4ab; // Lch(80,15,80)

@farmyard: #f5dcba; // Lch(89,20,80)
@farmyard-line: #D1B48C; // Lch(75,25,80)

// --- Other ----
// --- Transport ----

@aerodrome: #e9e7e2;
@allotments: #eecfb3; // Lch(85,19,70)
@apron: #e9d1ff;
@garages: #dfddce;
@parking: #f7efb7;
@railway: @industrial;
@railway-line: @industrial-line;
@rest_area: #efc8c8; // also services
@station: #d4aaaa;

// --- Other ----

@allotments: #eecfb3; // Lch(85,19,70)
@bare_ground: #eee5dc;
@campsite: #def6c0; // also caravan_site, picnic_site
@cemetery: #aacbaf; // also grave_yard
@construction: #c7c7b4; // also brownfield
@danger_area: pink;
@garages: #dfddce;
@heath: #d6d99f;
@mud: rgba(203,177,154,0.3); // produces #e6dcd1 over @land
@parking: #f7efb7;
@place_of_worship: #cdccc9;
@place_of_worship_outline: #111;
@playground: lighten(@park, 5%);
@power: darken(@industrial, 5%);
@power-line: darken(@industrial-line, 5%);
@rest_area: #efc8c8; // also services
@sand: #f5e9c6;
@societal_amenities: #f0f0d8;
@station: #d4aaaa;
@tourism: #734a08;
@quarry: #c5c3c3;
@military: #f55;
@beach: #fff1ba;

// --- sports ---
// --- Sports ---

@pitch: #aae0cb;
@pitch: #aae0cb; // also track
@track: @pitch;
@stadium: @societal_amenities; // also sports_centre
@golf_course: #b5e3b5;
Expand Down Expand Up @@ -493,7 +495,8 @@
[way_pixels >= 64] { polygon-gamma: 0.3; }
}

[feature = 'aeroway_aerodrome'][zoom >= 10] {
[feature = 'aeroway_aerodrome'][zoom >= 10],
[feature = 'amenity_ferry_terminal'][zoom >= 15] {
polygon-fill: @aerodrome;
line-width: 0.2;
line-color: saturate(darken(@aerodrome, 40%), 20%);
Expand Down
Loading

0 comments on commit fc96863

Please sign in to comment.