Reference documentation and code samples for the Google Cloud Chronicle V1 Client class MapPosition.
Map position settings for the map.
Generated from protobuf message google.cloud.chronicle.v1.DashboardChart.Visualization.GoogleMapsConfig.MapPosition
Namespace
Google \ Cloud \ Chronicle \ V1 \ DashboardChart \ Visualization \ GoogleMapsConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ fit_data |
bool
Optional. Whether to fit the map to the data. If true, the map will be resized to fit the data. If false, langitude and longitude will be used to set the map size. |
↳ latitude_value |
float
Optional. Latitude of the map. |
↳ longitude_value |
float
Optional. Longitude of the map. |
↳ zoom_scale_value |
float
Optional. Scale of the map. |
getFitData
Optional. Whether to fit the map to the data.
If true, the map will be resized to fit the data. If false, langitude and longitude will be used to set the map size.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setFitData
Optional. Whether to fit the map to the data.
If true, the map will be resized to fit the data. If false, langitude and longitude will be used to set the map size.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLatitudeValue
Optional. Latitude of the map.
| Returns | |
|---|---|
| Type | Description |
float |
|
setLatitudeValue
Optional. Latitude of the map.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLongitudeValue
Optional. Longitude of the map.
| Returns | |
|---|---|
| Type | Description |
float |
|
setLongitudeValue
Optional. Longitude of the map.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getZoomScaleValue
Optional. Scale of the map.
| Returns | |
|---|---|
| Type | Description |
float |
|
setZoomScaleValue
Optional. Scale of the map.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|