The type of the properties of the feature. Use this parameter if you know the shape of features ahead of time. Note that this parameter should be some kind of object (not an array or primitive type).
OptionalgeometryGeometry of the feature. Also specify the projection if geometry is set.
Identifier for the feature object. Must be unique within all features of one source/layer.
If your source cannot provide a useful id on its own, another strategy to generate unique ids is to generate a UUID instead.
OptionalprojectionThe projection of the geometry.
OptionalpropertiesProperties of the feature.
OptionalstyleAdditional style information for displaying the feature on the map.
Base interface for all feature objects with geometry and / or attribute information.