Skip to content

Commit

Permalink
Fixing SVG icons artifacts (#3094)
Browse files Browse the repository at this point in the history
  • Loading branch information
kocio-pl authored Mar 4, 2018
1 parent 55b287e commit acb29f7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
[feature = 'amenity_bus_station'][zoom >= 16] {
marker-file: url('symbols/bus_station.svg');
// use colors from SVG to allow for white background
point-placement: interior;
marker-placement: interior;
marker-clip: false;
}

Expand Down Expand Up @@ -182,7 +182,7 @@
[feature = 'tourism_chalet'][zoom >= 17] {
marker-file: url('symbols/chalet.svg');
marker-fill: @accommodation-icon;
point-placement: interior;
marker-placement: interior;
marker-clip: false;
}

Expand Down Expand Up @@ -258,14 +258,14 @@
[feature = 'tourism_guest_house'][zoom >= 17] {
marker-file: url('symbols/guest_house.svg');
marker-fill: @accommodation-icon;
point-placement: interior;
marker-placement: interior;
marker-clip: false;
}

[feature = 'tourism_apartment'][zoom >= 18] {
marker-file: url('symbols/apartment.svg');
marker-fill: @accommodation-icon;
point-placement: interior;
marker-placement: interior;
marker-clip: false;
}

Expand Down Expand Up @@ -936,14 +936,14 @@
[feature = 'leisure_miniature_golf'][zoom >= 17] {
marker-file: url('symbols/miniature_golf.svg');
marker-fill: @leisure-green;
point-placement: interior;
marker-placement: interior;
marker-clip: false;
}

[feature = 'leisure_golf_course'][zoom >= 15] {
marker-file: url('symbols/golf.svg');
marker-fill: @leisure-green;
point-placement: interior;
marker-placement: interior;
marker-clip: false;
}

Expand Down Expand Up @@ -1112,10 +1112,10 @@

[feature = 'railway_level_crossing'][zoom >= 14]::railway,
[feature = 'railway_crossing'][zoom >= 15]::railway{
point-file: url('symbols/level_crossing.svg');
point-placement: interior;
marker-file: url('symbols/level_crossing.svg');
marker-placement: interior;
[zoom >= 16] {
point-file: url('symbols/level_crossing2.svg');
marker-file: url('symbols/level_crossing2.svg');
}
}

Expand Down

0 comments on commit acb29f7

Please sign in to comment.