mapcomplete/Docs/Layers/named_streets.md
2022-02-28 17:16:38 +01:00

69 lines
No EOL
1.7 KiB
Markdown

named_streets
===============
Hidden layer with all streets which have a name. Useful to detect addresses
## Table of contents
1. [named_streets](#named_streets)
* [Themes using this layer](#themes-using-this-layer)
- [Basic tags for this layer](#basic-tags-for-this-layer)
- [Supported attributes](#supported-attributes)
- This layer is not visible by default and must be enabled in the filter by the user.
- This layer cannot be toggled in the filter view. If you import this layer in your theme, override `title` to make this toggleable.
- This layer is not visible by default and the visibility cannot be toggled, effectively resulting in a fully hidden layer. This can be useful, e.g. to calculate some metatags. If you want to render this layer (e.g. for debugging), enable it by setting the URL-parameter layer-<id>=true
- 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`
- This layer is needed as dependency for layer [address](#address)
#### Themes using this layer
- [personal](https://mapcomplete.osm.be/personal)
[Go to the source code](../assets/layers/named_streets/named_streets.json)
Basic tags for this layer
---------------------------
Elements must have the all of following tags to be shown on this layer:
- highway~^..*$
- name~^..*$
Supported attributes
----------------------
This document is autogenerated from [assets/layers/named_streets/named_streets.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/named_streets/named_streets.json)