Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: No context provided: useLeafletContext() can only be used in a descendant of <MapContainer> #5

Closed
pLavrenov opened this issue Nov 30, 2022 · 3 comments

Comments

@pLavrenov
Copy link

"react": "^18.2.0",
"react-leaflet": "^4.2.0",
"react-leaflet-marker": "^2.0.0",

@xXBlackBulletXx
Copy link
Contributor

xXBlackBulletXx commented Nov 30, 2022

@pLavrenov
Hi, i've fixed the problem on my fork to work with react-leaflet: 4.2.0 you can try installing from repo with
yarn add react-leaflet-marker-test
or
npm i react-leaflet-marker-test
meanwhile pr will be closed

@vkruglikov
Copy link
Member

vkruglikov commented Dec 1, 2022

Thank you @pLavrenov for your report and @xXBlackBulletXx for contribution :)
I am preparing #7 RC with new version

@vkruglikov
Copy link
Member

#7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants