Yahoo! UI Library

CHZERO  1.0.0

Yahoo! UI Library > CHZERO > OpenLayers.Layer.Markers
Search:
 
Filters

Class OpenLayers.Layer.Markers - extends OpenLayers.Layer

Known Subclasses:
CHZERO.Layer.ZeroMapMarkers
OpenLayers.Layer.Markers

Constructor

OpenLayers.Layer.Markers ( name , options )
Parameters:
name <String>
options <Object> 레이어 옵션 hashtable

Properties

isBaseLayer - {Boolean}

markers layer가 base layer이면 true 아니면 false. 디폴트 false.

markers - {Array(OpenLayers.Marker)}

marker list.

Methods

addMarker

void addMarker ( marker )
marker 추가.
Parameters:
marker <OpenLayers.Marker>

destroy

void destroy ( )
destroy.

getDataExtent

OpenLayers.Bounds getDataExtent ( )
markers 영역 계산해서 반환.
Returns: OpenLayers.Bounds
markers 영역

removeMarker

void removeMarker ( marker )
marker 제거.
Parameters:
marker <OpenLayers.Marker>

setOpacity

void setOpacity ( opacity )
marker들의 불투명도 설정 .
Parameters:
opacity <Float> 0~1 불투명 값


Copyright © 2012 Yahoo! Inc. All rights reserved.