Skip to content

Commit

Permalink
Display railway=turntable with icon
Browse files Browse the repository at this point in the history
  • Loading branch information
noktoborus committed Apr 14, 2023
1 parent 7cf7c80 commit b65e905
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions Default.style/colors.mapcss
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,4 @@

@color_railway: #E6F8E0; // l: 0.1
@color_railway_dashes: #999; // l: 0.1
@color_railway_turntable: #9e9e9e;
1 change: 1 addition & 0 deletions Default.style/colors_dark.mapcss
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,4 @@

@color_railway: #1E4810;
@color_railway_dashes: #7F7F7F;
@color_railway_turntable: #9e9e9e;
15 changes: 15 additions & 0 deletions Default.style/poi_railway_turntable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions Default.style/polygons.mapcss
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,16 @@ area {
z-index: 10;
fill-color: @color_bridge;
}


|z14-[railway=turntable] {
width: eval( zlinear(16, 2pt, 4pt) );
color: @color_railway_turntable;
|z16- {
icon-image: "poi_railway_turntable.svg";
icon-tint: @color_railway_turntable;
}
}
}

/******************************* Polygon strokes *******************************/
Expand Down

0 comments on commit b65e905

Please sign in to comment.