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
#24)

Thanks!
  • Loading branch information
Raceeend authored Dec 10, 2023
1 parent c45d7bf commit 9a6c567
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 9a6c567

Please sign in to comment.