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).
Optional
geometryGeometry 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.
Optional
projectionThe projection of the geometry.
Optional
propertiesProperties of the feature.
Optional
styleAdditional style information for displaying the feature on the map.
Base interface for all feature objects with geometry and / or attribute information.