react-google-maps
react-google-maps copied to clipboard
Can't set custom styles to Control Options
I have set my Control Options to dropdown, but can't seem to style it at all.
options={
mapTypeControl: true,
mapTypeControlOptions: {
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU,
mapTypeIds: ['roadmap', 'terrain', 'satellite'],
},
}
I have tried updating the style attribute, so it's an object and make it contain my styling options, but this didn't work. I also tried to add inputStyle and mapTypeStyle into the mapTypeControlOptions object, but that didn't work either. I would appreciate any suggestions.