김서연

merge

...@@ -50,18 +50,6 @@ app.post('/',function(req,res,next){ ...@@ -50,18 +50,6 @@ app.post('/',function(req,res,next){
50 50
51 app.get('/',function(req,res){ 51 app.get('/',function(req,res){
52 res.render('index'); 52 res.render('index');
53 - // res.writeHead(200, {'Content-Type': 'text/html'});
54 - // fs.readFile('./map/kakaomap.html', null, function(err,data){
55 - // if(err){
56 - // res.writeHead(404);
57 - // res.write('error');
58 - // }
59 - // else{
60 - // console.log('complete!');
61 - // res.write(data);
62 - // }
63 - // res.end();
64 - // });
65 }) 53 })
66 54
67 app.listen(3000,function(){ 55 app.listen(3000,function(){
......
...@@ -43,9 +43,7 @@ ...@@ -43,9 +43,7 @@
43 geocoder.addressSearch(tmpaddr, function(result, status) { 43 geocoder.addressSearch(tmpaddr, function(result, status) {
44 if (status === kakao.maps.services.Status.OK) { 44 if (status === kakao.maps.services.Status.OK) {
45 var coords = new kakao.maps.LatLng(result[0].y, result[0].x); 45 var coords = new kakao.maps.LatLng(result[0].y, result[0].x);
46 - // y += result[0].y; 46 +
47 - // x += result[0].x;
48 - // count += 1;
49 var marker = new kakao.maps.Marker({ 47 var marker = new kakao.maps.Marker({
50 position: coords, 48 position: coords,
51 clickable: true}); 49 clickable: true});
......