Hi @enchev,
sorry. I have not posted all the code from the page.
Here it is:
@page "/map"
@layout MainLayout
@inherits Trent.Pages.MapComponent
@using Radzen
@using Radzen.Blazor
@using Trent.Models.Trentdb
@using Microsoft.AspNetCore.Identity;
@using Trent.Models
@using Microsoft.AspNetCore.Authorization
@using GoogleMapsComponents.Maps;
@using GoogleMapsComponents;
@attribute [Authorize]
<RadzenContent Container="main">
<ChildContent>
<div style="height: 100%; width: 100%" class="row">
<div class="col-md-12 col-lg-12 col-xl-12" style="border-radius: 100%; height: 100%">
<div class="row">
<div class="col-md-12">
<RadzenHtml>
<GoogleMap @ref="@Map1" Id="map1" Height="70vh" Options="@mapOptions" OnAfterInit="@OnAfterInitAsync"></GoogleMap>
</RadzenHtml>
</div>
</div>
</div>
</div>
</ChildContent>
</RadzenContent>