From fd8ab0e4b0165b8ea13b39705ea58b0b76d4f7e9 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 31 Jan 2018 17:32:49 +0900 Subject: [PATCH] =?UTF-8?q?=EC=83=88=20=EC=A7=80=EB=8F=84=20map.html=20?= =?UTF-8?q?=EB=94=94=EB=B2=84=EA=B9=85=20=EC=BD=94=EB=93=9C=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0,=20=EC=8B=A4=EC=A0=9C=20=EB=8D=B0=EC=9D=B4=ED=84=B0?= =?UTF-8?q?=EB=A1=9C=20=EC=9D=B4=EC=8B=9D=20=EC=A4=80=EB=B9=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tmp_map/map.html | 35 +++++++++++++++++++++++++++++++++++ tmp_map/map.js | 16 +--------------- 2 files changed, 36 insertions(+), 15 deletions(-) diff --git a/tmp_map/map.html b/tmp_map/map.html index 0109d556..d4071195 100644 --- a/tmp_map/map.html +++ b/tmp_map/map.html @@ -10,6 +10,41 @@ + +
diff --git a/tmp_map/map.js b/tmp_map/map.js index f6170fb3..93bca7f3 100644 --- a/tmp_map/map.js +++ b/tmp_map/map.js @@ -14,7 +14,7 @@ function reloadWorldMap(isDetailMap, clickableAll, selectCallback, hrefTemplate) var cityPosition = getCityPosition(); - //OBJ : startYear, year, month, cityList, nationList, spyList, ourCityList, shownByGeneralList, myCity + //OBJ : startYear, year, month, cityList, nationList, spyList, shownByGeneralList, myCity var $world_map = $('.world_map'); function setMapBackground(obj){ @@ -288,7 +288,6 @@ function reloadWorldMap(isDetailMap, clickableAll, selectCallback, hrefTemplate) $linkObj.append($imgObj); if(city.state > 0){ - console.log(city.state); var state_text = 'wrong'; if(city.state < 10){ state_text = 'good'; @@ -390,7 +389,6 @@ function reloadWorldMap(isDetailMap, clickableAll, selectCallback, hrefTemplate) if($map_body.data('touchMode')){ return true; } - console.log('mouseenter'); var $this = $(this); @@ -462,15 +460,3 @@ function reloadWorldMap(isDetailMap, clickableAll, selectCallback, hrefTemplate) .then(saveCityInfo); } -$(function(){ - - var isDetailMap = false; - var clickableAll = false; - - function tmp(a){ - console.log(a); - //return false; - } - reloadWorldMap(isDetailMap, clickableAll, tmp, 'goCity.php?id={0}'); - -}); \ No newline at end of file