Customize Google maps component

Hi everyone,
I was wondering if it's possible to customize the way Google maps appears using RadzenGoogleMap component. To be more specific, I'm trying to remove buttons from the maps, like street view, zoom control, map type so on... Since Google Api offers this option, I'm pretty sure it is possible to achieve this using this component.
So far I've tied to pass them as component attributes but no luck. Bellow's my code:

<RadzenGoogleMap style="height: 356px" streetViewControl="false" zoomControl="false" />

Also, I've tried this:

<RadzenGoogleMap style="height: 356px" Attributes="@(new Dictionary<string, object>()
        { "streetViewControl", false },
        { "zoomControl", false }

with same result. Any ideas?


Hi @Jack,

At the moment passing those attributes to the underlying API isn't supported. Ideally those should be boolean properties.

You can open a feature request in our Github repository or even submit a pull request.

K, thanks for your prompt reply.

Hi @korchev,
I'm currently working on adding these options to RadzenGoogleMaps component. Have left some Javascript code to add for updateMap function. Will let you know when is ready.