Skip to content

Commit

Permalink
display natural=reef
Browse files Browse the repository at this point in the history
  • Loading branch information
noktoborus committed May 18, 2023
1 parent 7357ab7 commit 828ff59
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Default.style/Style.mapcss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
@image_allotments: "allotments_dark.png";
@image_quarry: "quarry_dark.png";
@image_dog_park: "dog_park_dark.png";
@image_reef: "reef_dark.svg";
@else // Default colors
@import "colors.mapcss";
@image_noData: "noData.png";
Expand All @@ -27,6 +28,7 @@
@image_allotments: "allotments.png";
@image_quarry: "quarry.png";
@image_dog_park: "dog_park.png";
@image_reef: "reef.svg";
@endif
@image_wetland: "wetland.png";

Expand Down
7 changes: 7 additions & 0 deletions Default.style/polygons.mapcss
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,13 @@ area {
}
}

@if Style == Outdoor
|z14-[natural=reef] {
fill-image: @image_reef;
z-index: 1;
}
@endif

[natural=wetland] {
|z9-12 {
fill-color: @color_wetland;
Expand Down
28 changes: 28 additions & 0 deletions Default.style/reef.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions Default.style/reef_dark.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 828ff59

Please sign in to comment.