javascript - Hide default fullscreen button on react-google-maps -


i have problem react-google-maps.

i created own button fullscreen toggle

enter image description here

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

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -