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/ModifiedHighways
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
# Modified highways This mapstyle highlights new and modified buildings. Never loose track of the buildings you mapped. Especially useful in areas with many objects. See this animated gif for a demo. [[Image(https://raw.githubusercontent.com/martien-176/new-modified-buildings/main/modified-highways.gif,link=)]] {{{ #!style type="mapcss" meta { title: "Modified highways"; description: "Highlight modified highways"; version: "0.1.[[revision]]_[[date]]"; author: "martien-176"; link: "https://josm.openstreetmap.de/wiki/Styles/ModifiedHighways"; } setting::colordisplay { type: color; label: tr("Color used for displaying highways"); default: green; } setting::highway_opacity { type: double; label: tr("Choose opacity highways; default = 0.3"); default: 0.3; } setting::highway_node_width { type: double; label: tr("Choose modified node width; default: 10"); default: 10; } setting::highway_marking_width { type: double; label: tr("Choose modified marking width; default = 25"); default: 25; } way[highway]:modified::modified_layer, node:modified < way[highway]::modified_layer { width: setting("highway_marking_width"); color: setting("colordisplay"); opacity: setting("highway_opacity"); z-index: -5; } way[highway]:modified > node:modified, way[highway] > node:modified { symbol-shape: circle; symbol-size: setting("highway_node_width"); symbol-stroke-color: #00FF00; /* green */ symbol-stroke-width: 2; } }}}
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.