Google-maps-react: Polygon / Circle example in npm 2.0.2 (latest?) not working

Created on 6 Jan 2019  路  3Comments  路  Source: fullstackreact/google-maps-react

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?

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 --save to get v2.0.3.

Circles and Polygons now work for me.

All 3 comments

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 ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

samirbraga picture samirbraga  路  3Comments

anushreepatil picture anushreepatil  路  5Comments

colshacol picture colshacol  路  4Comments

matgargano picture matgargano  路  5Comments

kevinSuttle picture kevinSuttle  路  4Comments