跳到主要内容

flywave-vectortile-datasource.decodeinfo

Home > @flywave/flywave-vectortile-datasource > DecodeInfo

DecodeInfo class

Signature:

export declare class DecodeInfo 

Constructors

Constructor

Modifiers

Description

(constructor)(targetProjection, tileKey, storageLevelOffset)

Constructs a new [[DecodeInfo]].

Properties

Property

Modifiers

Type

Description

center

readonly

THREE.Vector3

The center of the Tile in the target [[Projection]] space. Geometries generated by decoding the OMV tile must be relative to this position.

columnCount

readonly

number

The maximum number of columns.

geoBox

readonly

GeoBox

The [[GeoBox]] of the Tile to decode.

projectedBoundingBox

readonly

OrientedBox3

rowCount

readonly

number

The maximum number of rows.

sourceProjection

readonly

Projection

The [[Projection]] of OMV tiled data, currenly it is defined to be [[webMercatorProjection]].

storageLevelOffset

readonly

number

targetProjection

readonly

Projection

tileBounds

readonly

THREE.Box3

The tile bounds in the OMV tile space [[webMercatorTilingScheme]].

tileKey

readonly

TileKey

tileSize

readonly

THREE.Vector3

The tile size in the OMV tile space [[webMercatorTilingScheme]].

tileSizeOnScreen

readonly

number

Estimated tile size in pixels.

tilingScheme

readonly

TilingScheme

The [[TilingScheme]] of the OMV data, currenly it is defined to be [[webMercatorTilingScheme]].