Hello.
I'm integrating a Google map with the Radzen GoogleMap component.
I have been able to create the map and set some options, but I need a sample on how to set the map style options.
The Class RadzenGoogleMap has the property
public Dictionary<string, object> Options { get; set; }
but I have not understood how to set the stylers like removing the poi (points of interest) or changing some of the features: I tried:
{ "style", "[{\"elementType\": \"labels.icon\", \"stylers\": [{\"visibility\": \"off\" }]}, {\"featureType\": \"administrative.land_parcel\", \"stylers\": [{\"visibility\": \"off\"}]}, {\"featureType\": \"administrative.neighborhood\", \"stylers\": [{\"visibility\": \"off\"}]}, {\"featureType\": \"poi\", \"elementType\": \"labels.text\", \"stylers\": [{\"visibility\": \"off\" }]}, {\"featureType\": \"poi.business\", \"stylers\": [{\"visibility\": \"off\" }]}]"}
but with no result.
The other issue is that I would like to replace the marker with a local png.
I have done this with the "GoogleMapsComponents" but with Radzen, that I'm using in the rest of the solution, it looks better, except for map style and marker style.
Anyone has already done this or can give me a start hint for any of the tasks.
Thanks in advance.
René