Skip to content

Commit

Permalink
* Change rendering of alpine Hut to SVG
Browse files Browse the repository at this point in the history
* Fix some transportation-text inconsistencies
  • Loading branch information
Sven Geggus committed Aug 15, 2017
1 parent 203bd8c commit 776e86b
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 8 deletions.
15 changes: 7 additions & 8 deletions amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,16 @@

/* Note that .points is also used in water-features.mss */
.points {
[feature = 'tourism_alpine_hut'][zoom >= 13] {
point-file: url('symbols/alpinehut.p.16.png');
point-placement: interior;
}

[feature = 'tourism_alpine_hut'][zoom >= 13],
[feature = 'tourism_wilderness_hut'][zoom >= 13],
[feature = 'amenity_shelter'][zoom >= 16] {
marker-file: url('symbols/shelter.svg');
[feature = 'tourism_wilderness_hut'] {
marker-file: url('symbols/wilderness_hut.svg');
}
[feature = 'tourism_alpine_hut'] {
marker-file: url('symbols/alpinehut.svg');
}
marker-fill: @transportation-icon;
marker-placement: interior;
marker-clip: false;
Expand Down Expand Up @@ -1632,7 +1631,7 @@
[feature = 'tourism_camp_site'][zoom >= 17] {
text-name: "[name]";
text-size: @standard-text-size;
text-fill: #0066ff;
text-fill: @transportation-text;
text-dy: 11;
text-face-name: @standard-font;
text-halo-radius: @standard-halo-radius;
Expand All @@ -1650,7 +1649,7 @@
[feature = 'amenity_embassy'][zoom >= 17] {
text-name: "[name]";
text-size: @standard-text-size;
text-fill: #0066ff;
text-fill: @transportation-text;
text-dy: 10;
text-face-name: @standard-font;
text-halo-radius: @standard-halo-radius;
Expand All @@ -1662,7 +1661,7 @@
[feature = 'amenity_taxi'][zoom >= 17] {
text-name: "[name]";
text-size: @standard-text-size;
text-fill: #0066ff;
text-fill: @transportation-text;
text-dy: 11;
text-face-name: @standard-font;
text-halo-radius: @standard-halo-radius;
Expand Down
Binary file removed symbols/alpinehut.p.16.png
Binary file not shown.
38 changes: 38 additions & 0 deletions symbols/alpinehut.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 776e86b

Please sign in to comment.