InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client-apis > GeoViewProperties
Signature:
interface GeoViewProperties
Property | Modifiers | Type | Description |
---|---|---|---|
allowPanAndZoom | boolean | If true, map zoom and pan controls are enabled on the dashboard view | |
center | { lat: number; lon: number; } | Coordinates of the center of the map | |
colors? | DashboardColor[] | (Optional) Colors define color encoding of data into a visualization | |
detectCoordinateFields | boolean | If true, search results get automatically regroupped so that lon,lat and value are treated as columns | |
latLonColumns? | LatLonColumns | (Optional) | |
layers | GeoViewLayer[] | List of individual layers shown in the map | |
mapStyle? | string | (Optional) Define map type - regular, satellite etc. | |
note | string | ||
queries | DashboardQuery[] | ||
s2Column? | string | (Optional) String to define the column | |
shape | ‘chronograf-v2’ | ||
showNoteWhenEmpty | boolean | If true, will display note when empty | |
type | ‘geo’ | ||
useS2CellID? | boolean | (Optional) If true, S2 column is used to calculate lat/lon | |
zoom | number | Zoom level used for initial display of the map |