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/Sidewalks
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
The offset properties of this style were take from [[Styles/ParkingLanes]]. Both styles can be used together or stand-alone. Comments, patches and additions are welcome, please [osmwww:message/new/Cobra contact me]. {{{ #!style type="mapcss" meta { title: "Sidewalks"; description: "Visualizes the sidewalk attribute of highways. sidewalk=* is rendered as a thick dashed line, separately mapped sidewalks tagged footway=sidewalk are rendered thicker."; link: "https://wiki.openstreetmap.org/wiki/Key:sidewalk"; author: "Cobra"; version: "0.[[revision]]_[[date]]"; min-josm-version: "4399"; } meta[lang=de] { title: "Gehwege"; description: "Visualisiert Gehweg-Attribute von Straßen. sidewalk=* wird als gestrichelte dicke Linie gerendert, separat gemappte Gehwege mit footway=sidewalk werden dicker gerendert."; } way[sidewalk=right]::sidewalks_right, way[sidewalk=left]::sidewalks_left, way[sidewalk=both]::sidewalks_right, way[sidewalk=no]::sidewalks_right { width: 3; dashes: 5, 1; } way[sidewalk=both]::sidewalks_left, way[sidewalk=no]::sidewalks_left { width: 3; dashes: 5, 1; } way[sidewalk=right]::sidewalks_right, way[sidewalk=both]::sidewalks_right, way[sidewalk=no]::sidewalks_right { offset: eval(0 - 10 - (prop("width") * 0.5) - (prop("width", "default") * 0.5)); } way[sidewalk=left]::sidewalks_left, way[sidewalk=both]::sidewalks_left, way[sidewalk=no]::sidewalks_left { offset: eval(10 + (prop("width") * 0.5) + (prop("width", "default") * 0.5)); } way[sidewalk=right]::sidewalks_right, way[sidewalk=left]::sidewalks_left, way[sidewalk=both]::sidewalks_right { color: #00ff00; } way[sidewalk=both]::sidewalks_left { color: #00ff00; } way[sidewalk=no]::sidewalks_right { color: #ff0000; opacity: 0.5; } way[sidewalk=no]::sidewalks_left { color: #ff0000; opacity: 0.5; } way[footway=sidewalk] { width: 3; } }}}
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.