Changeset 18038 in josm for trunk


Ignore:
Timestamp:
2021-07-16T10:08:03+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #21123 - Render name labels for highway=busway (patch by JeroenHoek)

Location:
trunk/resources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r18033 r18038  
    54285428            <preset_link preset_name="Address" />
    54295429        </item> <!-- Building -->
    5430         <item name="Residential Building" icon="presets/landmark/building.svg" type="node,closedway,multipolygon" preset_name_label="true">
     5430        <item name="Residential Building" icon="presets/landmark/building.svg" type="node,closedway,multipolygon" preset_name_label="true" match_expression="building=(yes|residential|apartments|ger|house|hotel|hut|bungalow|dormitory|terrace|detached|farm)">
    54315431            <link wiki="Key:building" />
    54325432            <space />
  • trunk/resources/styles/standard/elemstyles.mapcss

    r17979 r18038  
    905905node[highway=pedestrian],
    906906node[highway=bus_guideway],
     907node[highway=busway],
    907908node[highway=platform] {
    908909    icon-image: "presets/misc/deprecated.svg";
     
    54965497way|z18-[highway=bridleway][setting("highway_labels")],
    54975498way|z18-[highway=bus_guideway][setting("highway_labels")],
     5499way|z18-[highway=busway][setting("highway_labels")],
    54985500way|z18-[highway=raceway][setting("highway_labels")],
    54995501way|z18-[highway=construction][setting("highway_labels")],
     
    55545556    text-halo-color: rail#404040;
    55555557}
     5558way|z18-[highway=busway][setting("highway_labels")] {
     5559    text-halo-color: bus#89cbeb;
     5560}
    55565561way|z18-[highway=raceway][setting("highway_labels")] {
    55575562    text-halo-color: raceway#ff80ff;
Note: See TracChangeset for help on using the changeset viewer.