We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

errors with ThemeHelper and SampleBaseComponent with sample map


I am new to blazer map, I want to explore maps using an example in https://blazor.syncfusion.com/demos/maps/default-functionalities?_gl=1*a5j81o*_ga*MTEwODU0MzU3Ny4xNjU3NTc2MTA1*_ga_WC4JKKPHH0*MTY3NjU5MzY4Ny4xNzIuMS4xNjc2NTk3NDI3LjAuMC4w&_ga=2.178013989.1066965056.1676513524-1108543577.1657576105

However, I get errors with ThemeHelper and SampleBaseComponent

How can I resolve this error?

Best regards


1 Reply 1 reply marked as answer

IR Indumathi Ravi Syncfusion Team February 17, 2023 09:22 AM UTC

Hi Sao,

The code available in the source tab of our online Blazor demo includes code that supports theme switching (ThemeHelper class) and sample rendering (SampleBaseComponent class). These codes are not required to run the Blazor Maps component because they are only included to showcase the samples in Blazor Sample Browser.

Meanwhile, for your convenience, we have created a simple sample with the Blazor Maps component, which can be downloaded from the link below.


If you want to create your own Blazor Maps application, please see our "Getting Started" online documentation at the link below.


Please let us know if you need any further assistance.


Indumathi R.

Marked as answer
Live Chat Icon For mobile
Up arrow icon