# Class: RenderFeature

This documentation is for OpenLayers v10.9.0. The latest is v.

## ol/render/Feature~RenderFeature

Lightweight, read-only, `Feature` and `Geometry` like structure, optimized for vector tile rendering and styling. Geometry access through the API is limited to getting the type and extent of the geometry.

### Methods

#### get(key){*}

render/Feature.js, line 143

  Get a feature property by its key.

  Name | Type | Description
  --- | --- | ---
  `key` | string | Key

  ##### Returns:

  Value for the requested key.

#### getExtent(){Extent}

render/Feature.js, line 152

  Get the extent of this feature's geometry.

  ##### Returns:

  Extent.

#### getGeometry(){RenderFeature}

render/Feature.js, line 272

  For API compatibility with `Feature`, this method is useful when determining the geometry type in style function (see `#getType`).

  ##### Returns:

  Feature.

#### getId(){number | string | undefined}

render/Feature.js, line 255

  Get the feature identifier. This is a stable identifier for the feature and is set when reading data from a remote source.

  ##### Returns:

  Id.

#### getProperties(){Object.<string, *>}

render/Feature.js, line 299

  Get the feature properties.

  ##### Returns:

  Feature properties.

#### getType(){Type}

render/Feature.js, line 331

  Get the type of this feature's geometry.

  ##### Returns:

  Geometry type.