VectorTileSource class

ベクター タイル ソースには、ベクター タイル レイヤーにアクセスする方法が記述されています。 ベクター タイル ソースは、 と共に使用できます。SymbolLayer、LineLayer、PolygonLayer、BubbleLayer、HeatmapLayer、VectorTileLayer。

Extends

コンストラクター

VectorTileSource(string, VectorTileSourceOptions)

メソッド

getOptions()

VectorTileSource のオプションを取得します。

getShape(string, Expression)

VectorTileSource 内にあり、指定されたフィルター式を満たすすべての GeoJSON 機能を返します。

継承されたメソッド

getId()

データ ソースの ID を取得します

コンストラクターの詳細

VectorTileSource(string, VectorTileSourceOptions)

new VectorTileSource(id?: string, options?: VectorTileSourceOptions)

パラメーター

id

string

メソッドの詳細

getOptions()

VectorTileSource のオプションを取得します。

function getOptions(): VectorTileSourceOptions

戻り値

getShape(string, Expression)

VectorTileSource 内にあり、指定されたフィルター式を満たすすべての GeoJSON 機能を返します。

function getShape(sourceLayer: string, filter?: Expression): Array<Feature<atlas.data.Geometry, any>>

パラメーター

sourceLayer

string

ソースが VectorTileSource の場合は必須。 クエリを実行する VectorTileSource 内のレイヤーを指定します。

filter
Expression

クエリを制限するフィルター。

戻り値

Array<Feature<Geometry, any>>

継承済みメソッドの詳細

getId()

データ ソースの ID を取得します

function getId(): string

戻り値

string

Source.getIdから継承