Skip to content

Commit

Permalink
Re-designing volcano icon not to imply peak any more but using
Browse files Browse the repository at this point in the history
the same color as peaks.

Also using a smaller icon version for peak and volcano for the
first zoom level.
  • Loading branch information
imagico committed Jan 23, 2019
1 parent 65479a0 commit 99e5738
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 6 deletions.
15 changes: 9 additions & 6 deletions amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -1145,15 +1145,17 @@
}

[feature = 'natural_peak'][zoom >= 11] {
marker-file: url('symbols/peak.svg');
marker-file: url('symbols/peak_small.svg');
[zoom >= 12] { marker-file: url('symbols/peak.svg'); }
marker-fill: @landform-color;
marker-placement: interior;
marker-clip: false;
}

[feature = 'natural_volcano'][zoom >= 11] {
marker-file: url('symbols/peak.svg');
marker-fill: #d40000;
[feature = 'natural_volcano'][zoom >= 13] {
marker-file: url('symbols/volcano_small.svg');
[zoom >= 14] { marker-file: url('symbols/volcano.svg'); }
marker-fill: @landform-color;
marker-placement: interior;
marker-clip: false;
}
Expand Down Expand Up @@ -1628,16 +1630,17 @@
}

[feature = 'natural_peak'][zoom >= 13],
[feature = 'natural_volcano'][zoom >= 13],
[feature = 'natural_volcano'][zoom >= 15],
[feature = 'natural_saddle'][zoom >= 15],
[feature = 'mountain_pass'][zoom >= 15] {
text-name: "[name]";
text-size: @standard-font-size;
text-wrap-width: @standard-wrap-width;
text-line-spacing: @standard-line-spacing-size;
text-fill: darken(@landform-color, 30%);
[feature = 'natural_volcano'] { text-fill: #d40000; }
text-dy: 7;
[feature = 'mountain_pass'] { text-dy: 10; }
[feature = 'natural_volcano'] { text-dy: 11; }
text-face-name: @standard-font;
text-halo-radius: @standard-halo-radius;
text-halo-fill: @standard-halo-fill;
Expand Down
36 changes: 36 additions & 0 deletions symbols/peak_small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions symbols/volcano.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions symbols/volcano_small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 99e5738

Please sign in to comment.