react-google-maps
react-google-maps copied to clipboard
Can't disable zoom buttons
I was wondering how to disable the zoom buttons?
I tried setting zoomControl. When I set it to true, I get another pair of buttons!
when set to true

when set to false

You can get someone's help in three ways:
You can hide these button using this object
defaultOptions={{fullscreenControl: false, zoomControl : false}}
Its work for me

Neither can I
I used
defaultOptions={{ fullscreenControl: false, zoomControl: false }}
Still I see the + - buttons
can be removed by using options={{ zoomControl : false }} instead if anyone else runs into this issue