Google-map-react: Remove Fullscreen Control

Created on 19 Dec 2018  路  1Comment  路  Source: google-map-react/google-map-react

Is there any way to remove full screen control?

Most helpful comment

@developer2-distributed

Yes, here:

createMapOptions: function (maps) {
    return {
      zoomControl: boolean,
      mapTypeControl: boolean,
      scaleControl: boolean,
      streetViewControl: boolean,
      rotateControl: boolean,
      fullscreenControl: boolean
    }
  }

 <GoogleMap  options={createMapOptions} ... />

src: https://github.com/google-map-react/google-map-react/blob/master/API.md#options-funcobject

>All comments

@developer2-distributed

Yes, here:

createMapOptions: function (maps) {
    return {
      zoomControl: boolean,
      mapTypeControl: boolean,
      scaleControl: boolean,
      streetViewControl: boolean,
      rotateControl: boolean,
      fullscreenControl: boolean
    }
  }

 <GoogleMap  options={createMapOptions} ... />

src: https://github.com/google-map-react/google-map-react/blob/master/API.md#options-funcobject

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thehulke picture thehulke  路  3Comments

VLNTNA picture VLNTNA  路  4Comments

Pau1fitz picture Pau1fitz  路  4Comments

nhducit picture nhducit  路  5Comments

zander312 picture zander312  路  3Comments