Helps to highlight features on the map by adding an animated style around the features.

Constructors

Methods

  • Parameters

    • values: number[]

      With [radius, opacity, offset] expected.

    • color: number[]

      stroke color of flash animation

    Returns Style

    A new "flash" style object based on the given values.

  • Parameters

    • frameStateTime: number
    • duration: number

    Returns number[]

    Based on the given frameStateTime, a duration and a easeOut function (quick to slow), returns values: from [radius=5, opacity=1, offset=0] to [radius=30, opacity=0, offset=48]