forked from edward/owl-map
Add more extra tags
This commit is contained in:
parent
76e1008e84
commit
9090e67bad
|
@ -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() {
|
||||
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -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 }},
|
||||
|
|
Loading…
Reference in a new issue