Class: uGisWCSLayer

ugmp.layer.uGisWCSLayer

new ugmp.layer.uGisWCSLayer(opt_options)

WCS 레이어 객체.

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

Name Type Description
opt_options Object
Name Type Description
useProxy Boolean

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

serviceURL String

WCS 서비스 URL.

format String

이미지 포맷. Default is image/jpeg.

version String

WCS 버전. Default is 1.1.1.

identifier String

레이어 아이디.

boundingBox Array

boundingBox. ※EPSG:4326.

useScaleRefresh Boolean

이미지 해상도 자동 새로고침 사용 여부. Default is false.

Example
var ugWcsLayer = new ugmp.layer.uGisWCSLayer( {
	useProxy : false,
	serviceURL : 'http://mapstudio.uitgis.com/ms/wcs?KEY=key',
	format : 'image/jpeg',
	version : '2.0.1',
	identifier : 'LAYER_ID',
	boundingBox : [...],
	useScaleRefresh : false
} );

Extends

Methods

레이어를 destroy한다.

getBoundingBox(){Array.<Double>}

BoundingBox를 가져온다.

Returns:
BoundingBox BoundingBox.

레이어 키를 가져온다.

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 상태.

inherited setLayerVisible(visible){Object}

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

Name Type Description
visible Boolean

레이어 visible 상태.

Returns:
각 항목별 visible 상태.

setMap(olMap, load)

Map을 설정한다. 해당 Map을 통해 Coverage의 BOUNDINGBOX를 갱신한다.

Name Type Description
olMap ol.Map
load function

로드 함수.

레이어의 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 상태.

setUseGetFeature(state)

GetFeature 사용 여부를 설정한다.

Name Type Description
state Boolean

GetFeature 사용 여부.

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