Skip to main content

flywave-vectortile-datasource.vectortiledataemitter.processpolygonfeature

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

VectorTileDataEmitter.processPolygonFeature() method

Creates the polygons geometries for the given feature.

Signature:

processPolygonFeature(layer: string, extents: number, geometry: IPolygonGeometry[], context: AttrEvaluationContext, techniques: IndexedTechnique[]): void;

Parameters

Parameter

Type

Description

layer

string

Tile's layer to be processed.

extents

number

Tile's layer extents.

geometry

IPolygonGeometry[]

The current feature containing the main geometry.

context

AttrEvaluationContext

techniques

IndexedTechnique[]

The array of [[Technique]] that will be applied to the geometry.

Returns:



void