Skip to content

Commit

Permalink
fix debug outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
lolochristen committed Oct 10, 2023
1 parent dceef4e commit 3d71044
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/OpenLayers.Blazor/Map.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -422,7 +421,6 @@ public async Task OnInternalRenderComplete()
/// <returns>Task</returns>
public async Task SetCenter(Coordinate center)
{
Console.WriteLine("SetCenter");
if (_module != null) await _module.InvokeVoidAsync("MapOLCenter", _mapId, center.Value);
}

Expand All @@ -440,7 +438,6 @@ public async Task OnInternalZoomChanged(double zoom)
/// <returns></returns>
public async Task SetZoom(double zoom)
{
Console.WriteLine("SetZoom");
if (_module != null) await _module.InvokeVoidAsync("MapOLZoom", _mapId, zoom);
}

Expand Down Expand Up @@ -496,7 +493,6 @@ public ValueTask SetMarkers(IEnumerable<Marker> markers)
/// <returns></returns>
public ValueTask SetShapes(IEnumerable<Shape> shapes)
{
Console.WriteLine("SetShapes");
return _module?.InvokeVoidAsync("MapOLSetShapes", _mapId, shapes.Select(p => p.InternalFeature).ToArray()) ?? ValueTask.CompletedTask;
}

Expand All @@ -506,7 +502,6 @@ public ValueTask SetShapes(IEnumerable<Shape> shapes)
/// <param name="layers">collection of layers</param>
public ValueTask SetLayers(IEnumerable<Layer> layers)
{
Console.WriteLine("SetLayers");
return _module?.InvokeVoidAsync("MapOLSetLayers", _mapId, layers.Select(p => p.InternalLayer).ToArray()) ?? ValueTask.CompletedTask;
}

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 3d71044

Please sign in to comment.