Skip to content

Commit

Permalink
Change initial and final aerodrome zlevel, check waypixels
Browse files Browse the repository at this point in the history
Change initial zoom level to z11 for airports, z13 for minor aerodromes, change last zoom level to <17 or waypixels<768000
Airport z10-17 icon z11-17 text, minor aerodrome z12-18 icon z13-18 text, and waypixels <768000
  • Loading branch information
jeisenbe committed Aug 31, 2019
1 parent eae0909 commit 03656b6
Showing 1 changed file with 30 additions and 8 deletions.
38 changes: 30 additions & 8 deletions amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -1488,12 +1488,17 @@
marker-fill: @airtransport;
}

[feature = 'aeroway_aerodrome']['access' != 'private']['icao' != null]['iata' != null][zoom >= 10][zoom < 14],
[feature = 'aeroway_aerodrome'][zoom >= 11][zoom < 14] {
marker-file: url('symbols/aerodrome.12.svg');
marker-placement: interior;
marker-clip: false;
marker-fill: @airtransport;
[feature = 'aeroway_aerodrome']['access' != 'private']['icao' != null]['iata' != null][zoom >= 10][zoom < 17],
[feature = 'aeroway_aerodrome']['access' = 'private'][zoom >= 12][zoom < 18],
[feature = 'aeroway_aerodrome']['icao' = null][zoom >= 12][zoom < 18],
[feature = 'aeroway_aerodrome']['iata' = null][zoom >= 12][zoom < 18] {
[way_pixels <= 768000],
[way_pixels = null] {
marker-file: url('symbols/aerodrome.12.svg');
marker-placement: interior;
marker-clip: false;
marker-fill: @airtransport;
}
}

[feature = 'amenity_ferry_terminal'][zoom >= 15] {
Expand Down Expand Up @@ -3111,8 +3116,25 @@
text-placement: interior;
}

[feature = 'aeroway_aerodrome']['access' != 'private']['icao' != null]['iata' != null][zoom >= 10][zoom < 14],
[feature = 'aeroway_aerodrome'][zoom >= 11][zoom < 14],
[feature = 'aeroway_aerodrome']['access' != 'private']['icao' != null]['iata' != null][zoom >= 11][zoom < 17],
[feature = 'aeroway_aerodrome'][zoom >= 13][zoom < 18]['access' = 'private'],
[feature = 'aeroway_aerodrome'][zoom >= 13][zoom < 18]['icao' = null],
[feature = 'aeroway_aerodrome'][zoom >= 13][zoom < 18]['iata' = null] {
[way_pixels <= 768000],
[way_pixels = null] {
text-name: "[name]";
text-size: @standard-font-size;
text-wrap-width: @standard-wrap-width;
text-line-spacing: @standard-line-spacing-size;
text-fill: darken(@airtransport, 15%);
text-dy: 10;
text-face-name: @oblique-fonts;
text-halo-radius: @standard-halo-radius;
text-halo-fill: @standard-halo-fill;
text-placement: interior;
}
}

[feature = 'amenity_ferry_terminal'][zoom >= 15] {
text-name: "[name]";
text-size: @standard-font-size;
Expand Down

0 comments on commit 03656b6

Please sign in to comment.