mapcomplete/Docs/Layers/icons.md

4.5 KiB

icons

A layer acting as library for icon-tagrenderings, especially to show as badge next to a POI

  • This layer is shown at zoomlevel 0 and higher
  • Elements don't have a title set and cannot be toggled nor will they show up in the dashboard. 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

Basic tags for this layer

Elements must have the all of following tags to be shown on this layer:

  • id~.+

Execute on overpass

Supported attributes

Warning:

this quick overview is incomplete

attribute type values which are supported by this layer
wikipedia Multiple choice
_isOpen Multiple choice yes no parse_error
smoking Multiple choice no yes

This tagrendering has no question and is thus read-only

  • WD corresponds with ``

This tagrendering is only visible in the popup if the following condition is met: wikipedia~.+|wikidata~.+

This tagrendering has labels defaults

isOpen

This tagrendering has no question and is thus read-only

  • clock:#0f0;ring:#0f0 corresponds with _isOpen=yes
  • circle:#f00;clock:#fff corresponds with _isOpen=no
  • clock:#ff0;ring:#ff0 corresponds with opening_hours~.+
  • circle:#f0f;clock:#fff corresponds with _isOpen=parse_error&opening_hours~.+

This tagrendering has labels defaults

This tagrendering has no question and is thus read-only

This tagrendering is only visible in the popup if the following condition is met: phone~.+

This tagrendering has labels defaults

This tagrendering has no question and is thus read-only

This tagrendering is only visible in the popup if the following condition is met: email~.+

This tagrendering has labels defaults

smokingicon

This tagrendering has no question and is thus read-only

  • no-smoking corresponds with smoking=no
  • smoking-allowed corresponds with smoking=yes

This tagrendering has labels defaults

This tagrendering has no question and is thus read-only

This tagrendering has labels defaults

This tagrendering has no question and is thus read-only

  • ** corresponds with id~^(.*\/-.*)$
  • corresponds with _backend~.+

This tagrendering is only visible in the popup if the following condition is met: id~^((node|way|relation)\/[0-9]*)$

This tagrendering has labels defaults

This document is autogenerated from assets/layers/icons/icons.json