Skip to content

Commit

Permalink
Clickable entrances with building number.
Browse files Browse the repository at this point in the history
  • Loading branch information
molind committed Jan 26, 2023
1 parent 2ff94cf commit 7cf7c80
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
5 changes: 0 additions & 5 deletions Default.style/poi_hardware-1.svg

This file was deleted.

4 changes: 0 additions & 4 deletions Default.style/poi_hardware.svg

This file was deleted.

20 changes: 15 additions & 5 deletions Default.style/points.mapcss
Original file line number Diff line number Diff line change
Expand Up @@ -261,22 +261,32 @@ node,area {

text-priority: -5;
details-enabled: 0;

icon-scale: 0.7;
[entrance=main] {
icon-scale: 0.85;
}

|z18-{
icon-image: "poi_entrance.svg";
icon-scale: 0.8;
[entrance=main] {
icon-scale: 1;
}

[addr:housenumber] {
text: eval( tag('addr:housenumber') );
text-color: @color_building_text;
font-size: 9;
details-enabled: 1;
}

icon-image: "poi_entrance.svg";
text: eval( tag('ref') );
text-color: @color_entrance_text;
font-size: 8;
[ref] {
text: eval( tag('ref') );
text-color: @color_entrance_text;
font-size: 8;
details-enabled: 1;
}
}
}
@endif
Expand Down

0 comments on commit 7cf7c80

Please sign in to comment.