-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add classes to style #1151
base: master
Are you sure you want to change the base?
Add classes to style #1151
Conversation
</renderingClass> | ||
<renderingClass name=".surface" title="Road surface" enable="true"/> | ||
<renderingClass name=".surface_grade" title="Road surface grade" enable="true"/> | ||
<renderingClass name=".access" title="Road access" enable="true"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no tag close for .access ?
@@ -9183,7 +9200,7 @@ | |||
</case> | |||
<case minzoom="12" tag="leisure" value="garden" color="$gardenColor"/> | |||
<apply> | |||
<switch minzoom="16" showAccess="true"> | |||
<switch minzoom="16" showAccess="true" rClass=".road.access"> | |||
<case additional="access=private" color_2="$accessPrivateColor"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it be clasess by access tag? .road.access.private or dynamic class by acces stag
rendering_styles/default.render.xml
Outdated
<switch> | ||
<switch baseAppMode="car"> | ||
<switch rClass=".road.access"> | ||
<switch baseAppMode="car" rClass=".road.access.vehicle.$vehicle,.road.access.motor_vehicle.$motor_vehicle,.road.access.motorcar.$motorcar"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this won't work as too complicated class.
You need to write here each class individuall
<case additional="vehicle=no" .road.access.motor_vehicle_no />
No description provided.