Various small fixes, add AED-layout

This commit is contained in:
Pieter Vander Vennet 2020-08-22 12:44:11 +02:00
parent cce9207a35
commit 734f571b5d
11 changed files with 1742 additions and 168 deletions

View file

@ -312,7 +312,7 @@ export class OsmConnection {
content: [`<osm><changeset>`,
`<tag k="created_by" v="MapComplete ${State.vNumber}" />`,
`<tag k="comment" v="Adding data with #MapComplete"/>`,
`<tag k="theme" v="${layout.name}">`,
`<tag k="theme" v="${layout.name}"/>`,
layout.maintainer !== undefined ? `<tag k="theme-creator" v="${layout.maintainer}">` : "",
`</changeset></osm>`].join("")
}, function (err, response) {

View file

@ -96,7 +96,7 @@ export class Tag extends TagsFilter {
}
if(this.value === tag.v){
return true;
return !this.invertValue;
}
return Tag.regexOrStrMatches(this.value, tag.v) !== this.invertValue