기존 폴리곤 삭제 문의

국가정보공간포털에서 shp파일을 받아 postgresql로
다음지도 검색할 때 그리는 지적선을 따라하여는데 지적선 삭제가 안되네요. 무엇이 잘못된지 모르겠어요. 아시면 답변 좀 부탁드려요 ㅠㅠ
function fnCad(a1) {
$.ajax({
type:“get”,
url: “/aquarius/search/map/cad?a1=”+a1,
async: false,
success: function(result) {
if (typeof cadPol != “undefined”) {
cadPol.setMap(null);
};
var obj = JSON.parse(result[0].feature);
cadJson = obj.features[0].geometry.coordinates[0][0];
for(i=0; i < cadJson.length; i++) {
cadPath.push(new daum.maps.LatLng(cadJson[i][1], cadJson[i][0]));
}
cadPol = new daum.maps.Polygon({
//map: map, // 다각형을 표시할 지도 객체
path: cadPath,
strokeWeight: 3,
strokeColor: ‘#ff0000’,
strokeOpacity: 1,
fillColor: ‘#ff0000’,
fillOpacity: 0.2
});
cadPol.setMap(map);
var coords = new daum.maps.LatLng(obj.features[0].properties.f8, obj.features[0].properties.f7);
map.setCenter(coords);
map.setLevel(1);
}
});
}

한번 cadPol에 daum.maps.Polygon이 할당된 이후로는 typeof cadPol이 undefined 가 나올 수 없으므로
첫 번째 이후부터는 계속해서 지워지지 않고 그려질거 같은데요