JSLayer
지도 내 객체를 관리하기 위한 API 입니다.
let layerList = new Module.JSLayerList(true);
let layer = layerList.createLayer("Layer Name");Properties
Name
Type
Description
Function
addObject(object, level)
Name
Type
Description
clearWMSCache()
getObjectCount() → number
setWFSBoxRatio(ratio)
Name
Type
Description
findInsideObject(center, range) → string
Name
Type
Description
getObjectKeyList() → string
getObjectsInBoundary(boundary) → object
Name
Type
Description
- NameTypeDescription
setTileObjectInitColor(color) → boolean
Name
Type
Description
setTileObjectColor(objkey, color) → boolean
Name
Type
Description
getTileObjectCenterPosition(objkey) → JSVector3D
Name
Type
Description
setCrsWMS(crs) → boolean
Name
Type
Description
setWFSPointDefaultIcon(icon) → boolean
Name
Type
Description
setWFSPointDefaultHighlightIcon(icon) → boolean
Name
Type
Description
setWFSPointHighlightActive(objkey, active) → boolean
Name
Type
Description
setWFSPointValueIcon(value, icon) → boolean
Name
Type
Description
setWFSPointPositionLine(type) → boolean
Name
Type
Description
setWFSPointBlinkActive(active) → boolean
Name
Type
Description
setWFSPointBlinkOptions(name, color, size, speed) → boolean
Name
Type
Description
setWFSRTT(type) → boolean
Name
Type
Description
getType() → number
indexAtKey(index) → string
Name
Type
Description
indexAtObject(index) → JSObject
Name
Type
Description
keyAtObject(name) → JSObject
Name
Type
Description
containsKey(name) → string
Name
Type
Description
removeAtIndex(index) → boolean
Name
Type
Description
removeAtKey(name) → boolean
Name
Type
Description
removeAtObject(object) → boolean
Name
Type
Description
removeAll() → boolean
setConnectionWFS(url, port, param) → boolean
Name
Type
Description
setConnectionWMS(url, port, param) → boolean
Name
Type
Description
setFontStyle(fontName, fontSize, fontWeight, color, outColor)
Name
Type
Description
setLevelWFS(level)
Name
Type
Description
setLevelWMS(minLevel, maxLevel) → boolean
Name
Type
Description
setLODRatio(ratio)
Name
Type
Description
setProxyRequest(type)
Name
Type
Description
setWFSPointsHeightFromGround(height)
Name
Type
Description
setRecoverHsvValue(hue, saturation, value) → boolean
Name
Type
Description
setRequestFeatureCount(count)
Name
Type
Description
setStylesWMS(style)
Name
Type
Description
setTileAltitudeOffset(offset) → boolean
Name
Type
Description
setTileSizeWMS(size)
Name
Type
Description
setUseRecoverHsv(type) → boolean
Name
Type
Description
setWFSDescField(fieldName) → boolean
Name
Type
Description
setWFSPointName(fieldName)
Name
Type
Description
setLayersWFS(fieldName)
Name
Type
Description
setLayersWMS(fieldName)
Name
Type
Description
setWFSPropertyName(propertyName)
Name
Type
Description
setWFSColor(lineColor, fontSize, fillColor)
Name
Type
Description
setWFSTextColor(lineColor, fillColor)
Name
Type
Description
setWMSProvider(option) → string
Name
Type
Description
setWMSTransparent(transparent)
Name
Type
Description
setWMSVersion(version)
Name
Type
Description
setWMTSProvider(option)
Name
Type
Description
Getter / Setter
getAlpha(), setAlpha(alpha) → number
Name
Type
Description
getBBoxOrder(), setBBoxOrder(type) → boolean
Name
Type
Description
getEditable(), setEditable(edit) → boolean
Name
Type
Description
getMinDistance(), setMinDistance(distance) → number
Name
Type
Description
getMaxDistance(), setMaxDistance(distance) → number
Name
Type
Description
getMaxLevel(), setMaxLevel(level) → number
Name
Type
Description
getMinLevel(), setMinLevel(level) → number
Name
Type
Description
getName(), setName(name) → string
Name
Type
Description
getObjectHorizontal(), setObjectHorizontal(horizontal) → number
Name
Type
Description
getObjectVertical(), setObjectVertical(vertical) → number
Name
Type
Description
setObjectVisibleWithBoundary(minLon, maxLon, minLat, maxLat) → number
Name
Type
Description
setOctreeCullDistanceCheckType(type) → boolean
Name
Type
Description
getSelectable(), setSelectable(type) → boolean
Name
Type
Description
getTimeSeriesCount(), setTimeSeriesCount(step) → number
Name
Type
Description
getTimeSpeed(), setTimeSpeed(speed) → number
Name
Type
Description
getViewLimit(), setViewLimit(tilt) → number
Name
Type
Description
getVisible(), setVisible(type) → boolean
Name
Type
Description
getWMSRequestParam(), setWMSRequestParam(parameter) → string
getWMSVersion(), setWMSVersion(version) → string
getUnion(), setUnion(union) → boolean
setPointCloudRenderModeRGB(offsetR, offsetG, offsetB) → boolean
Name
Type
Description
setPointCloudRenderModeIntensity(min, max, useColor) → boolean
Name
Type
Description
setPointCloudRenderModeAltitude(min, max, useColor) → boolean
Name
Type
Description
setPointCloudPointSize(size) → boolean
Name
Type
Description
getPickInfoAtView(lineFrom, lineTo) → object
Name
Type
Description
Key
Type
Description
getPickInfo(lineFrom, lineTo) → object
Name
Type
Description
Key
Type
Description
setTileLoadCallback(callback) → boolean
Name
Type
Description
addTileInObject(tileInfo, object) → boolean
Name
Type
Description
setTileInObjectEnd(tileInfo) → boolean
Name
Type
Description
setUserTileLoadCallback(callback) → boolean
Name
Type
Description
getObjectHeight(), setObjectHeight(height)
Name
Type
Description
SetPointCloudRenderModeIntensity(intensityMin, intensityMax, colorMode) → boolean
Name
Type
Description
Type Definitions
WMSOptions
Name
Type
Attributes
Default
Description
WMSOptions.SubOptions
Name
Type
Attributes
Default
Description
WMTSOption.Server
Name
Type
Attributes
Default
Description
WMTSOption.User
Name
Type
Attributes
Default
Description
Last updated