javascript - Hide default fullscreen button on react-google-maps -
i have problem react-google-maps.
i created own button fullscreen toggle
i have tried can't find way rid of default button. tried add code, didn't work.
<googlemap ref={(map) => console.log()} defaultzoom={12} defaultcenter={{ lat: this.state.lat, lng: this.state.lng }} fullscreencontrol={false} > any appreciated.
cheers!
nah, mate solved it, target class instead of trying hide props
.gm-fullscreen-control { display: none!important; } 
Comments
Post a Comment