Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Support mountain bike routes

  • Loading branch information...
commit 5b211c223ca6bda87465748f91302d67ab669c7b 1 parent ef5d862
@systemed systemed authored
View
BIN  resources/features/route__mtb.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
8 resources/map_features.xml
@@ -388,6 +388,14 @@
<font size="12pt">${name}</font>
</icon>
</input>
+ <input type="route" name="Mountain bike route" description="A signposted route for mountain biking." category="Cycle" priority="lowest">
+ <match k="type" v="route"/>
+ <match k="route" v="mtb"/>
+ <icon image="features/route__mtb.png" background="#9f4404" foreground="white">
+ <font size="14pt"><b>${ref}</b></font><br/>
+ <font size="12pt">${name}</font>
+ </icon>
+ </input>
</inputSet>
<inputSet id="bicycle-permission">
View
25 resources/map_features/paths.xml
@@ -150,6 +150,31 @@
<inputSet ref="route"/>
<inputSet ref="common"/>
</feature>
+
+ <feature name="Mountain bike route">
+ <category>paths</category>
+ <icon image="features/route__mtb.png" background="#9f4404" foreground="white">
+ <font size="14pt">
+ <b>${ref}</b>
+ </font>
+ <br/>
+ <font size="12pt">${name}</font>
+ </icon>
+
+ <relation/>
+ <tag k="type" v="route"/>
+ <tag k="route" v="mtb"/>
+
+ <input type="choice" presence="always" category="Details" name="Route type" key="mtb:type" description="What type of route is it?">
+ <choice value="crosscountry" text="Cross-country"/>
+ <choice value="allmountain" text="All-mountain"/>
+ <choice value="freeride" text="Freeride"/>
+ <choice value="downhill" text="Downhill"/>
+ <choice value="trial" text="Trial"/>
+ </input>
+ <inputSet ref="route"/>
+ <inputSet ref="common"/>
+ </feature>
<!-- hiking -->
View
1  resources/stylesheets/core_relations.css
@@ -4,4 +4,5 @@ relation[type=route] way::route { z-index: 1; width: 13; color: blue; opacity: 0
relation[type=route][route=bicycle][network=ncn] way::route { z-index: 1; width: 12; color: red; opacity: 0.3; }
relation[type=route][route=bicycle][network=rcn] way::route { z-index: 1; width: 12; color: cyan; opacity: 0.3; }
relation[type=route][route=bicycle][network=lcn] way::route { z-index: 1; width: 12; color: blue; opacity: 0.3; }
+relation[type=route][route=mtb] way::route { z-index: 1; width: 12; color: brown; opacity: 0.3; }
relation[type=route][route=foot] way::route { z-index: 1; width: 10; color: #80ff80; opacity: 0.6; }
View
2,028 resources_src/route__mtb.ai
2,028 additions, 0 deletions not shown
Please sign in to comment.
Something went wrong with that request. Please try again.