Skip to content

Commit

Permalink
**Rendering of tag tourism=wilderness_hut**
Browse files Browse the repository at this point in the history
Code completed

amenity-points.mss and symbols/wilderness_hut.svg are ready for merge.

Latest changes:
- I have now changed the file naming of wilderness_hut.svg (with icon produced by @nebulon42) following @nebulon42's convention in gravitystorm#2451.
- Rebased to master

______________________________________________________________________

To summarize, the following different kind of huts have specific symbols now:

- amenity=shelter (only shown at zoom >=16)
- tourism=alpine_hut  (not modified within this drop)
- tourism=wilderness_hut (zoom>=13)

Symbols:
- wilderness_hut: symbols/wilderness_hut.svg (new)
- alpine_hut: symbols/alpinehut.p.16.png (unmodified)
- generic shelter: symbols/shelter.svg (unmodified)
  • Loading branch information
Ircama authored and sommerluk committed Dec 17, 2016
1 parent 9f06358 commit 7bf4113
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 13 deletions.
6 changes: 5 additions & 1 deletion amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,12 @@
point-placement: interior;
}

[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');
}
marker-fill: @transportation-icon;
marker-placement: interior;
marker-clip: false;
Expand Down Expand Up @@ -1741,6 +1745,7 @@
[feature = 'tourism_hostel'][zoom >= 17],
[feature = 'tourism_chalet'][zoom >= 17],
[feature = 'tourism_guest_house'][zoom >= 17],
[feature = 'tourism_wilderness_hut'][zoom >= 14],
[feature = 'tourism_camp_site'][zoom >= 17] {
text-name: "[name]";
text-size: @standard-text-size;
Expand Down Expand Up @@ -2257,4 +2262,3 @@
}
}
}

Loading

0 comments on commit 7bf4113

Please sign in to comment.