|
drawZoomAndCenter() 메소드를 이용할 때 파라미터로 'Address String' 을 지정할 경우
endMapDraw 이벤트가 발생합니다. 그러나, 'YGeoPoint' 값을 지정할 경우
endMapDraw 이벤트가 발생하지 않습니다.
drawZoomAndCenter() 메소드 호출 시 Waiting 메시지를 보여주고 endMapDraw 이벤트
발생 시 Waiting 메시지를 종료하고 싶은데 어떻게 하면 될까요?
|
http://kr.blog.yahoo.com/gugi_openapi/trackback/12/68
-
거기오픈API 2008.09.09 10:39
-
var des = new YGeoPoint(37.54072795155889, 126.94826602935791);
YEvent.Capture(map, EventsList.endMapDraw,myCallback);
map.drawZoomAndCenter(des , 3);
function myCallback(){
alert("A");
}
와 같이 이벤트 핸들러를 먼저 지정하고 draw하시면 됩니다. 감사합니다.
답글쓰기
-