Skip to content

<ScriptGoogleMaps> gets centered when mapOptions.zoom is set #737

@DamianGlowala

Description

@DamianGlowala

🐛 The bug

When I try to move deprecated zoom prop to mapOptions.zoom in

, the map gets centered/panned when e.g. clicking on Show rectangle button.

🛠️ To reproduce

http://localhost:3000/third-parties/google-maps/sfcs

🌈 Expected behavior

Map does not center/pan unexpectedly.

ℹ️ Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions