OptionaldataThe projection code for the projections of the features. If null or empty,
no reprojection will be done. If a valid epsg code is given and if different from
instance.coordinateSystem, each feature will be reprojected before mesh
conversion occurs. Note that reprojection can be somewhat heavy on CPU resources.
OptionalelevationSet the elevation of the features received from the source.
It can be a constant for every feature, or a callback.
The callback version is particularly useful to derive the elevation
from the properties of the feature.
Requires ignoreZ to be false.
The geographic extent of the entity.
OptionalextrusionIf set, this will cause 2D features to be extruded of the corresponding amount. If a single value is given, it will be used for all the vertices of every feature. If an array is given, each extruded vertex will use the corresponding value. If a callback is given, it allows to extrude each feature individually.
OptionalignoreZIf true, the Z-coordinates of geometries will be ignored and set to zero.
OptionallineAn optional material generator for lines.
OptionalmaxThe max level to subdivide the extent and process features.
OptionalminThe min subdivision level to start processing features. Useful for WFS or other untiled servers, to avoid to download the entire dataset when the whole extent is visible.
OptionalnameThe optional display name of this entity. Mostly used for debugging.
Optionalobject3dThe root object of this entity. If none is provided, a new Group is created.
OptionalpointAn optional material generator for points.
OptionalshadedAn optional material generator for shaded surfaces.
The OpenLayers VectorSource providing features to this entity
OptionalstyleAn style or a callback returning a style to style the individual features. If an object is used, the informations it contains will be used to style every feature the same way. If a function is provided, it will be called with the feature. This allows to individually style each feature.
OptionalunshadedAn optional material generator for unshaded surfaces.
Constructor options for the FeatureCollection entity.