JustFly1984 / react-google-maps-api

React Google Maps API
MIT License
1.78k stars 437 forks source link

Map Type Control not showing #3139

Open centratelemedia opened 1 year ago

centratelemedia commented 1 year ago

i have set options to show map type, but not shoing

{
        zoomControlOptions: {
            position: window.google.maps.ControlPosition.TOP_RIGHT,
            style: window.google.maps.ZoomControlStyle.SMALL
        },
        mapTypeControlOptions: {
            style: window.google.maps.MapTypeControlStyle.DROPDOWN_MENU,
            mapTypeIds: ['Google Map', 'Google Hybrid', 'Bing Map', 'Bing Hybrid']
        },
        gestureHandling: 'greedy',
        panControl: true,
        zoomControl: true,
        scaleControl: true,
        streetViewControl: true,
        overviewMapControl: true,
        disableDefaultUI: false,
        mapTypeId: 'Bing Map',
        mapTypeControl: true,
    }