跳到主要内容

flywave-vectortile-datasource.vectortiledatasourceparameters

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

VectorTileDataSourceParameters interface

Signature:

export interface VectorTileDataSourceParameters extends DataSourceOptions, Omit<TileDataSourceOptions, "dataProvider" | "tilingScheme"> 

Extends: DataSourceOptions, Omit<TileDataSourceOptions, "dataProvider" | "tilingScheme">

Properties

Property

Modifiers

Type

Description

addGroundPlane?

boolean

(Optional) Indicates whether to add a ground plane to cover the tile completely.

createTileInfo?

boolean

(Optional)

dataProvider?

DataProvider

(Optional) Optionally specify the DataProvider that should be used.

enableElevationOverlay?

boolean

(Optional) Indicates whether overlay on elevation is enabled. Defaults to false.

featureModifierId?

FeatureModifierId

(Optional) Identifier used to choose [[OmvFeatureModifier]]s to be applied.

filterDescr?

OmvFeatureFilterDescription

(Optional) A description for the feature filter that can be safely passed down to the web workers.

gatherFeatureAttributes?

boolean

(Optional) Gather feature attributes from OmvData. Defaults to false.

gatherFeatureIds?

boolean

(Optional) Gather feature IDs from OmvData. Defaults to false.

gatherRoadSegments?

boolean

(Optional)

politicalView?

string

(Optional) Expresses specific country point of view that is used when rendering disputed features, like borders, names, etc. If undefined "defacto" or most widely accepted political view will be presented.

roundUpCoordinatesIfNeeded?

boolean

(Optional) Indicates whether the decoder is allowed to adjust the coordinates to avoid possible glitches at the 180th meridian.

showMissingTechniques?

boolean

(Optional) If set to true, features that have no technique in the theme will be printed to the console (can be excessive!).

skipShortLabels?

boolean

(Optional) If not set to false, very short text labels will be skipped during decoding based on a heuristic.

tileFactory?

TileFactory<Tile>

(Optional) Optional, custom factory for Tile instances created by this VectorTileDataSource.