{ "id": "usersettings", "description": { "en": "A special layer which is not meant to be shown on a map, but which is used to set user settings" }, "title": null, "source": { "osmTags": "id~*" }, "calculatedTags": [ "_mastodon_candidate_md=feat.properties._description.match(/\\[[^\\]]*\\]\\((.*(mastodon|en.osm.town).*)\\).*/)?.at(1)", "_d=feat.properties._description?.replace(/</g,'<')?.replace(/>/g,'>') ?? ''", "_mastodon_candidate_a=(feat => {const e = document.createElement('div');e.innerHTML = feat.properties._d;return Array.from(e.getElementsByTagName(\"a\")).filter(a => a.href.match(/mastodon|en.osm.town/) !== null)[0]?.href }) (feat) ", "_mastodon_link=(feat => {const e = document.createElement('div');e.innerHTML = feat.properties._d;return Array.from(e.getElementsByTagName(\"a\")).filter(a => a.getAttribute(\"rel\")?.indexOf('me') >= 0)[0]?.href})(feat) ", "_mastodon_candidate=feat.properties._mastodon_candidate_md ?? feat.properties._mastodon_candidate_a" ], "tagRenderings": [ { "id": "picture-license", "description": "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", "question": { "en": "Under what license do you want to publish your pictures?" }, "mappings": [ { "if": "mapcomplete-pictures-license=", "then": { "en": "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." }, "hideInAnswer": true }, { "if": "mapcomplete-pictures-license=CC0", "then": { "en": "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." } }, { "if": "mapcomplete-pictures-license=CC-BY 4.0", "then": { "en": "Pictures you take will be licensed with CC-BY 4.0 which requires everyone using your picture that they have to attribute you" } }, { "if": "mapcomplete-pictures-license=CC-BY-SA 4.0", "then": { "en": "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." } } ] }, { "id": "verified-mastodon", "mappings": [ { "if": "_mastodon_link~*", "then": { "en": "A link to your Mastodon-profile has been been found: {_mastodon_link}" }, "icon": "mastodon" }, { "if": "_mastodon_candidate~*", "then": { "en": "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: <a href=\"{_mastodon_candidate}\" rel=\"me\">Mastodon</a>" }, "icon": "invalid" } ] }, { "id": "translation-thanks", "mappings": [ { "if": "_translation_contributions>0", "then": { "en": "You have contributed to translating MapComplete! That's awesome!" }, "icon": "party" } ] }, { "id": "contributor-thanks", "mappings": [ { "if": "_code_contributions>0", "then": { "en": "You have contributed code to MapComplete with {_code_contributions} commits! That's awesome!" }, "icon": "party" } ] }, { "id": "debug", "condition": "_name=Pieter Vander Vennet", "render": "{all_tags()}" } ], "mapRendering": null }