Module

CircleWorldMap

The circle world map widget shows a map where the number of values for each area is represented by colored circles.

Tutorials:
See:

View Source widgets/circleWorldMap.js, line 8

Methods

# setKeys(arr)

Set the keys to show.

Parameters:
Name Type Description
arr Array.<Object>

Object with lat and lon values.

View Source widgets/circleWorldMap.js, line 93

# setMapTypeControl(bool)

Shows the MapType control in the map.

Parameters:
Name Type Description
bool boolean

Enable or disable.

See:

View Source widgets/circleWorldMap.js, line 34

# setMapTypeId(type)

Sets the Google maps type.

Parameters:
Name Type Description
type string

Type of map.

See:

View Source widgets/circleWorldMap.js, line 42

# setPresetStyles(str)

Set styles by presets.

The following values are supported:

  • standard
  • silver
  • retro
  • dark
  • night
  • aubergine
Parameters:
Name Type Description
str string

Style name.

View Source widgets/circleWorldMap.js, line 126

# 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/circleWorldMap.js, line 52

# setScaleControl(bool)

Displays a map scale element.

Parameters:
Name Type Description
bool boolean

Enable or disable.

See:

View Source widgets/circleWorldMap.js, line 62

# 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/circleWorldMap.js, line 73

# setStyles(styles)

Set custom styles.

Parameters:
Name Type Description
styles Array.<Object>

CSS styles properties.

View Source widgets/circleWorldMap.js, line 109

# setValue(value)

Set the column nae with the value.

Parameters:
Name Type Description
value string

Column name.

View Source widgets/circleWorldMap.js, line 100

# 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/circleWorldMap.js, line 84