Yahoo! UI Library

CHZERO  1.0.0

Yahoo! UI Library > CHZERO > Measure.js (source view)
Search:
 
Filters
/**
 * OpenLayers.Control.Measure<br/>
 * 드래그하여 지도를 확대하는 control
 * @class Measure
 * @extends OpenLayers.Control
 * @constructor
 * @namespace OpenLayers.Control
 * @param {OpenLayers.Handler} handler
 * @param {Object} options 옵션 hashtable
 */
OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, {
	/**
	* 이벤트 타입<BR/>
	* 아래와 같이 이벤트 리스너를 등록하면 된다.<BR/>
	* control.events.register(type, obj, listener); <BR/>
	* control.events.unregister(type, obj, listener); <BR/>
	* 또는<BR/>
	* control.events.on({type:listener,"scope":obj});<BR/>
	* control.events.un({type:listener,"scope":obj});<BR/>
	* 지원하는 이벤트 타입
	* measure - 측정이 완료됐을 때 발생<BR/>
	* measurepartial - 새로운 포인트가 추가 되거나 수정 되면 발생<BR/>
	* @property EVENT_TYPES
	* @final
	* @type {Array(String)}
	*/
	EVENT_TYPES: ["measure", "measurepartial"],
	/**
	* @property handlerOptions
	* @type {Object}
	*/
	handlerOptions: null,
	/**
	* @property persist
	* @type {Boolean}
	*/
	persist: false,
	/**
	* 디폴트 false.
	* @property immediate
	* @type {Boolean}
	*/
	immediate: false,
	/**
	* @method cancel
	**/
	cancel: function(){},
	/**
	* @method setImmediate
	* @param {Boolean} immediate
	**/
	setImmediate: function(immediate){}

});

Copyright © 2012 Yahoo! Inc. All rights reserved.