Class: uGisVector3DLayer

ugmp.layer.uGisVector3DLayer

new ugmp.layer.uGisVector3DLayer(opt_options)

Vector3D 레이어 객체.

벡터데이터를 3D로 표현할 수 있는 레이어 객체.

※도형의 Z값으로 렌더링하는 것은 아니며, 해당 피처의 높이 값 컬럼 설정을 통해 건물의 대략적인 높이만 표현할 수 있다.

Name Type Description
opt_options Object
Name Type Description
srsName String

좌표계. Default is EPSG:3857.

features Array.<ol.Feature> | ol.Collection

피처.

style ol.style.Style

스타일.

initBuild Boolean

초기 3D 렌더링 사용 여부.

labelColumn String

피처에 표시할 라벨 컬럼명.

heightColumn String

피처의 높이를 참조할 컬럼명.

maxResolution Number

3D 렌더링 최대 Resolution. Default is 0.6.

Example
var ugVector3DLayer = new ugmp.layer.uGisVector3DLayer( {
	srsName :'EPSG:3857',
	features : [ new ol.Feature( {
	 	geometry : new ol.geom.Polygon({...})
	} ) ],
	style : new ol.style.Style({...})
} );

Extends

Members

addFeatures

레이어에 Feature를 추가한다.

clear

레이어의 Feature를 지운다.

getFeatures

레이어의 Feature 리스트를 가져온다.

getRender3D

uGisRender3D 객체를 가져온다.

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

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 상태를 토글한다.