---
title: Interface: IAnimateFillLayerOptions
source: https://vjmap.com/en/doc/Interface_IAnimateFillLayerOptions.html
---

# Interface: IAnimateFillLayerOptions

### Hierarchy

- *Omit*<[*PolygonOptions*](#interfacesdefaultpolygonoptionsmd), ``"data"``\>

  ↳ **IAnimateFillLayerOptions**

### Table of contents

#### Properties

- [animateImages](#animateimages)
- [fillAntialias](#fillantialias)
- [fillColor](#fillcolor)
- [fillOpacity](#fillopacity)
- [fillOutlineColor](#filloutlinecolor)
- [fillPattern](#fillpattern)
- [fillSortKey](#fillsortkey)
- [fillTranslate](#filltranslate)
- [fillTranslateAnchor](#filltranslateanchor)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerBefore](#layerbefore)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [speed](#speed)
- [startAutoAnimation](#startautoanimation)
- [visibility](#visibility)

### Properties

#### animateImages

• `Optional` **animateImages**: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]

动画图集.

___

#### fillAntialias

• `Optional` **fillAntialias**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.fillAntialias

___

#### fillColor

• `Optional` **fillColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillColor

___

#### fillOpacity

• `Optional` **fillOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillOpacity

___

#### fillOutlineColor

• `Optional` **fillOutlineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillOutlineColor

___

#### fillPattern

• `Optional` **fillPattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillPattern

___

#### fillSortKey

• `Optional` **fillSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillSortKey

___

#### fillTranslate

• `Optional` **fillTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: Omit.fillTranslate

___

#### fillTranslateAnchor

• `Optional` **fillTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.fillTranslateAnchor

___

#### filter

• `Optional` **filter**: *any*

Inherited from: Omit.filter

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: Omit.isHoverFeatureState

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: Omit.isHoverPointer

___

#### layerBefore

• `Optional` **layerBefore**: *string*

创建的图层位于哪个图层之前.

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: Omit.layerId

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: Omit.maxzoom

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: Omit.minzoom

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: Omit.sourceId

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: Omit.sourceLayer

___

#### speed

• `Optional` **speed**: *number*

速度，默认1.

___

#### startAutoAnimation

• `Optional` **startAutoAnimation**: *boolean*

开始时自动动画，默认true.

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: Omit.visibility


<a name="interfacesianimatelinelayeroptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / IAnimateLineLayerOptions
