Class: Bounce

Bounce

Bounce animation:


new Bounce(options)

Parameters:
Name Type Description
options ol.featureAnimationBounceOptions
Properties
Name Type Description
bounce Integer

number of bounce, default 3

amplitude Integer

bounce amplitude,default 40

easing ol.easing

easing used for decaying amplitude, use function(){return 0} for no decay, default ol.easing.linear

duration Integer

duration in ms, default 1000

Extends

Methods


animate(e)

Animate

Parameters:
Name Type Description
e ol.featureAnimationEvent
Overrides: