interface GeoViewProperties {
    allowPanAndZoom: boolean;
    center: { lat: number; lon: number };
    colors?: DashboardColor[];
    detectCoordinateFields: boolean;
    latLonColumns?: LatLonColumns;
    layers: any[];
    mapStyle?: string;
    note: string;
    queries: DashboardQuery[];
    s2Column?: string;
    shape: "chronograf-v2";
    showNoteWhenEmpty: boolean;
    type: "geo";
    useS2CellID?: boolean;
    zoom: number;
}

Properties

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

Type declaration

  • lat: number

    Latitude of the center of the map

  • lon: number

    Longitude of the center of the map

colors?: DashboardColor[]

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
layers: any[]

List of individual layers shown in the map

mapStyle?: string

Define map type - regular, satellite etc.

note: string
queries: DashboardQuery[]
s2Column?: string

String to define the column

shape: "chronograf-v2"
showNoteWhenEmpty: boolean

If true, will display note when empty

type: "geo"
useS2CellID?: boolean

If true, S2 column is used to calculate lat/lon

zoom: number

Zoom level used for initial display of the map

MMNEPVFCICPMFPCPTTAAATR