forked from MapComplete/MapComplete
Improve documentation
This commit is contained in:
parent
d80cc64f77
commit
db2b14cd95
124 changed files with 4450 additions and 4088 deletions
|
@ -335,6 +335,8 @@ export default class LayerConfig extends WithContextLoader {
|
|||
neededLayer: string;
|
||||
}[], addedByDefault = false, canBeIncluded = true): BaseUIElement {
|
||||
const extraProps = []
|
||||
|
||||
extraProps.push("This layer is shown at zoomlevel **"+this.minzoom+"** and higher")
|
||||
|
||||
if (canBeIncluded) {
|
||||
if (addedByDefault) {
|
||||
|
@ -439,9 +441,6 @@ export default class LayerConfig extends WithContextLoader {
|
|||
new List(extraProps),
|
||||
...usingLayer,
|
||||
|
||||
new Link("Go to the source code",
|
||||
`https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/${this.id}/${this.id}.json`),
|
||||
|
||||
new Title("Basic tags for this layer", 2),
|
||||
"Elements must have the all of following tags to be shown on this layer:",
|
||||
new List(neededTags.map(t => t.asHumanString(true, false, {}))),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue