Type Alias: FeatureSource<G, P>
FeatureSource<
G,P> =GeoJSONSourceSpecification&object
Defined in: packages/sdvplot/src/maplibre.ts:83
A GeoJSON source holding a feature collection: map.addSource(id, source).
Type Declaration
data
data:
object
data.features
features:
Feature<G,P>[]
data.type
type:
"FeatureCollection"
type
type:
"geojson"
Type Parameters
G
G
P
P