From a4c583361ca461dcde2f33c9bad34e54c00343e3 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 18 Jul 2018 04:10:07 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B8=89=ED=95=9C=EB=8C=80=EB=A1=9C=20?= =?UTF-8?q?=EB=8F=84=EC=8B=9C=EB=AA=85=20=EB=9D=84=EC=9B=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/css/map.css | 11 +++++++++++ hwe/js/map.js | 5 +++++ 2 files changed, 16 insertions(+) diff --git a/hwe/css/map.css b/hwe/css/map.css index 466bf988..87177552 100644 --- a/hwe/css/map.css +++ b/hwe/css/map.css @@ -94,6 +94,15 @@ background:transparent; } +.world_map .city_detail_name{ + background-color:rgba(0,0,0,0.5); + font-size:10px; + position:absolute; + white-space:nowrap; + left:70%; + bottom:-10px; + color:white; +} .city_base{ position:absolute; @@ -338,6 +347,8 @@ /* Basic */ + + .world_map.map_basic .city_filler{ position:absolute; width:100%; diff --git a/hwe/js/map.js b/hwe/js/map.js index 59219ec2..0fc6dcab 100644 --- a/hwe/js/map.js +++ b/hwe/js/map.js @@ -276,6 +276,9 @@ function reloadWorldMap(option){ } $imgObj.append($flagObj); } + + var $nameObj = $('{0}'.format(city.name)); + $imgObj.append($nameObj); $map_body.append($cityObj); @@ -336,6 +339,8 @@ function reloadWorldMap(option){ $imgObj.append($capitalObj); } + var $nameObj = $('{0}'.format(city.name)); + $imgObj.append($nameObj); $map_body.append($cityObj); });