Chore: formatting
This commit is contained in:
parent
ee6c63ee14
commit
4e4bb290b6
1 changed files with 11 additions and 11 deletions
|
@ -384,11 +384,11 @@ export class OsmNode extends OsmObject {
|
|||
ChangesetXML(changesetId: string, header?: string): string {
|
||||
let tags = this.TagsXML()
|
||||
|
||||
return (
|
||||
` <node id="${this.id}" ${header ?? ""}${changesetId ? ` changeset="${changesetId}" ` : ""}${this.VersionXML()} lat="${this.lat}" lon="${this.lon}">
|
||||
return ` <node id="${this.id}" ${header ?? ""}${
|
||||
changesetId ? ` changeset="${changesetId}" ` : ""
|
||||
}${this.VersionXML()} lat="${this.lat}" lon="${this.lon}">
|
||||
${tags} </node>
|
||||
`
|
||||
)
|
||||
}
|
||||
|
||||
SaveExtraData(element) {
|
||||
|
@ -434,11 +434,11 @@ export class OsmWay extends OsmObject {
|
|||
nds += ' <nd ref="' + this.nodes[node] + '"/>\n'
|
||||
}
|
||||
|
||||
return (
|
||||
` <way id="${this.id}" ${header ?? ""}${changesetId ? (` changeset="${changesetId}" `) : ""}${this.VersionXML()}>
|
||||
return ` <way id="${this.id}" ${header ?? ""}${
|
||||
changesetId ? ` changeset="${changesetId}" ` : ""
|
||||
}${this.VersionXML()}>
|
||||
${nds}${tags} </way>
|
||||
`
|
||||
)
|
||||
}
|
||||
|
||||
SaveExtraData(element, allNodes: OsmNode[]) {
|
||||
|
|
Loading…
Reference in a new issue