Type or Namespace name 'MapOptions' not found

Hello Radzen Team,
i have implemented an Google Map Component (not the Radzen Component, a custom one) and all works fine but... a got this message from Radzen IDE:

This is the HTML Component content:

The Page:

@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]

Code behind:

using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using Radzen;
using Radzen.Blazor;
using GoogleMapsComponents;
using GoogleMapsComponents.Maps;
using Microsoft.AspNetCore.Components;
using Trent.Pages.Helper;
using Trent.Services;
using Point = GoogleMapsComponents.Maps.Point;

namespace Trent.Pages
{
public partial class MapComponent
{
[Inject]
public KonstantenService KonstantenService { get; set; }

    public GoogleMap Map1;
    /*protected ElementReference map1
    {
        get => map2;
        set
        {
            map2 = value;
            maptest = (GoogleMap)map2;
        }
    }

    private GoogleMap maptest;
    private ElementReference map2;*/

    public MapOptions mapOptions { get; set; }

    private Stack<Circle> circles = new Stack<Circle>();

...

If i have missed a using or reference the app wont run. But thats not the case.
I dont know where the message come from or how i can get rid of it. I think its a problem in the Radzen IDE because the app and the map runs as expected and without errors and problems.
it is annoying because the page where i use my map component lost the wysiwyg.

Example:

Can you please help me out here?

Kind Regards
Thomas

This is missing. Check the getting started for more info:
https://blazor.radzen.com/get-started

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>

Indeed Radzen does not provide support for arbitrary third party namespaces in design time. This is a limitation which we cannot easily address.

hi @korchev,
ah... ok. I understand.

Thanks for help
Thomas

ähm... can you general supress this messages in design time? or are they needed for other purposes? I mean... are those messages in design time helpful in any way?

I mean... if it is a "real problem" we will see it in visual studio or VS code or cannot build the app.

Thomas

Sometimes they are a real problem. Sometimes they are not. We can't decide based on the message.

Ok. Only an idea... :wink: