Ignore:
Timestamp:
2017-08-30T23:28:26+02:00 (20 months ago)
Author:
bastiK
Message:

see #15203 - avoid = operator in default style

improves efficiency; makes sure, it is not applied to unwanted tags (like motorway_junction)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/styles/standard/elemstyles.mapcss

    r12616 r12701  
    47394739/*******************/
    47404740
    4741 way|z17-[highway^=motorway][setting("highway_labels")],
    4742 way|z17-[highway^=trunk][setting("highway_labels")],
    4743 way|z17-[highway^=primary][setting("highway_labels")],
    4744 way|z17-[highway^=secondary][setting("highway_labels")],
    4745 way|z17-[highway^=tertiary][setting("highway_labels")],
     4741way|z17-[highway=motorway][setting("highway_labels")],
     4742way|z17-[highway=motorway_link][setting("highway_labels")],
     4743way|z17-[highway=trunk][setting("highway_labels")],
     4744way|z17-[highway=trunk_link][setting("highway_labels")],
     4745way|z17-[highway=primary][setting("highway_labels")],
     4746way|z17-[highway=primary_link][setting("highway_labels")],
     4747way|z17-[highway=secondary][setting("highway_labels")],
     4748way|z17-[highway=secondary_link][setting("highway_labels")],
     4749way|z17-[highway=tertiary][setting("highway_labels")],
     4750way|z17-[highway=tertiary_link][setting("highway_labels")],
    47464751way|z17-[highway=unclassified][setting("highway_labels")],
    47474752way|z17-[highway=residential][setting("highway_labels")],
     
    47674772    text-halo-radius: 1.5;
    47684773}
    4769 way|z17-[highway^=motorway][setting("highway_labels")] {
     4774way|z17-[highway=motorway][setting("highway_labels")],
     4775way|z17-[highway_link=motorway][setting("highway_labels")] {
    47704776    text-halo-color: motorway#809bc0;
    47714777}
    4772 way|z17-[highway^=trunk][setting("highway_labels")] {
     4778way|z17-[highway=trunk][setting("highway_labels")],
     4779way|z17-[highway=trunk_link][setting("highway_labels")] {
    47734780    text-halo-color: trunk#7fc97f;
    47744781}
    4775 way|z17-[highway^=primary][setting("highway_labels")] {
     4782way|z17-[highway=primary][setting("highway_labels")],
     4783way|z17-[highway=primary_link][setting("highway_labels")] {
    47764784    text-halo-color: primary#fb805f;
    47774785}
    4778 way|z17-[highway^=secondary][setting("highway_labels")] {
     4786way|z17-[highway=secondary][setting("highway_labels")],
     4787way|z17-[highway=secondary_link][setting("highway_labels")] {
    47794788    text-halo-color: secondary#fdbf6f;
    47804789}
    4781 way|z17-[highway^=tertiary][setting("highway_labels")] {
     4790way|z17-[highway=tertiary][setting("highway_labels")],
     4791way|z17-[highway=tertiary_link][setting("highway_labels")] {
    47824792    text-halo-color: tertiary#f7f496;
    47834793}
Note: See TracChangeset for help on using the changeset viewer.