Add more extra tags

This commit is contained in:
Edward Betts 2021-07-16 09:59:06 +02:00
parent 76e1008e84
commit 9090e67bad
3 changed files with 7 additions and 1 deletions

View file

@ -589,6 +589,7 @@ export default {
username: String,
startMode: String,
q: String,
defaultComment: String,
},
data() {
return {
@ -624,7 +625,7 @@ export default {
show_tag_or_key_list: undefined,
edits: [],
view_edits: false,
changeset_comment: "Add wikidata tag",
changeset_comment: undefined,
changeset_id: undefined,
upload_state: undefined,
upload_progress: 0,
@ -1398,6 +1399,7 @@ export default {
this.center = [lat, lon];
this.zoom = this.startZoom;
this.mode = this.startMode;
this.changeset_comment = this.defaultComment || '+wikidata';
},
mounted() {

View file

@ -175,6 +175,9 @@ extra_keys = {
'Q14350': ['Key:communication:radio',
'Tag:studio=radio',
'Tag:amenity=studio'], # radio station
'Q166118': ['Tag:tourism=museum',
'Tag:amenity=library'], # archive
'Q486972': ['Key:place'], # human settlement
}
property_map = [

View file

@ -24,6 +24,7 @@
startLon: {{ lon }},
startZoom: {{ zoom }},
startRadius: {{ radius | tojson }},
defaultComment: {{ config.DEFAULT_COMMENT | tojson }},
username: {{ username | tojson }},
startMode: {{ mode | tojson }},
q: {{ q | tojson }},