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

Polygon / Circle example in npm 2.0.2 (latest?) not working #300

Closed
cernoel opened this issue Jan 6, 2019 · 3 comments
Closed

Polygon / Circle example in npm 2.0.2 (latest?) not working #300

cernoel opened this issue Jan 6, 2019 · 3 comments

Comments

@cernoel
Copy link

cernoel commented Jan 6, 2019

Error: 'Polygon' is not defined react/jsx-no-undef
Error: 'Circle' is not defined react/jsx-no-undef
See example: https://github.com/fullstackreact/google-maps-react/blob/master/README.md#polyline
Do i need to import something else?

@kpl39
Copy link

kpl39 commented Jan 6, 2019

I had the same problem, it looks like they haven't published the latest version (2.0.3) to npm.

You can run npm i fullstackreact/google-maps-react#master --save to get v2.0.3.

Circles and Polygons now work for me.

@cernoel
Copy link
Author

cernoel commented Jan 16, 2019

ok, thank you very much! Can confirm, works so far!

@cernoel cernoel closed this as completed Jan 16, 2019
@yonidavidson
Copy link

Hi, when is the new version being published ?

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