Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description featureClass
module:ol/Feature~FeatureClass <optional>
Class for features returned by
module:ol/format/MVT#readFeatures
. Set tomodule:ol/Feature~Feature
to get full editing and geometry support at the cost of decreased rendering performance. The default ismodule:ol/render/Feature~RenderFeature
, which is optimized for rendering and hit detection.geometryName
string <optional>
'geometry' Geometry name to use when creating features.
layerName
string <optional>
'layer' Name of the feature attribute that holds the layer name.
layers
Array.<string> <optional>
Layers to read features from. If not provided, features will be read from all
idProperty
string <optional>
Optional property that will be assigned as the feature id and removed from the properties. layers.