ondrillupstart (events)

드릴업 처리 시작 시점에 발생하는 이벤트입니다.
이벤트 객체 속성 중 id, mapData, data 는 index 가 0보다 큰 경우에만 전달됩니다.

Syntax

IBMapCharts.create(
    {
        map : {
            ondrillupstart : function(ev){
                
            }
        }
    }
)

Parameters

Name Type Description
id string 대상 맵 영역의 id
mapData object 대상 맵 영역의 geojson 데이터 객체
data object 대상 맵 영역의 데이터 객체
index number 드릴다운 index

Returns

boolean

Example

var cfg = {
    map : {
        ondrillupstart: function(ev) {
            console.log("drillupstart", ev.index);
        }
    }
}

IBMapCharts.create({
    elem : "container",
    cfg : cfg
});