{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/8243","labels_url":"https://api.github.com/repos/piwik/piwik/issues/8243/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/8243/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/8243/events","html_url":"https://github.com/piwik/piwik/issues/8243","id":91834462,"number":8243,"title":"Visotor map NaN error","user":{"login":"andrzejewsky","id":7943292,"avatar_url":"https://avatars.githubusercontent.com/u/7943292?v=3","gravatar_id":"","url":"https://api.github.com/users/andrzejewsky","html_url":"https://github.com/andrzejewsky","followers_url":"https://api.github.com/users/andrzejewsky/followers","following_url":"https://api.github.com/users/andrzejewsky/following{/other_user}","gists_url":"https://api.github.com/users/andrzejewsky/gists{/gist_id}","starred_url":"https://api.github.com/users/andrzejewsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrzejewsky/subscriptions","organizations_url":"https://api.github.com/users/andrzejewsky/orgs","repos_url":"https://api.github.com/users/andrzejewsky/repos","events_url":"https://api.github.com/users/andrzejewsky/events{/privacy}","received_events_url":"https://api.github.com/users/andrzejewsky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/piwik/piwik/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"barbushin","id":683352,"avatar_url":"https://avatars.githubusercontent.com/u/683352?v=3","gravatar_id":"","url":"https://api.github.com/users/barbushin","html_url":"https://github.com/barbushin","followers_url":"https://api.github.com/users/barbushin/followers","following_url":"https://api.github.com/users/barbushin/following{/other_user}","gists_url":"https://api.github.com/users/barbushin/gists{/gist_id}","starred_url":"https://api.github.com/users/barbushin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbushin/subscriptions","organizations_url":"https://api.github.com/users/barbushin/orgs","repos_url":"https://api.github.com/users/barbushin/repos","events_url":"https://api.github.com/users/barbushin/events{/privacy}","received_events_url":"https://api.github.com/users/barbushin/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/piwik/piwik/milestones/79","html_url":"https://github.com/piwik/piwik/milestones/2.14.0","labels_url":"https://api.github.com/repos/piwik/piwik/milestones/79/labels","id":1005076,"number":79,"title":"2.14.0","description":"","creator":{"login":"mattab","id":466765,"avatar_url":"https://avatars.githubusercontent.com/u/466765?v=3","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":231,"state":"open","created_at":"2015-03-04T03:03:44Z","updated_at":"2015-07-06T18:16:50Z","due_on":"2015-06-28T12:00:00Z","closed_at":null},"comments":5,"created_at":"2015-06-29T15:17:22Z","updated_at":"2015-07-06T20:52:12Z","closed_at":null,"body":"Hi, I found problem with visitor map, take a look on the screenshot:\r\n\r\n![zrzut ekranu 2015-06-29 o 17 10 00](https://cloud.githubusercontent.com/assets/7943292/8411141/a06e887c-1e82-11e5-81c4-20f35a7af9d3.png)\r\n\r\nLook at the console, we can see a lot of \"NaN\" errors. I think, this problem occur only if we will select Canada\r\n"},"comment":{"url":"https://api.github.com/repos/piwik/piwik/issues/comments/118994696","html_url":"https://github.com/piwik/piwik/issues/8243#issuecomment-118994696","issue_url":"https://api.github.com/repos/piwik/piwik/issues/8243","id":118994696,"user":{"login":"barbushin","id":683352,"avatar_url":"https://avatars.githubusercontent.com/u/683352?v=3","gravatar_id":"","url":"https://api.github.com/users/barbushin","html_url":"https://github.com/barbushin","followers_url":"https://api.github.com/users/barbushin/followers","following_url":"https://api.github.com/users/barbushin/following{/other_user}","gists_url":"https://api.github.com/users/barbushin/gists{/gist_id}","starred_url":"https://api.github.com/users/barbushin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbushin/subscriptions","organizations_url":"https://api.github.com/users/barbushin/orgs","repos_url":"https://api.github.com/users/barbushin/repos","events_url":"https://api.github.com/users/barbushin/events{/privacy}","received_events_url":"https://api.github.com/users/barbushin/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T20:52:12Z","updated_at":"2015-07-06T20:52:12Z","body":"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). \r\n\r\nThere was some backward compatibility with Kartograph 0.8.6 and 0.8.7, so I just used 0.8.2 release with trivial migration refactoring. Now it works."}}