From 3d71044ffcedce634603199e497b75311320cfe1 Mon Sep 17 00:00:00 2001 From: lolochristen Date: Tue, 10 Oct 2023 13:54:37 +0200 Subject: [PATCH] fix debug outputs --- src/OpenLayers.Blazor/Map.razor.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/OpenLayers.Blazor/Map.razor.cs b/src/OpenLayers.Blazor/Map.razor.cs index 0c72fa4..e8dbb8a 100644 --- a/src/OpenLayers.Blazor/Map.razor.cs +++ b/src/OpenLayers.Blazor/Map.razor.cs @@ -401,7 +401,6 @@ public async Task OnInternalShapeChanged(Internal.Shape shape) if (!existingShape.InternalFeature.Equals(shape)) { - Console.WriteLine("OnInternalShapeChanged: OnShapeChanged"); existingShape.InternalFeature = shape; await OnShapeChanged.InvokeAsync(existingShape); await existingShape.OnChanged.InvokeAsync(existingShape); @@ -422,7 +421,6 @@ public async Task OnInternalRenderComplete() /// Task public async Task SetCenter(Coordinate center) { - Console.WriteLine("SetCenter"); if (_module != null) await _module.InvokeVoidAsync("MapOLCenter", _mapId, center.Value); } @@ -440,7 +438,6 @@ public async Task OnInternalZoomChanged(double zoom) /// public async Task SetZoom(double zoom) { - Console.WriteLine("SetZoom"); if (_module != null) await _module.InvokeVoidAsync("MapOLZoom", _mapId, zoom); } @@ -496,7 +493,6 @@ public ValueTask SetMarkers(IEnumerable markers) /// public ValueTask SetShapes(IEnumerable shapes) { - Console.WriteLine("SetShapes"); return _module?.InvokeVoidAsync("MapOLSetShapes", _mapId, shapes.Select(p => p.InternalFeature).ToArray()) ?? ValueTask.CompletedTask; } @@ -506,7 +502,6 @@ public ValueTask SetShapes(IEnumerable shapes) /// collection of layers public ValueTask SetLayers(IEnumerable layers) { - Console.WriteLine("SetLayers"); return _module?.InvokeVoidAsync("MapOLSetLayers", _mapId, layers.Select(p => p.InternalLayer).ToArray()) ?? ValueTask.CompletedTask; } @@ -537,8 +532,6 @@ public Task SetDrawingSettings() public async Task SetDrawingSettings(bool newShapes, bool editShapes, bool shapeSnap, Shape shapeTemplate) { - Console.WriteLine("SetDrawingSettings"); - try { if (_module != null)