Skip to content

How to fix "Uncaught Error: Map container is already initialized.". #16

@farz-msv

Description

@farz-msv

I have to use two map in one page , in react js .
first map is shown by clicking on a button, when it's closed i have to show second map ,but i have this error , how should i fixed "Uncaught Error: Map container is already initialized."
what should i do?
"next": "12"
"react": "^18.2.0",
"react-neshan-map-leaflet": "^1.2.1",

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