Reference documentation and code samples for the Google Cloud Chronicle V1 Client class GoogleMapsConfig.
Google Maps config for a chart if chart type is map.
Generated from protobuf message google.cloud.chronicle.v1.DashboardChart.Visualization.GoogleMapsConfig
Namespace
Google \ Cloud \ Chronicle \ V1 \ DashboardChart \ VisualizationMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ data_settings |
GoogleMapsConfig\DataSettings
Optional. Data settings for the map. |
↳ plot_mode |
int
Optional. Plot mode for the map. This is used to determine whether to show points, heatmap or both. |
↳ map_position |
GoogleMapsConfig\MapPosition
Optional. Map position settings for the map. |
↳ point_settings |
GoogleMapsConfig\PointSettings
Optional. Point settings for the map. |
getDataSettings
Optional. Data settings for the map.
| Returns | |
|---|---|
| Type | Description |
GoogleMapsConfig\DataSettings|null |
|
hasDataSettings
clearDataSettings
setDataSettings
Optional. Data settings for the map.
| Parameter | |
|---|---|
| Name | Description |
var |
GoogleMapsConfig\DataSettings
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPlotMode
Optional. Plot mode for the map. This is used to determine whether to show points, heatmap or both.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type PlotMode. |
setPlotMode
Optional. Plot mode for the map. This is used to determine whether to show points, heatmap or both.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type PlotMode. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMapPosition
Optional. Map position settings for the map.
| Returns | |
|---|---|
| Type | Description |
GoogleMapsConfig\MapPosition|null |
|
hasMapPosition
clearMapPosition
setMapPosition
Optional. Map position settings for the map.
| Parameter | |
|---|---|
| Name | Description |
var |
GoogleMapsConfig\MapPosition
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPointSettings
Optional. Point settings for the map.
| Returns | |
|---|---|
| Type | Description |
GoogleMapsConfig\PointSettings|null |
|
hasPointSettings
clearPointSettings
setPointSettings
Optional. Point settings for the map.
| Parameter | |
|---|---|
| Name | Description |
var |
GoogleMapsConfig\PointSettings
|
| Returns | |
|---|---|
| Type | Description |
$this |
|