I'm using trying to build a map chart following the your first map tutorial.
I'm using the library inside a React application with ES6 and Babel.
I created an SVG map using the Pixel Map tool you suggested and I'm using it through mapUrl option. I get the following errors:
Uncaught TypeError: Cannot read property 'areas' of undefined
Uncaught TypeError: Cannot read property 'scale' of undefined
I imported the library as suggested here
This is my code:
Hi,
I'm using trying to build a map chart following the your first map tutorial. I'm using the library inside a React application with ES6 and Babel. I created an SVG map using the Pixel Map tool you suggested and I'm using it through mapUrl option. I get the following errors:
I imported the library as suggested here This is my code: