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

Outdated build version? #4

Open
rerodrigues opened this issue Feb 29, 2020 · 1 comment
Open

Outdated build version? #4

rerodrigues opened this issue Feb 29, 2020 · 1 comment

Comments

@rerodrigues
Copy link

Hi, first of all, thanks for this plugin.

I'm trying to use it with react-leaflet 2+ but it doesn't work without wrapping with withLeaflet, despite the fact that in the source it is already wrapped in the export. It is possible that the main file referenced in the package.json was not updated with the last build?

@Gowee
Copy link

Gowee commented Mar 9, 2021

I can reproduce this problem.

Using <Curve> as suggested by the README gives this.props.leaflet is undefined error. I have to import { withLeaflet } from 'react-leaflet'; and wrap Curve manually.

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

2 participants