새지도 수도 표기 버그 해결
This commit is contained in:
+2
-1
@@ -73,7 +73,7 @@ function reloadWorldMap(isDetailMap, clickableAll, selectCallback, hrefTemplate)
|
|||||||
"id":arr[0],
|
"id":arr[0],
|
||||||
"name":arr[1],
|
"name":arr[1],
|
||||||
"color":arr[2],
|
"color":arr[2],
|
||||||
"capital":(arr[3]!==0)
|
"capital":arr[3]
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -159,6 +159,7 @@ function reloadWorldMap(isDetailMap, clickableAll, selectCallback, hrefTemplate)
|
|||||||
city.nation = nationObj.name;
|
city.nation = nationObj.name;
|
||||||
city.color = nationObj.color;
|
city.color = nationObj.color;
|
||||||
city.isCapital = (nationObj.capital == city.id);
|
city.isCapital = (nationObj.capital == city.id);
|
||||||
|
console.log(city.id, nationObj.capital, city.isCapital);
|
||||||
|
|
||||||
return city;
|
return city;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -101,7 +101,7 @@
|
|||||||
],
|
],
|
||||||
"nationList":[
|
"nationList":[
|
||||||
[1,"위","#0000ff",13],
|
[1,"위","#0000ff",13],
|
||||||
[2,"촉","#00ff00",83],
|
[2,"촉","#00ff00",72],
|
||||||
[3,"오","#ff0000",89]
|
[3,"오","#ff0000",89]
|
||||||
],
|
],
|
||||||
"spyList":[133, 892],
|
"spyList":[133, 892],
|
||||||
|
|||||||
Reference in New Issue
Block a user