I have a google map and want to use the icon shown in google Map documentation to switch between SATELLITE and ROADMAP views.
In the Google Map documentation I see this icon switcher option (bottom left corner)
But in my map when I use DEFAULT, DROPDOWN or HORIZONTAL_BAR. , none display the required icon , see below for an example of how I am trying to do it.
mapTypeControlOptions: {
style: google.maps.MapTypeControlStyle.DEFAULT,
So my question is
- Do I have to make a custom component to achieve this
- If I have to make a component can I get icons from google for the icons or is there some other way to do it , like (gulp) make little maps inside the component ?
I am amazed the option just to do this doesn’t exists . But thanks for any help , I am new to Googlge maps in general