Changeset 8725 in josm for trunk/styles


Ignore:
Timestamp:
2015-09-03T23:05:24+02:00 (9 years ago)
Author:
Klumbumbus
Message:

fix #8717 - add highway=milestone and railway=milestone to preset and mappaint style; add numerical validator tests and fix for pk/kp => distance; prefer distance before ref as text in MapView; typo

File:
1 edited

Legend:

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

    r8707 r8725  
    660660    set icon_z17;
    661661    text: auto;
     662}
     663node[highway=milestone] {
     664    icon-image: "vehicle/milestone.svg";
     665    set icon_z17;
     666    text: auto;
     667}
     668node[highway=milestone][distance] {
     669    text: distance;
    662670}
    663671node[direction=clockwise] {
     
    33863394    text: auto;
    33873395}
     3396node[railway=milestone] {
     3397    icon-image: "vehicle/milestone.svg";
     3398    set icon_z17;
     3399    text: auto;
     3400}
     3401node[railway=milestone][distance] {
     3402    text: distance;
     3403}
    33883404node[railway=rail], node[railway=tram], node[railway=light_rail],
    33893405node[railway=subway], node[railway=preserved],
Note: See TracChangeset for help on using the changeset viewer.