Yahoo! UI Library

CHZERO  1.0.0

Yahoo! UI Library > CHZERO > Markers.js (source view)
Search:
 
Filters
/**
 * OpenLayers.Layer.Markers<br/>
 * 
 * @class Markers
 * @extends OpenLayers.Layer
 * @constructor
 * @namespace OpenLayers.Layer
 * @param {String} name 
 * @param {Object} options 레이어 옵션 hashtable
 */
OpenLayers.Layer.Markers = OpenLayers.Class(OpenLayers.Layer,{
	/**
	* markers layer가 base layer이면 true 아니면 false. 디폴트 false.
	* @property isBaseLayer
	* @type {Boolean}
	*/
	isBaseLayer: false,
	/**
	* marker list.
	* @property markers
	* @type {Array(OpenLayers.Marker)}
	*/
	markers: null,
	/**
	* destroy.
	* @method destroy
	*/
	destroy: function(){},
    /**
	* marker들의 불투명도 설정 .
	* @method setOpacity
	* @param {Float} opacity 0~1 불투명 값
	*/
	setOpacity: function(opacity){},
    /**
	* marker 추가.
	* @method addMarker
	* @param {OpenLayers.Marker} marker 
	*/
	addMarker: function(marker){},
    /**
	* marker 제거.
	* @method removeMarker
	* @param {OpenLayers.Marker} marker 
	*/
	removeMarker: function(marker){},
	/**
	* markers 영역 계산해서 반환.
	* @method getDataExtent
	* @return {OpenLayers.Bounds} markers 영역 
	*/
	getDataExtent: function(){}
});

Copyright © 2012 Yahoo! Inc. All rights reserved.