From 4e4bb290b6733ca2c33dc7212e2ecd95a024cddf Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 23 Jun 2023 21:22:02 +0200 Subject: [PATCH] Chore: formatting --- Logic/Osm/OsmObject.ts | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Logic/Osm/OsmObject.ts b/Logic/Osm/OsmObject.ts index 7e54a8d2f..b47e678f3 100644 --- a/Logic/Osm/OsmObject.ts +++ b/Logic/Osm/OsmObject.ts @@ -1,10 +1,10 @@ -import {Utils} from "../../Utils" +import { Utils } from "../../Utils" import polygon_features from "../../assets/polygon-features.json" -import {Store, UIEventSource} from "../UIEventSource" -import {BBox} from "../BBox" +import { Store, UIEventSource } from "../UIEventSource" +import { BBox } from "../BBox" import OsmToGeoJson from "osmtogeojson" -import {NodeId, OsmFeature, OsmId, OsmTags, RelationId, WayId} from "../../Models/OsmFeature" -import {Feature, LineString, Polygon} from "geojson" +import { NodeId, OsmFeature, OsmId, OsmTags, RelationId, WayId } from "../../Models/OsmFeature" +import { Feature, LineString, Polygon } from "geojson" export abstract class OsmObject { private static defaultBackend = "https://www.openstreetmap.org/" @@ -384,11 +384,11 @@ export class OsmNode extends OsmObject { ChangesetXML(changesetId: string, header?: string): string { let tags = this.TagsXML() - return ( - ` + return ` ${tags} ` - ) } SaveExtraData(element) { @@ -434,11 +434,11 @@ export class OsmWay extends OsmObject { nds += ' \n' } - return ( - ` + return ` ${nds}${tags} ` - ) } SaveExtraData(element, allNodes: OsmNode[]) {