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?
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.
ok, thank you very much! Can confirm, works so far!
Hi, when is the new version being published ?
Most helpful comment
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 --saveto get v2.0.3.Circles and Polygons now work for me.