flywave-vectortile-datasource.vectortiledatasource
Home > @flywave/flywave-vectortile-datasource > VectorTileDataSource
VectorTileDataSource class
VectorTileDataSource is used for the visualization of vector tiles.
Signature:
export declare class VectorTileDataSource extends TileDataSource
Extends: TileDataSource
Example
const dataSource = new VectorTileDataSource({
baseUrl: "https://vector.hereapi.com/v2/vectortiles/base/mc",
authenticationCode: apikey
});
mapView.addDataSource(dataSource);
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
number |
Methods
Method | Modifiers | Description |
|---|---|---|
Remove the current data filter. Will be applied to the decoder, which might be shared with other omv datasources. | ||
Set a new data filter. Can also be done during the creation of an VectorTileDataSource. Will be applied to the decoder, which might be shared with other omv datasources. | ||