---
title: "SVGAnimatedLength | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface SVGAnimatedLength

The **`SVGAnimatedLength`** interface represents attributes of type which can be animated.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength)

interface SVGAnimatedLength {  
    [animVal](#animval): [SVGLength](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGLength/);  
    [baseVal](#baseval): [SVGLength](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGLength/);  
}

##### Index

### Properties[](#properties)

[animVal](#animval) [baseVal](#baseval)

## Properties[](#properties-1)

### `Readonly`animVal[](#animval)

animVal: [SVGLength](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGLength/)

The **`animVal`** property of the SVGAnimatedLength interface contains the current value of an SVG enumeration. If there is no animation, it is the same value as the baseVal.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/animVal)

### `Readonly`baseVal[](#baseval)

baseVal: [SVGLength](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGLength/)

The **`baseVal`** property of the SVGAnimatedLength interface contains the initial value of an SVG enumeration.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/baseVal)
