Module

AnimatedHeatmap

This chart displays data animated over time, represented as heat points and geolocated on a world map using coordinates (latitude and longitude). The higher the values the brighter the color and bigger the area of the heat points.

Tutorials:
See:

View Source widgets/animatedHeatMap.js, line 8

Methods

# setCenter(center)

Set the initial map center.

Parameters:
Name Type Description
center object
lat number

Latitude value.

lng number

Longitude value.

View Source widgets/animatedHeatMap.js, line 145

# setDataOperation(operation)

Set the operation to apply to the data.

The following values are supported:

  • none: No operation to apply.
  • log: Logarithmic operation.
  • arc: Arctangent operation.
Parameters:
Name Type Description
operation string

Operation name.

View Source widgets/animatedHeatMap.js, line 157

# setDissipating(dissipating)

Specifies whether heatmaps dissipate on zoom.

Parameters:
Name Type Description
dissipating boolean

Enable or disable.

See:

View Source widgets/animatedHeatMap.js, line 86

# setGradient(gradient)

Set the color gradient of the heatmap.

One of the following numbers:

  • 0: 'Default'.
  • 1: 'Artic'.
  • 2: 'Boreal'.
  • 3 'Bruise'.
  • 4 'Sunset'.
  • 5 'Antartic'.
  • 6 'Sky Burst'.
  • 7 'Rioja Lightning'.
  • 8 'Kamehameha'.
  • 9 'Alien'.
  • 10 'Rainbow'.
Parameters:
Name Type Description
gradient number

Number of gradient.

View Source widgets/animatedHeatMap.js, line 106

# setKeys(arr)

Set the keys to show.

Parameters:
Name Type Description
arr Array.<Object>

Object with lat and lon values.

View Source widgets/animatedHeatMap.js, line 207

# setMapTypeControl(bool)

Shows the MapType control in the map.

Parameters:
Name Type Description
bool boolean

Enable or disable.

See:

View Source widgets/animatedHeatMap.js, line 36

# setMapTypeControlOptions(options)

Set the default options for map controls.

Parameters:
Name Type Description
options object

Show Google documentation.

See:

View Source widgets/animatedHeatMap.js, line 180

# setMapTypeId(type)

Sets the Google maps type.

Parameters:
Name Type Description
type string

Type of map.

See:

View Source widgets/animatedHeatMap.js, line 44

# setOpacity(opacity)

Set the opacity of the heatmap.

Parameters:
Name Type Description
opacity number

Number between 0 and 1.

See:

View Source widgets/animatedHeatMap.js, line 122

# setPeriodDelay(number)

Set the period delay for the animation.

Parameters:
Name Type Description
number number

Time in milliseconds.

Default Value:
  • 500

View Source widgets/animatedHeatMap.js, line 172

# setRadius(radius)

Set the radius of influence for each data point.

Parameters:
Name Type Description
radius number

Number in pixels.

See:

View Source widgets/animatedHeatMap.js, line 114

# setRotateControl(bool)

Displays a small circular icon which allows you to rotate maps.

Parameters:
Name Type Description
bool boolean

Enable or disable.

See:

View Source widgets/animatedHeatMap.js, line 52

# setScaleControl(bool)

Displays a map scale element.

Parameters:
Name Type Description
bool boolean

Enable or disable.

See:

View Source widgets/animatedHeatMap.js, line 60

# setScrollwheel(bool)

Set the zooming on the map using a mouse scroll wheel.

Parameters:
Name Type Description
bool boolean

Enable or disable.

View Source widgets/animatedHeatMap.js, line 164

# setStreetViewControl(bool)

Displays a Pegman icon which can be dragged to the map to enable Street View.

Parameters:
Name Type Description
bool boolean

Enable or disable.

See:

View Source widgets/animatedHeatMap.js, line 69

# setStreetViewControlOptions(options)

Set the default options for the rendering of the Street View pegman control on the map.

Parameters:
Name Type Description
options object

Show Google documentation.

See:

View Source widgets/animatedHeatMap.js, line 199

# setStyles(styles)

Set custom styles.

Parameters:
Name Type Description
styles Array.<Object>

CSS styles properties.

View Source widgets/animatedHeatMap.js, line 129

# setValue(value)

Set the column nae with the value.

Parameters:
Name Type Description
value string

Column name.

View Source widgets/animatedHeatMap.js, line 214

# setZoom(zoom)

Set the default value for zoom.

Parameters:
Name Type Description
zoom number

Zoom value.

View Source widgets/animatedHeatMap.js, line 136

# setZoomControl(bool)

Displays a slider or "+/-" buttons to control the zoom level of the map.

Parameters:
Name Type Description
bool boolean

Enable or disable.

See:

View Source widgets/animatedHeatMap.js, line 78

# setZoomControlOptions(options)

Set the display options for the zoom control.

Parameters:
Name Type Description
options object

Show Google documentation.

See:

View Source widgets/animatedHeatMap.js, line 189