Skip to content

Google Maps: Cant add styles to options #202

Closed
@MickL

Description

@MickL

🐛 The bug

When adding styles to prop options of <ScriptGoogleMaps :options="{}" /> they dont get applied. Instead a warning is shown in the console:

Google Maps JavaScript API: A Map's styles property cannot be set when a mapId is present. When a mapId is present, Map styles are controlled via the cloud console.

I did not set any mapId.

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