Skip to content

Commit

Permalink
Adding tower:type=lighting rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
kocio-pl committed Mar 2, 2018
1 parent e481962 commit d24e93f
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 8 deletions.
26 changes: 18 additions & 8 deletions amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,15 @@
[zoom >= 16][height > 40],
[zoom >= 17][height > 20],
[zoom >= 18] {
marker-file: url('symbols/mast.svg');
marker-fill: @man-made-icon;
marker-placement: interior;
marker-clip: false;
["tower:type" != 'lighting'] {
marker-file: url('symbols/mast.svg');
marker-fill: @man-made-icon;
marker-placement: interior;
marker-clip: false;
}
["tower:type" = 'lighting'][zoom >= 18] {
marker-file: url('symbols/mast_lighting.svg');
}
["tower:type" = 'communication'] {
marker-file: url('symbols/mast_communications.svg');
}
Expand All @@ -373,16 +378,21 @@
[zoom >= 14][height > 50],
[zoom >= 15][height > 30],
[zoom >= 17] {
marker-file: url('symbols/tower_generic.svg');
marker-fill: @man-made-icon;
marker-placement: interior;
marker-clip: false;
["tower:type" != 'lighting'] {
marker-file: url('symbols/tower_generic.svg');
marker-fill: @man-made-icon;
marker-placement: interior;
marker-clip: false;
}
["tower:type" = 'defensive'] {
marker-file: url('symbols/tower_defensive.svg');
}
["tower:type" = 'observation'] {
marker-file: url('symbols/tower_observation.svg');
}
["tower:type" = 'lighting'][zoom >= 18] {
marker-file: url('symbols/tower_lighting.svg');
}
["tower:construction" = 'lattice'] {
marker-file: url('symbols/tower_lattice.svg');
}
Expand Down
55 changes: 55 additions & 0 deletions symbols/mast_lighting.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions symbols/tower_lighting.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 d24e93f

Please sign in to comment.