Class: uGisControlManager

ugmp.manager.uGisControlManager

new ugmp.manager.uGisControlManager(opt_options)

지도상에서 마우스와 상호작용하는 컨트롤을 관리하는 객체.

Name Type Description
opt_options Object
Name Type Description
uGisMap ugmp.uGisMap

ugmp.uGisMap 객체.

Example
var ugControlManager = new ugmp.manager.uGisControlManager( {
	uGisMap : new ugmp.uGisMap({...}),
	controls : [ new ugmp.control.uGisDragPan({...}), new ugmp.control.uGisDrawFeature({...}) ]
} );

Methods

컨트롤 객체를 추가한다.

-컨트롤은 키로 관리한다.

Name Type Description
uGisControl ugmp.control

ugmp.control 객체.

컨트롤 키에 해당하는 컨트롤 객체를 가져온다.

Name Type Description
controlKey String

컨트롤 키.

Returns:
uGisControl ugmp.control 객체.