Module: ol/format/MVT

ol/format/MVT


Classes

MVT

Type Definitions

Options{Object}

Properties:
Name Type Description
featureClass FeatureToFeatureClass<FeatureType> | undefined

Class for features returned by readFeatures. Set to Feature to get full editing and geometry support at the cost of decreased rendering performance. The default is RenderFeature, which is optimized for rendering and hit detection.

geometryName string
(defaults to 'geometry')

Geometry name to use when creating features.

layerName string
(defaults to 'layer')

Name of the feature attribute that holds the layer name.

layers Array.<string> | undefined

Layers to read features from. If not provided, features will be read from all

idProperty string | undefined

Optional property that will be assigned as the feature id and removed from the properties. layers.