Skip to content

Commit

Permalink
Only render entrance type defined in OSM wiki.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpikonen committed Nov 15, 2017
1 parent c4aa79a commit ec1c002
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions buildings.mss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@
}

#entrances {
["entrance" != null] {
["entrance" = "yes"],
["entrance" = "main"],
["entrance" = "home"],
["entrance" = "service"],
["entrance" = "staircase"] {
marker-fill: @entrance-normal;
marker-allow-overlap: true;
marker-ignore-placement: true;
Expand All @@ -57,16 +61,14 @@
["entrance" = "service"] {
marker-file: url('symbols/corners.svg');
}
["access" = "yes"],["access" = "permissive"] {
["access" = "yes"],
["access" = "permissive"] {
marker-fill: @entrance-permissive;
}
["access" = "no"] {
marker-fill: @entrance-normal;
marker-file: url('symbols/rectdiag.svg');
}
["entrance" = "exit"],["entrance" = "emergency"] {
marker-opacity: 0.0;
}
[zoom >= 17] {
marker-width: 4.0;
marker-height: 4.0;
Expand Down

0 comments on commit ec1c002

Please sign in to comment.