mapcomplete/Docs/Layers/usersettings.md

9.1 KiB

usersettings

A special layer which is not meant to be shown on a map, but which is used to set user settings

  • 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
mapcomplete-pictures-license Multiple choice CC0 [CC-BY 4.0](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-pictures-license%3DCC-BY 4.0) [CC-BY-SA 4.0](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-pictures-license%3DCC-BY-SA 4.0)
mapcomplete-show-all-questions Multiple choice true false
mapcomplete-translation-mode Multiple choice false true mobile
mapcomplete-translation-mode Multiple choice yes
_translation_percentage Multiple choice 100
mapcomplete-show_debug Multiple choice yes no

picture-license

This question is not meant to be placed on an OpenStreetMap-element; however it is used in the user information panel to ask which license the user wants

The question is Under what license do you want to publish your pictures?

  • Pictures you take will be licensed with CC0 and added to the public domain. This means that everyone can use your pictures for any purpose. This is the default choice. corresponds with ``
  • This option cannot be chosen as answer
  • Pictures you take will be licensed with CC0 and added to the public domain. This means that everyone can use your pictures for any purpose. corresponds with mapcomplete-pictures-license=CC0
  • Pictures you take will be licensed with CC-BY 4.0 which requires everyone using your picture that they have to attribute you corresponds with mapcomplete-pictures-license=CC-BY 4.0
  • Pictures you take will be licensed with CC-BY-SA 4.0 which means that everyone using your picture must attribute you and that derivatives of your picture must be reshared with the same license. corresponds with mapcomplete-pictures-license=CC-BY-SA 4.0

all-questions-at-once

The question is Should questions for unknown data fields appear one-by-one or together?

  • Show all questions in the infobox together corresponds with mapcomplete-show-all-questions=true
  • Show questions one-by-one corresponds with mapcomplete-show-all-questions=false

translations-title

This tagrendering has no question and is thus read-only

This tagrendering is part of group translations

translation-mode

The question is Do you want to help translating MapComplete?

  • Don't show a button to quickly change translations corresponds with mapcomplete-translation-mode=false
  • Show a button to quickly open translations when using MapComplete on a big screen corresponds with mapcomplete-translation-mode=true
  • Always show the translation buttons, including on mobile corresponds with mapcomplete-translation-mode=mobile

This tagrendering is part of group translations

translation-help

This tagrendering has no question and is thus read-only

  • Click the 'translate'-icon next to a string to enter or update a piece of text. You need a Weblate-account for this. Create one with your OSM-username to automatically unlock translation mode. corresponds with mapcomplete-translation-mode=yes|mapcomplete-translation-mode=true|mapcomplete-translation-mode=mobile

This tagrendering is part of group translations

translation-completeness

This tagrendering has no question and is thus read-only

  • Completely translated corresponds with _translation_percentage=100

This tagrendering is only visible in the popup if the following condition is met: mapcomplete-translation-mode=yes|mapcomplete-translation-mode=true|mapcomplete-translation-mode=mobile

This tagrendering is part of group translations

This tagrendering has no question and is thus read-only

This tagrendering is only visible in the popup if the following condition is met: _translation_links~.+&mapcomplete-translation-mode=true|mapcomplete-translation-mode=mobile

This tagrendering is part of group translations

verified-mastodon

This tagrendering has no question and is thus read-only

  • A link to your Mastodon-profile has been been found: {_mastodon_link} corresponds with _mastodon_link~.+
  • We found a link to what looks to be a mastodon account, but it is unverified. Edit your profile description and place the following there: &lta href="{_mastodon_candidate}" rel="me"&gtMastodon&lt/a&gt corresponds with _mastodon_candidate~.+

cscount-thanks

This tagrendering has no question and is thus read-only

  • You have made changes on {_csCount} different occasions! That is awesome! corresponds with _csCount>0

translation-thanks

This tagrendering has no question and is thus read-only

  • You have contributed to translating MapComplete! That's awesome! corresponds with _translation_contributions>0

contributor-thanks

This tagrendering has no question and is thus read-only

  • You have contributed code to MapComplete with {_code_contributions} commits! That's awesome! corresponds with _code_contributions>0
  • This option cannot be chosen as answer

show_debug

The question is Show user settings debug info?

  • Show debug info corresponds with mapcomplete-show_debug=yes
  • Don't show debug info corresponds with mapcomplete-show_debug=no
  • Don't show debug info corresponds with ``
  • This option cannot be chosen as answer

debug

This tagrendering has no question and is thus read-only

This tagrendering is only visible in the popup if the following condition is met: mapcomplete-show_debug=yes

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