Class: uGisWMSLayer

ugmp.layer.uGisWMSLayer

new ugmp.layer.uGisWMSLayer(opt_options)

WMS 레이어 객체.

WMS 서비스를 표현할 수 있는 레이어 객체.

Name Type Description
opt_options Object
Name Type Description
useProxy Boolean

프록시 사용 여부. Default is false.

serviceURL String

WMS 서비스 URL.

wfsServiceURL String

WFS 서비스 URL (GetFeature).

singleTile Boolean

싱글 타일 설정. Default is false.

ogcParams Object

WMS OGC 표준 속성.

Example
var ugWmsLayer = new ugmp.layer.uGisWMSLayer( {
	useProxy : false,
	singleTile : false,
	serviceURL : 'http://mapstudio.uitgis.com/ms/wms?KEY=key',
	ogcParams : {
		LAYERS : 'ROOT',
		CRS : ugMap.getCRS(),
		VERSION : '1.3.0';
		...
	}
} );

Extends

Methods

레이어를 destroy한다.

레이어 키를 가져온다.

Returns:
layerKey 레이어 키.

레이어 타입을 가져온다.

Returns:
layerType 레이어 타입.

레이어의 MaxZoom 값을 가져온다.

Returns:
maxZoom MaxZoom 값.

레이어의 MinZoom 값을 가져온다.

Returns:
minZoom MinZoom 값.

OpenLayers의 ol.layer 객체를 가져온다.

Returns:
olLayer OpenLayers의 ol.layer 객체

서비스 URL을 가져온다.

Returns:
serviceURL 서비스 URL.

inherited getUseGetFeature(){Boolean}

GetFeature 사용 여부를 가져온다.

Returns:
useGetFeature GetFeature 사용 여부.

레이어 visible 상태를 가져온다.

  1. 오픈레이어스 레이어 상태

  2. 레이어 visible상태

  3. TOC visible 상태

  4. 스케일 visible 상태

모든 항목의 visible 상태가 true일 경우에만 true.

Returns:
visible visible 상태.

getWFSServiceURL(){String}

WFS 서비스 URL을 가져온다.

Returns:
wfsServiceURL WFS 서비스 URL.

inherited setLayerVisible(visible){Object}

레이어 visible 상태를 설정한다.

Name Type Description
visible Boolean

레이어 visible 상태.

Returns:
각 항목별 visible 상태.

레이어의 MaxZoom을 설정한다.

Name Type Description
maxZoom Integer

MaxZoom 값.

레이어의 MinZoom을 설정한다.

Name Type Description
minZoom Integer

MinZoom 값.

inherited setScaleVisible(visible){Object}

스케일 visible 상태를 설정한다.

Name Type Description
visible Boolean

스케일 visible 상태.

Returns:
각 항목별 visible 상태.

inherited setTocVisible(visible){Object}

TOC visible 상태를 설정한다.

Name Type Description
visible Boolean

TOC visible 상태.

Returns:
각 항목별 visible 상태.

GetFeature 사용 여부를 설정한다.

Name Type Description
state Boolean

GetFeature 사용 여부.

레이어 visible 상태를 토글한다.