Fix: add links and overpass link to cafe_pub
This commit is contained in:
parent
7de0af15f1
commit
41b6eea430
165 changed files with 2336 additions and 11345 deletions
|
@ -524,6 +524,8 @@ export default class LayerConfig extends WithContextLoader {
|
|||
overpassLink = new Link(
|
||||
"Execute on overpass",
|
||||
Overpass.AsOverpassTurboLink(<TagsFilter>new And(neededTags).optimize())
|
||||
.replaceAll("(", "%28")
|
||||
.replaceAll(")", "%29")
|
||||
)
|
||||
} catch (e) {
|
||||
console.error("Could not generate overpasslink for " + this.id)
|
||||
|
@ -537,7 +539,7 @@ export default class LayerConfig extends WithContextLoader {
|
|||
}
|
||||
|
||||
const tagsDescription = []
|
||||
if (this.source === null) {
|
||||
if (this.source !== null) {
|
||||
tagsDescription.push(
|
||||
new Title("Basic tags for this layer", 2),
|
||||
"Elements must have the all of following tags to be shown on this layer:",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue