Skip to main content

flywave-vectortile-datasource.vectortiledataemitter

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

VectorTileDataEmitter class

Signature:

export declare class VectorTileDataEmitter 

Constructors

Constructor

Modifiers

Description

(constructor)(m_decodeInfo, m_styleSetEvaluator, m_options)

Constructs a new instance of the VectorTileDataEmitter class

Properties

Property

Modifiers

Type

Description

center

readonly

THREE.Vector3

projection

readonly

import("@flywave/flywave-geoutils").Projection

Methods

Method

Modifiers

Description

getDecodedTile()

Creates the geometries that belongs to the [[Tile].

processLineFeature(layer, extents, geometry, context, techniques)

Creates the line geometries for the given feature.

processPointFeature(layer, extents, geometry, context, techniques)

Creates the Point of Interest geometries for the given feature.

processPolygonFeature(layer, extents, geometry, context, techniques)

Creates the polygons geometries for the given feature.

splitJaggyLines(lines, minEstimatedLabelLengthSqr, maxCornerAngle)

protected

Split the lines array into multiple parts if there are sharp corners. Reject parts that are too short to display the label text.