Using this Blazor library, you can select the desired location and get its address, longitude and latitude.
Install-Package Blazor.Map -Version x.x.x
builder.Services.AddBlazorMap();
<Map Identifier="mymap" @bind-Lat="@Lat" @bind-Lng="@Lng" @bind-Address="@Address" ViewHeight="50" />