Open ThaDafinser opened 10 years ago
Hi @ThaDafinser we're experiencing some bugs when User selected is set to German (which changes locale in PHP causing bugs rendering floats #6631 #6620 ). Can you reproduce this issue in German and English language?
Hi @ThaDafinser do you still have the issue in latest Piwik?
Yes still the same problem.
I notice the same issue. Here is some additional info about this:
I believe the issue lays in kartograph. Here is a bug report in kartograph related to noverlap mode of kartograph (which the visitor map is using): https://github.com/kartograph/kartograph.js/issues/47
In the attached screenshots, you can see the missing points appearing after i hacked kartograph a little bit, following instructions in kartograph issue 47. However, the "fix" used is not correct as city points are actually overlapping..
Current implementation with noverlap mode:
"Fix" as proposed in kartograph issue 47:
Kartograph isn't maintained anymore, so it's unlikely, that a possible fix might be provided for that library. I'm unable to say if the "fix" might cause other problems, like overlapping points or similar. If you are able to provide a PR that fixes it we might consider to merge it, if it doesn't cause other problems... Otherwise we hope to be able to work on #11929 at some point to fix all map related issues.
The country / regions view works generally fine for me. Also the cities view mostly works.
But some cities/coordinates are not shown.
In the first screenshot you see 16 visitors in Michigan, but in the 2nd (the cities view) they are not shown (the legend shows the correct number) . If you check the lat/long coordinates they are correct for Michigan: https://www.google.com/maps/place/42%C2%B033'32.4%22N+83%C2%B011'24.0%22W/@42.5041012,-83.1427799,10z/data=!4m2!3m1!1s0x0:0x0