이거 object 객체인데 내용물 볼수있는법 있음?
console로는 내용물이 안보임.....
프알못임
console.log(ntp1)
Object { lat: lat(), lng: lng()
}
lat: function lat()
arguments: null
caller: null
length: 0
name: ""
prototype: Object { … }
<prototype>: function ()
lng: function lng()
arguments: null
caller: null
length: 0
name: ""
prototype: Object { … }
<prototype>: function ()
" class="tree-node" role="treeitem" aria-level="2" aria-expanded="false" data-expandable="true" style="font-size: 13.3333px;"><prototype>: Object { toString: toString(), toJSON: toJSON(), equals: equals(a), … }
if (Rc < rmin) {
alert($.lang.convert('Caution: Minimum radius for this deflection angle is : ') + rmin + ' m.');
return;
}
var IT = ((Rc + S)/(Math.tan(thetaR/2)))+ (Ls/2); // Total tangent length from intersection point to transition start/end point
var K = Ls/2;
var ntp1 = google.maps.geometry.spherical.computeOffset(m1, -IT, h1); //point 1 : transition start
var ntp2 = google.maps.geometry.spherical.computeOffset(m1, IT, h2); //point 2 : transition end
var tditcl = (Rc + S)/(Math.tan(thetaR/2));
var tditc0 = google.maps.geometry.spherical.computeOffset(m1, -tditcl, h1);
var tditc1 = google.maps.geometry.spherical.computeOffset(m1, tditcl, h2);
var nscc1 = google.maps.geometry.spherical.computeOffset(tditc0, (Rc+S), h1 + (90 * dir));
var nscc2 = google.maps.geometry.spherical.computeOffset(tditc0, (Rc+S), h1 - (90 * dir));
var nscc3 = google.maps.geometry.spherical.computeOffset(tditc1, (Rc+S), h2 + (90 * dir));
var nscc4 = google.maps.geometry.spherical.computeOffset(tditc1, (Rc+S), h2 - (90 * dir));
var Cc = null;
TL = IT;
뭔 내용물?ㅇㅅㅇ
저기 object 객체안에 lat, long 좌표 저장되는거같은데 이걸 알고싶음
함수니까 호출하셈ㅇㅅㅇ
저거 console창에서 함수 호출이 가능함?
log도 함수잖ㅇㅅㅇ
호출했는데 저 로그랑똑같이 나오네 내용물이 안보임
그 시점에 값이 안 들어가는 거 같은데 이건 아니야??
lat, lng 함수 두개 있네