onmouseup (events)

맵 영역에서 눌러진 마우스 버튼이 올라올 때 발생하는 이벤트입니다.

Syntax

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

Parameters

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

Returns

boolean

Example

var cfg = {
    map : {
        onmouseup: function(ev) {
            console.log("mouseup", ev.id, ev.mapData.properties.name);
        }
    }
}

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