Class: Ripple

ol.interaction. Ripple


new Ripple(options)

Parameters:
Name Type Description
options *
Properties
Name Type Description
layer ol/layer/Layer

layer to animate

radius number

raindrop radius

interval number

raindrop interval (in ms), default 1000

Extends

  • ol.interaction.Pointer

Methods


postcompose_()

Postcompose function


rainDrop(e)

Disturb water at specified point

Parameters:
Name Type Description
e ol.Pixel | ol.MapBrowserEvent

rains(interval)

Generate random rain drop

Parameters:
Name Type Description
interval integer