Class: Bird

ol.particule. Bird

A cloud particule to display clouds over the map


new Bird(options)

Parameters:
Name Type Description
options *
Properties
Name Type Argument Description
overlay ol.Overlay
coordinate ol.pixel

the position of the particule

src string <optional>

bird image src

Extends

Methods


draw(ctx)

Draw the particule

Parameters:
Name Type Description
ctx CanvasRenderingContext2D
Overrides:

getOverlay()

Get the particule overlay

Inherited From:
Overrides:
Returns:
Type
ol.Overlay

getRandomCoord(dt)

Update the particule

Parameters:
Name Type Description
dt number

timelapes since last call

Inherited From:
Overrides:

setOverlay(overl)

Set the particule overlay

Parameters:
Name Type Description
overl ol.Overlay
Inherited From:
Overrides:

update(dt)

Update the particule

Parameters:
Name Type Description
dt number

timelapes since last call

Overrides: