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
Visitor map NaN error in browser console #8243
Comments
Can you let us know what your browser + operating system is and steps to reproduce? Also what's your Piwik version? |
demo.piwik.org on Mac OS X using latest Chrome. |
Since we recently fixed some problems with the map, i'm wondering that maybe it will be fixed in RC2 (coming soon). Let's check bug is still here in RC2 once it will be on the demo. |
I can still reproduce it using demo.piwik.org (after update) |
Problem was in Kartograph centroid calculation function, it was a popular bug fixed in Kartograph v 0.8.2 (see https://github.com/kartograph/kartograph.js/blob/master/CHANGELOG.md#082). There was some backward compatibility problem with Kartograph 0.8.6 and 0.8.7, so I just used 0.8.2 release with trivial migration refactoring. Now it works. |
Assigning to 2.14.1 to have bit more time to test it |
PR was reverted in #8335 |
Hi, I found problem with visitor map, take a look on the screenshot:
Look at the console, we can see a lot of "NaN" errors. I think, this problem occur only if we will select Canada
The text was updated successfully, but these errors were encountered: