Skip to content

Commit

Permalink
When used in oqtane (server) it ended up in loop when zoomed or moved.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raceeend committed Dec 7, 2023
1 parent c45d7bf commit 30e156e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenLayers.Blazor/Map.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ public async Task OnInternalCenterChanged(Coordinate coordinate)
{
if (!coordinate.Equals(Center))
{
await CenterChanged.InvokeAsync(coordinate);
Center = coordinate;
await CenterChanged.InvokeAsync(coordinate);
}
}

Expand Down

0 comments on commit 30e156e

Please sign in to comment.