Changeset 14808 in josm


Ignore:
Timestamp:
2019-02-24T22:45:56+01:00 (4 months ago)
Author:
Klumbumbus
Message:

fix #17020 - display leisure=track as line only (without fill color) by default. If area=yes is added or if it's a multipolygon, display the fill color. Warn about area=no on multipolygons (error level).

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/combinations.mapcss

    r14800 r14808  
    253253}
    254254
     255/* {0.tag} together with {1.tag} (error level) */
     256relation[type=multipolygon][area=no] {
     257  throwError: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
     258  group: tr("suspicious tag combination");
     259}
     260
    255261/* {0.key} together with {1.key} (info level) */
    256262*[addr:street][addr:place] {
  • trunk/styles/standard/elemstyles.mapcss

    r14806 r14808  
    17101710    set icon_z17;
    17111711}
    1712 area[leisure=track][!area?!]:closed {
    1713     fill-color: leisuretrack#d4f4b9;
    1714 }
    17151712way[leisure=track] {
    17161713    width: 2;
    17171714    color: leisuretrack#d4f4b9;
     1715}
     1716way[leisure=track][area?],
     1717relation[leisure=track][!area?!]:closed {
     1718    fill-color: leisuretrack#d4f4b9;
    17181719}
    17191720node[leisure=track] {
Note: See TracChangeset for help on using the changeset viewer.