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