새지도 깃발끊김 추가
This commit is contained in:
@@ -278,4 +278,55 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top:5px; /*TODO:도시 레벨 별로 다르게 위치 설정해볼 것*/
|
top:5px; /*TODO:도시 레벨 별로 다르게 위치 설정해볼 것*/
|
||||||
left:0;
|
left:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.city_base .city_flag{
|
||||||
|
position: absolute;
|
||||||
|
width:12px;
|
||||||
|
height:12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.city_base .city_flag img{
|
||||||
|
width:12px;
|
||||||
|
height:12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.city_base.city_level_1 .city_flag{
|
||||||
|
right:-8px;
|
||||||
|
top:-4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.city_base.city_level_2 .city_flag{
|
||||||
|
right:-8px;
|
||||||
|
top:-4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.city_base.city_level_3 .city_flag{
|
||||||
|
right:-8px;
|
||||||
|
top:-4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.city_base.city_level_4 .city_flag{
|
||||||
|
right:-6px;
|
||||||
|
top:-3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.city_base.city_level_5 .city_flag{
|
||||||
|
right:-6px;
|
||||||
|
top:-4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.city_base.city_level_6 .city_flag{
|
||||||
|
right:-6px;
|
||||||
|
top:-4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.city_base.city_level_7 .city_flag{
|
||||||
|
right:-6px;
|
||||||
|
top:-4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.city_base.city_level_8 .city_flag{
|
||||||
|
right:-6px;
|
||||||
|
top:-3px;
|
||||||
}
|
}
|
||||||
+1
-1
@@ -11,7 +11,7 @@
|
|||||||
<link href="../twe/css/common.css" rel="stylesheet">
|
<link href="../twe/css/common.css" rel="stylesheet">
|
||||||
<link href="map.css" rel="stylesheet">
|
<link href="map.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body style="background-color:black;margin:50px;">
|
<body style="background-color:black;">
|
||||||
<div class="world_map map_detail">
|
<div class="world_map map_detail">
|
||||||
<div class="map_title">
|
<div class="map_title">
|
||||||
<span class="map_title_text">
|
<span class="map_title_text">
|
||||||
|
|||||||
+7
-1
@@ -64,7 +64,7 @@ function reloadWorldMap(isDetailMap, clickableAll, selectCallback, hrefTemplate)
|
|||||||
"state":arr[2],
|
"state":arr[2],
|
||||||
"nationId":(arr[3]>0)?arr[3]:null,
|
"nationId":(arr[3]>0)?arr[3]:null,
|
||||||
"region":arr[4],
|
"region":arr[4],
|
||||||
"supply":arr[5]
|
"supply":(arr[5]!=0)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -234,6 +234,12 @@ function reloadWorldMap(isDetailMap, clickableAll, selectCallback, hrefTemplate)
|
|||||||
$linkObj.append($stateObj);
|
$linkObj.append($stateObj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(city.nationId && city.nationId > 0){
|
||||||
|
var flagType = city.supply?'f':'d';
|
||||||
|
var $flagObj = $('<div class="city_flag"><img src="/images/{0}{1}.gif"></div>'.format(flagType, convColorValue(city.color)));
|
||||||
|
$imgObj.append($flagObj);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$map_body.append($cityObj);
|
$map_body.append($cityObj);
|
||||||
|
|||||||
+5
-5
@@ -4,7 +4,7 @@
|
|||||||
"year":217,
|
"year":217,
|
||||||
"month":10,
|
"month":10,
|
||||||
"cityList":[
|
"cityList":[
|
||||||
[1, 8, 41, 1, 1, 1],
|
[1, 8, 41, 1, 1, 0],
|
||||||
[2, 8, 0, 2, 2, 1],
|
[2, 8, 0, 2, 2, 1],
|
||||||
[3, 8, 42, 3, 2, 1],
|
[3, 8, 42, 3, 2, 1],
|
||||||
[4, 8, 0, 0, 3, 1],
|
[4, 8, 0, 0, 3, 1],
|
||||||
@@ -17,13 +17,13 @@
|
|||||||
[11, 7, 0, 0, 2, 1],
|
[11, 7, 0, 0, 2, 1],
|
||||||
[12, 7, 0, 0, 2, 1],
|
[12, 7, 0, 0, 2, 1],
|
||||||
[13, 7, 0, 1, 6, 1],
|
[13, 7, 0, 1, 6, 1],
|
||||||
[14, 7, 0, 1, 6, 1],
|
[14, 7, 0, 1, 6, 0],
|
||||||
[15, 7, 0, 1, 7, 1],
|
[15, 7, 0, 1, 7, 1],
|
||||||
[16, 7, 0, 1, 8, 1],
|
[16, 7, 0, 1, 8, 1],
|
||||||
[17, 6, 0, 0, 1, 1],
|
[17, 6, 0, 0, 1, 1],
|
||||||
[18, 6, 0, 0, 2, 1],
|
[18, 6, 0, 0, 2, 1],
|
||||||
[19, 6, 0, 1, 2, 1],
|
[19, 6, 0, 1, 2, 1],
|
||||||
[20, 6, 0, 2, 2, 1],
|
[20, 6, 0, 2, 2, 0],
|
||||||
[21, 6, 0, 3, 2, 1],
|
[21, 6, 0, 3, 2, 1],
|
||||||
[22, 6, 41, 0, 3, 1],
|
[22, 6, 41, 0, 3, 1],
|
||||||
[23, 6, 42, 0, 3, 1],
|
[23, 6, 42, 0, 3, 1],
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
[62, 5, 0, 0, 8, 1],
|
[62, 5, 0, 0, 8, 1],
|
||||||
[63, 4, 8, 0, 3, 1],
|
[63, 4, 8, 0, 3, 1],
|
||||||
[64, 4, 34, 0, 3, 1],
|
[64, 4, 34, 0, 3, 1],
|
||||||
[65, 4, 0, 1, 3, 1],
|
[65, 4, 0, 1, 3, 0],
|
||||||
[66, 4, 0, 2, 5, 1],
|
[66, 4, 0, 2, 5, 1],
|
||||||
[67, 4, 0, 3, 7, 1],
|
[67, 4, 0, 3, 7, 1],
|
||||||
[68, 4, 0, 0, 8, 1],
|
[68, 4, 0, 0, 8, 1],
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
[78, 2, 0, 0, 1, 1],
|
[78, 2, 0, 0, 1, 1],
|
||||||
[79, 2, 0, 0, 1, 1],
|
[79, 2, 0, 0, 1, 1],
|
||||||
[80, 2, 0, 2, 2, 1],
|
[80, 2, 0, 2, 2, 1],
|
||||||
[81, 2, 0, 2, 2, 1],
|
[81, 2, 0, 2, 2, 0],
|
||||||
[82, 2, 0, 2, 2, 1],
|
[82, 2, 0, 2, 2, 1],
|
||||||
[83, 2, 0, 2, 2, 1],
|
[83, 2, 0, 2, 2, 1],
|
||||||
[84, 2, 0, 0, 3, 1],
|
[84, 2, 0, 0, 3, 1],
|
||||||
|
|||||||
Reference in New Issue
Block a user