Changes between Version 43 and Version 44 of Styles/Lane_and_Road_Attributes
- Timestamp:
- 2014-07-01T10:28:33+02:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/Lane_and_Road_Attributes
v43 v44 2153 2153 /*-------------------------------------------------------------------------------------------------------------------------------------------------*/ 2154 2154 /***************************************************************************************************************************************************/ 2155 way[is_prop_set(ok)][is_prop_set(lanes_all)]::Ground 2155 way[is_prop_set(ok, "default")][is_prop_set(lanes_all, "default")]::Ground 2156 2156 { 2157 2157 linecap: none; … … 2165 2165 /* Sidewalk and cycletrack */ 2166 2166 way|z17- {} /* ATTENTION: For whatever reason this is needed, otherwise the following won't be interpreted correctly */ 2167 way|z17-[is_prop_set(ok)][is_prop_set(lanes_all)]::Ground 2167 way|z17-[is_prop_set(ok, "default")][is_prop_set(lanes_all, "default")]::Ground 2168 2168 { 2169 2169 /* Cycletrack in an one-way on the left side? */ … … 3198 3198 /* Destination */ 3199 3199 /*-------------------------------------------------------------------------------------------------------------------------------------------------*/ 3200 way|z17-[is_prop_set(ok)][destination][!prop(style_use_svg_destination)]::Destination 3200 way|z17-[is_prop_set(ok, "default")][destination][!prop(style_use_svg_destination, "default")]::Destination 3201 3201 { 3202 3202 text-offset: eval(prop("placement_offset","default")); … … 3207 3207 text-halo-radius: 2; text-halo-color: blue; text-halo-opacity: 0.3; 3208 3208 } 3209 way|z17-[is_prop_set(ok)]["destination:forward"][!prop(style_use_svg_destination)]::Destination_Forward 3209 way|z17-[is_prop_set(ok, "default")]["destination:forward"][!prop(style_use_svg_destination, "default")]::Destination_Forward 3210 3210 { 3211 3211 text-offset: eval(prop("placement_offset","default")+(eval(prop(lane_width_all,"default"))/4)); … … 3216 3216 text-halo-radius: 2; text-halo-color: blue; text-halo-opacity: 0.3; 3217 3217 } 3218 way|z17-[is_prop_set(ok)]["destination:backward"][!prop(style_use_svg_destination)]::Destination_Backward 3218 way|z17-[is_prop_set(ok, "default")]["destination:backward"][!prop(style_use_svg_destination, "default")]::Destination_Backward 3219 3219 { 3220 3220 text-offset: eval(prop("placement_offset","default")-(eval(prop(lane_width_all,"default"))/4)); … … 3228 3228 /* TODO: make opacity configurable */ 3229 3229 way{} /* If this is removed the following won't be interpreted */ 3230 way|z17-[is_prop_set(ok)][destination][prop(style_use_svg_destination)]::Destination 3230 way|z17-[is_prop_set(ok, "default")][destination][prop(style_use_svg_destination, "default")]::Destination 3231 3231 { 3232 3232 complete_destination: eval(get(split(";",tag(destination)),0)); … … 3244 3244 } 3245 3245 way{} /* If this is removed the following won't be interpreted */ 3246 way|z17-[is_prop_set(ok)]["destination:forward"][prop(style_use_svg_destination)]::Destination_Forward 3246 way|z17-[is_prop_set(ok, "default")]["destination:forward"][prop(style_use_svg_destination, "default")]::Destination_Forward 3247 3247 { 3248 3248 complete_destination: eval(get(split(";",tag("destination:forward")),0)); … … 3259 3259 } 3260 3260 way{} /* If this is removed the following won't be interpreted */ 3261 way|z17-[is_prop_set(ok)]["destination:backward"][prop(style_use_svg_destination)]::Destination_Backward 3261 way|z17-[is_prop_set(ok, "default")]["destination:backward"][prop(style_use_svg_destination, "default")]::Destination_Backward 3262 3262 { 3263 3263 complete_destination: eval(get(split(";",tag("destination:backward")),0)); … … 3277 3277 /* destination_sign relation (experimental support - only one sign per way is supported) */ 3278 3278 /*-------------------------------------------------------------------------------------------------------------------------------------------------*/ 3279 relation[is_prop_set(ok)][type="destination_sign"] >[role="to"] way|z17-::Destination_Sign 3279 relation[is_prop_set(ok, "default")][type="destination_sign"] >[role="to"] way|z17-::Destination_Sign 3280 3280 { 3281 3281 sign_font_size: 50;