diff --git a/Logic/Osm/Actions/ReplaceGeometryAction.ts b/Logic/Osm/Actions/ReplaceGeometryAction.ts index 7c7202d23..3b4aa31ef 100644 --- a/Logic/Osm/Actions/ReplaceGeometryAction.ts +++ b/Logic/Osm/Actions/ReplaceGeometryAction.ts @@ -64,7 +64,6 @@ export default class ReplaceGeometryAction extends OsmChangeAction { for (let j = i + 1; j < coordinates.length; j++) { const d = GeoOperations.distanceBetween(coordinates[i], coordinates[j]) if (d < 0.1) { - console.log("Identical coordinates detected: ", i, " and ", j, ": ", coordinates[i], coordinates[j], "distance is", d) this.identicalTo[j] = i } } @@ -77,7 +76,7 @@ export default class ReplaceGeometryAction extends OsmChangeAction { public async getPreview(): Promise { const {closestIds, allNodesById} = await this.GetClosestIds(); - console.log("Generating preview, identicals are ",) + console.debug("Generating preview, identicals are ",) const preview = closestIds.map((newId, i) => { if (this.identicalTo[i] !== undefined) { return undefined diff --git a/UI/BigComponents/LeftControls.ts b/UI/BigComponents/LeftControls.ts index 6fe0a317b..a669b856c 100644 --- a/UI/BigComponents/LeftControls.ts +++ b/UI/BigComponents/LeftControls.ts @@ -62,7 +62,6 @@ export default class LeftControls extends Combine { const elem = currentViewFL.layerDef.mapRendering[0]?.GenerateLeafletStyle(new UIEventSource(tags), false, { noSize: true })?.html - console.log("Elem is ", elem, "for", tags) if (elem === undefined) { return defaultIcon }