Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing Styles/DigiRoadBusStops
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
{{{ #!style type="mapcss" meta { title: "DigiRoad bus stops"; description: "Highlight DigiRoad bus stops with directional arrows"; version: "1.[[revision]]_[[date]]"; author: "Polyglot"; link: "https://josm.openstreetmap.de/wiki/Styles/DigiRoadBusStops"; min-josm-version: "8260"; } relation[type=route][route=tram] > way::relation_underlay {z-index: -1; width: 16; color: blue; opacity: 0.25; linecap: none; text-color: red; font-size: 18; text: parent_tag(ref); text-position: line; text-offset-y: 16;} relation[type=route][route=bus] > way::relation_underlay {z-index: -1; width: 16; color: cyan; opacity: 0.25; linecap: none; text-color: red; font-size: 18; text: parent_tag(ref); text-position: line; text-offset-y: 16;} node|z12-[highway=bus_stop][direction]::direction {icon-image: "https://upload.wikimedia.org/wikipedia/commons/0/04/Red_Arrow_Down.svg"; icon-width: 10; icon-height: 20; icon-rotation: degree_to_radians(tag("direction")+180); z-index:1.0;} node|z18-[highway=bus_stop][direction]::direction {icon-image: "https://upload.wikimedia.org/wikipedia/commons/0/04/Red_Arrow_Down.svg"; icon-width: 30; icon-height: 60; icon-rotation: degree_to_radians(tag("direction")+180); z-index:1.0;} node|z18-[highway=bus_stop]::name, node|z18-[railway=tram_stop]::name, node|z18-[public_transport=platform]::name {text-color: purple; font-size: 24; text: tag(name); text-halo-radius: 2; text-offset-y: 20;} node|z18-[highway=bus_stop]::note, node|z18-[railway=tram_stop]::note, node|z18-[public_transport=platform]::note {text-color: white; font-size: 20; text: tag(note); text-halo-radius: 2; text-offset-y: 45;} node|z14-["ref"]::ref {text-color: blue; font-size: 17; text: tag("ref"); text-halo-radius: 2; text-offset-x: -60; text-offset-y: -20; z-index:3.0;} node|z14-["ref:findr"]::refFI {text-color: white; font-size: 17; text: tag("ref:findr"); text-halo-radius: 2; text-offset-x: -60; text-offset-y: -40; z-index:3.0;} node|z18-[highway=bus_stop]::route_ref, node|z18-[railway=tram_stop]::route_ref, node|z18-[public_transport=platform]::route_ref {text-color: black; font-size: 21; text: tag(route_ref); text-halo-radius: 2; text-offset-y: -40; z-index:4.0;} relation[public_transport=stop_area] > node|z18-::parent_name {text-color: yellow; font-size: 16; text: parent_tag(name); text-halo-radius: 2; text-offset-y: -60; z-index:1.0;} relation[public_transport=stop_area] > way|z21-::parent_name {text-color: yellow; font-size: 10; text: parent_tag(name); text-halo-radius: 2; z-index:1.0;} way|z19-[bus_bay=~/both|right/] { right-casing-width: 40; right-casing-color: #00FFA0; right-casing-offset: 2; right-casing-dashes: 1, 1; } way|z19-[bus_bay=~/both|left/] { left-casing-width: 40; left-casing-color: #00FFA0; left-casing-offset: 2; left-casing-dashes: 1, 1; } }}}
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.