Radzen Google Map Control get the center of the viewable are of the map


I added a Radzen Google map in one of my Blazor pages.

I added a button, that when is clicked, I need to extract the current center of the viewable area of the map.

Right now, when I try to get the center (var center = mapObj.Center;), but I am getting the initial center position of the map, rather than the current center position after moving to another areas in the map.

Any idea how to achieve this.


Indeed the Radzen GoogleMap component does not update the Center property. It is only used to set the initial center.