Skip to content

Wrong typing for useMap props? #51

@eivindml

Description

@eivindml

I'm using the useMap() hook, and I'm following the sample code from the README to add a default center location. But typescript gives my an error, says I'm missing some props.

I guess the props for the useMap hook is not properly defined?

Skjermbilde 2021-01-17 kl  12 00 56

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions