Skip to main content

flywave-features-datasource.featuredatasourceoptions

Home > @flywave/flywave-features-datasource > FeatureDataSourceOptions

FeatureDataSourceOptions interface

Options for [[FeaturesDataSource]].

Signature:

export interface FeatureDataSourceOptions extends VectorTileDataSourceParameters, GeoJsonDataProviderOptions 

Extends: VectorTileDataSourceParameters, GeoJsonDataProviderOptions

Properties

Property

Modifiers

Type

Description

features?

MapViewFeature[]

(Optional) Initial set of features for new instance of [[FeaturesDataSource]].

Shortcut for calling [[FeaturesDataSource.add]] after construction.

geojson?

FeatureCollection | GeometryCollection | Feature

(Optional) Initial GeoJSON load for new instance of [[FeaturesDataSource]].

Shortcut for calling [[FeaturesDataSource.setFromGeojson]] after construction.

tiler?

ITiler

(Optional)