Changes between Version 58 and Version 59 of Styles/Lane_and_Road_Attributes
- Timestamp:
- 2015-02-18T15:13:00+01:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/Lane_and_Road_Attributes
v58 v59 3584 3584 3585 3585 /* Now render the traffic sign */ 3586 node|z16-[!(prop(traffic_sign_svg)="")] 3586 node|z16-[!(prop(traffic_sign_svg,"default")="")] 3587 3587 { 3588 3588 major-z-index: 5; /* JOSM added some default rendering, which interferes with this */ 3589 3589 icon-image: eval(concat("data:image/svg+xml,<svg width='100px' height='",prop(traffic_sign_top),"'>",prop(traffic_sign_svg),"</svg>")); 3590 3590 icon-width: eval(max(12,prop(pixel_per_metre))); 3591 } 3592 3593 /* Disable JOSMs default rendering (this is a hack and may fail at any time) */ 3594 /* Make sure, that the selector is identical to the one that actually renders the traffic sign */ 3595 node|z16-[!(prop(traffic_sign_svg,"default")="")]::core_maxnodebg 3596 { 3597 symbol-shape: none; 3598 } 3599 node|z16-[!(prop(traffic_sign_svg,"default")="")]::core_maxnodefg 3600 { 3601 text: none; 3602 symbol-shape: none; 3591 3603 } 3592 3604
