mirror of
https://github.com/aljazceru/twentyone-world.github.io.git
synced 2025-12-20 00:04:22 +01:00
chore: cleanup
This commit is contained in:
1001
data/cities.json
1001
data/cities.json
File diff suppressed because it is too large
Load Diff
@@ -100,8 +100,7 @@
|
|||||||
"alpha3": "AUT",
|
"alpha3": "AUT",
|
||||||
"numeric": 40,
|
"numeric": 40,
|
||||||
"latitude": 47.3333,
|
"latitude": 47.3333,
|
||||||
"longitude": 13.3333,
|
"longitude": 13.3333
|
||||||
"link": "https://einundzwanzig.space/meetups"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"country": "Azerbaijan",
|
"country": "Azerbaijan",
|
||||||
@@ -630,8 +629,6 @@
|
|||||||
"numeric": 276,
|
"numeric": 276,
|
||||||
"latitude": 51,
|
"latitude": 51,
|
||||||
"longitude": 9,
|
"longitude": 9,
|
||||||
"city_name": "Munich",
|
|
||||||
"nb_visits": 456,
|
|
||||||
"link": "https://einundzwanzig.space/meetups"
|
"link": "https://einundzwanzig.space/meetups"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -64,7 +64,6 @@ qtip: '/js/jquery.qtip.min.js'
|
|||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
success: function (countries) {
|
success: function (countries) {
|
||||||
|
|
||||||
var scale = kartograph.scale.sqrt(countries.concat([{ nb_visits: 0 }]), 'nb_visits').range([0, 60]);
|
|
||||||
var orangeCountries = countries.filter(function hasLink(c) {
|
var orangeCountries = countries.filter(function hasLink(c) {
|
||||||
var hasLink = c.link ? true : false;
|
var hasLink = c.link ? true : false;
|
||||||
return hasLink;
|
return hasLink;
|
||||||
|
|||||||
Reference in New Issue
Block a user