Skip to content

How to remove the fullscreen control? #138

@simondell

Description

@simondell

Thanks for your handy plugin!

I notice in the examples, none of the maps appear with the "fullscreen" control showing. In my own app, it shows but I'd prefer it not to. I can't see where either:

  • the examples explicitly configure it not to appear
  • my app code explicitly configures it to appear

Here's how I use the component:

<Map
    google={google}
    mapTypeControl={false}
    gestureHandling="greedy"
    initialCenter={{ lat, lng: lon }}
    style={{
        width: '100%',
        height: '100%'
    }}
    zoom={zoom}
>{/* ... markers and stuff */}</Map>

Can you/anyone suggest what I could do differently to stop the fullscreen control appearing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions