The circle world map widget shows a map where the number of values for each area is represented by colored circles.
Methods
# setKeys(arr)
Set the keys to show.
Parameters:
Name | Type | Description |
---|---|---|
arr |
Array.<Object>
|
Object with lat and lon values. |
# setMapTypeControl(bool)
Shows the MapType control in the map.
Parameters:
Name | Type | Description |
---|---|---|
bool |
boolean
|
Enable or disable. |
# setMapTypeId(type)
Sets the Google maps type.
Parameters:
Name | Type | Description |
---|---|---|
type |
string
|
Type of map. |
# 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. |
# setRotateControl(bool)
Displays a small circular icon which allows you to rotate maps.
Parameters:
Name | Type | Description |
---|---|---|
bool |
boolean
|
Enable or disable. |
# setScaleControl(bool)
Displays a map scale element.
Parameters:
Name | Type | Description |
---|---|---|
bool |
boolean
|
Enable or disable. |
# 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. |
# setStyles(styles)
Set custom styles.
Parameters:
Name | Type | Description |
---|---|---|
styles |
Array.<Object>
|
CSS styles properties. |
# setValue(value)
Set the column nae with the value.
Parameters:
Name | Type | Description |
---|---|---|
value |
string
|
Column name. |
# setZoomControl(bool)
Displays a slider or "+/-" buttons to control the zoom level of the map.
Parameters:
Name | Type | Description |
---|---|---|
bool |
boolean
|
Enable or disable. |