Class: Ripple

ol.interaction. Ripple


new Ripple(flashlight)

Parameters:
Name Type Description
flashlight ol.flashlight.options

options param - color {ol.Color} light color, default transparent - fill {ol.Color} fill color, default rgba(0,0,0,0.8) - radius {number} radius of the flash

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

setMap()

Set the map > start postcompose