We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e277ed2 commit f076852Copy full SHA for f076852
1 file changed
index.html
@@ -163,7 +163,7 @@
163
console.log("Adding activity from " + item["actor_attributes"]["location"]);
164
var lat = Math.round(results[0].geometry.location.lat());
165
var lng = Math.round(results[0].geometry.location.lng());
166
- if (lng == 180) {
+ if (lng == 180 || lat == 90 || lat == -90) {
167
lng = -180;
168
}
169
var start = ((lat + 90) * 360 + (lng + 180)) * 3;
0 commit comments