Class: Heatmap

cercalia.Heatmap


Extends

Methods

destroy()

src/cercalia/heatmap.js, line 189

Elimina el objeto junto a todos sus atributos

getBlur(){number}

src/cercalia/heatmap.js, line 307

Get the blur of the layer.

Returns:
Blur

getClass(){string} inherited

src/cercalia/object.js, line 41
Returns:
Get Class name of object

getGradient(){Array.<string>}

src/cercalia/heatmap.js, line 269

Get the gradient of the layer.

Returns:
The gradient of the layer.

getId(){string} inherited

src/cercalia/object.js, line 33
Returns:
Unique Id.

getLayer(){ol.layer.Heatmap}

src/cercalia/heatmap.js, line 211
Returns:
WMS Source. Objeto OL3 ol.layer.Tile

getMap(){cercalia.Map|null}

src/cercalia/heatmap.js, line 180
Returns:
map Mapa si es que la capa WMS esta pintada en un mapa. Sino, devuelve null

getOpacity(){number}

src/cercalia/heatmap.js, line 288

Get the opacity of the layer.

Returns:
Opacity Values in 0 to 1.

getRadius(){number}

src/cercalia/heatmap.js, line 221

Get the radius of the layer.

Returns:
Radius in meters

getSource(){ol.source.Vector}

src/cercalia/heatmap.js, line 203
Returns:
WMS Source. Objeto OL3 ol.source.TileWMS

getVisible(){boolean}

src/cercalia/heatmap.js, line 251

Get the visibility of the layer.

Returns:
true if layer is visible. Else false.

setBlur(blur)

src/cercalia/heatmap.js, line 316

Set the blur of the layer.

Name Type Description
blur number

The blur of the layer.

setGradient(gradient)

src/cercalia/heatmap.js, line 278

Set the gradient of the layer.

Name Type Description
gradient Array.<string>

The gradient of the layer.

setOpacity(opacity)

src/cercalia/heatmap.js, line 297

Set the opacity of the layer.

Name Type Description
opacity number

The opacity of the layer.

setRadius(radius)

src/cercalia/heatmap.js, line 230

Set the radius of the layer.

Name Type Description
radius number

The radius of the layer.

setVisible(visibility)

src/cercalia/heatmap.js, line 260

Set the visibility of the layer.

Name Type Description
visibility boolean

Set the visibility of the layer (true or false)