mapcomplete/Docs/Layers/left_right_style.md

53 lines
1.4 KiB
Markdown
Raw Normal View History

2022-01-14 19:36:36 +01:00
left_right_style
==================
Special meta-style which will show one single line, either on the left or on the right depending on the id. This is used in the small popups with left_right roads. Cannot be included in a theme
## Table of contents
1. [left_right_style](#left_right_style)
- [Basic tags for this layer](#basic-tags-for-this-layer)
- [Supported attributes](#supported-attributes)
- This layer cannot be toggled in the filter view. If you import this layer in your theme, override `title` to make this toggleable.
- Not visible in the layer selection by default. If you want to make this layer toggable, override `name`
- Not rendered on the map by default. If you want to rendering this on the map, override `mapRenderings`
[Go to the source code](../assets/layers/left_right_style/left_right_style.json)
Basic tags for this layer
---------------------------
Elements must have the all of following tags to be shown on this layer:
- <a href='https://wiki.openstreetmap.org/wiki/Key:id' target='_blank'>id</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:id%3Dleft' target='_blank'>left</a>|<a href='https://wiki.openstreetmap.org/wiki/Key:id' target='_blank'>id</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:id%3Dright' target='_blank'>right</a>
Supported attributes
----------------------
This document is autogenerated from assets/layers/left_right_style/left_right_style.json