OpenLayers v4.0.1 API - Class: Feature

# Class: Feature

This documentation is for OpenLayers v4.0.1. The latest is v.

## ol.format.Feature

Abstract base class; normally only used for creating subclasses and not instantiated in apps. Base class for feature formats. {ol.format.Feature} subclasses provide the ability to decode and encode `ol.Feature` objects from a variety of commonly used geospatial file formats. See the documentation for each format for more details.

#### new ol.format.Feature()

src/ol/format/feature.js, line 21

### Subclasses

- ol.format.JSONFeature
- ol.format.MVT
- ol.format.TextFeature
- ol.format.XMLFeature