MVFv3 API Documentation
Preparing search index...
@mappedin/mvf-core
core/geojson
FeatureCollection
Function FeatureCollection
FeatureCollection
<
G
extends
TSchema
,
P
extends
TSchema
,
F
extends
FeatureLike
<
G
,
P
>
,
>
(
feature
:
F
,
options
?:
ObjectOptions
,
arrayOptions
?:
ArrayOptions
,
)
:
TObject
<
{
features
:
TArray
<
F
>
;
type
:
TLiteral
<
"FeatureCollection"
>
}
>
A utility type to create an RFC-7946 compatible GeoJSON FeatureCollection object.
Type Parameters
G
extends
TSchema
P
extends
TSchema
F
extends
FeatureLike
<
G
,
P
>
Parameters
feature
:
F
Optional
options
:
ObjectOptions
Optional
arrayOptions
:
ArrayOptions
Returns
TObject
<
{
features
:
TArray
<
F
>
;
type
:
TLiteral
<
"FeatureCollection"
>
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
MVFv3 API Documentation
Loading...
A utility type to create an RFC-7946 compatible GeoJSON FeatureCollection object.