New: the AI firewall watches every module and explains each incident in plain words. See how it works

Map cards

Show devices and sites as markers on a map or floor plan, colour them by status, draw zones and routes, replay routes, hide names.

The Map card plots table rows that have coordinates as markers. It can draw on a geographic map or on an image such as a floor plan, colour each marker by a status or a value, outline zones and draw routes that can be replayed. The ready solutions use it for sites, weather stations and personnel tracking.

Data

SlotHoldsRequired
PointsA row per marker with latitude and longitude columnsYes
ZonesA row per zone with an outline: a list of [latitude, longitude] cornersNo
RoutesA row per route with a path: a list of [latitude, longitude] points in order, optionally a third value (a time)No
Floor plan addressThe image of an image map, from a valueNo

Good sources for Points: Status under an asset (sites in their status colour), Latest values of many devices with lat and lng keys, or Devices (live connection state) when your devices carry coordinates. A row without valid coordinates is skipped; with none at all the card says “No rows with valid coordinates.”

Set Latitude column (default lat), Longitude column (lng) and Label column (label). The Row id column identifies the marker in click actions.

Map kind

MapDraws
Geographic (default)Map tiles. Map style: Follow the theme, Light, Light, no labels, Dark, Streets (colour), Satellite.
Image (floor plan)A picture instead of tiles. The latitude and longitude columns then hold y and x in the picture’s pixels, from its top-left corner. Set Image (an internal path or an https address), Image width (px) and Image height (px).

Markers and colours

SettingValues and defaults
MarkerPin (default), Dot, Circle, Icon; Marker size (px) 8 to 64 (24)
Group nearby markersOff. On: overlapping markers become one bubble with a count; a click zooms in. Grouping distance 10 to 200 px (40).
Colour fromOne colour, A status column (default), Ranges on a value
Status columnDefault status. Its value picks the colour: a value named in Status colours, a status word (Online, Warning, Offline…), a colour name (success, warning, error, info, neutral, primary) or a CSS colour.
Status coloursUp to 20 rows: Value, Colour, Shown as, Glyph (an icon instead of the marker), Picture (an image, wins over the glyph)
Value columnWith Ranges on a value: the column whose value picks a colour range
Show a legendOn, bottom left. It counts the markers per status and hides with one colour.

Names and tooltips

SettingValues and defaults
Show namesAlways, Alerts only (the markers whose status says warning or worse), Never (default)
Open tooltips onHover (default), Click (the tooltip stays open so its link can be used), Never
Tooltip fieldsUp to 6 columns shown as label and value rows
Marker link, Link textAn internal path such as /admin/devices/{id}; {column} takes the clicked row’s value

Privacy mode

For maps of people, turn on Privacy mode. “Names stay out of the page: a marker is labelled with its role, and the label column and the columns below are left out of tooltips, links and clicks.” Set the Role column (a worker, a visitor) and the Columns that identify (a badge number, a company, a phone; up to 8). The Alert column names the column that says a marker is in trouble (warning, critical, alarm, SOS, fall).

View and controls

SettingValues and defaults
Fit the view to the markersOn, with 32 px around them
Centre latitude, Centre longitude, ZoomWhere the map looks when it does not fit (zoom 1 to 18, default 4); minimum and maximum zoom
Zoom buttonsOn, top left
Layer switchOn. Lets viewers show or hide markers, zones and routes when there is more than one.
Zoom with the mouse wheelOff: the wheel scrolls the board past the map; use the buttons or a pinch

Zones

Bind Zones to a table whose rows carry an outline column (default positions) of at least three corners. Set Zone name column, Zone colour (primary, info, success, warning, error, neutral, or a Zone colour column) and Zone fill opacity (0.2).

Routes and replay

Bind Routes to rows with a path column (default positions). Route width (px) 1 to 12 (3), Dashed routes off. Turn on Replay controls to play, pause and scrub the routes: a moving point follows each, with its start and end marked, at 1×, 2×, 5× or 10×. When each point carries a time, the replay follows the clock.

Example: replay where a tracker went today. The personnel tracking solution builds its route like this:

  1. Bind Points to the tracker’s latest lat and lng.
  2. Bind Routes to Device readings over time (live) with the keys lat,lng.
  3. Add a compute script that pairs the two series by time into one route row, [lat, lng, time] per point, oldest first, keeping at most 256 points. See Compute scripts.
  4. Turn on Replay controls.

Install the solution to get this board ready-made: Personnel tracking.

Clicks and dragging markers

A marker click can run actions (When a map marker is clicked): set the board’s device or site parameter, open a detail page, open another board. On an image map, Markers can be dragged lets a viewer drop a marker where it belongs; the card’s command (When a marker is dropped) receives { id, x, y } in whole pixels. Without a command the markers stay put.

Troubleshooting

What you seeCause
“Bind a table with latitude and longitude columns in this widget’s settings.”The points slot is empty.
“No rows with valid coordinates.”The latitude and longitude columns are missing, empty or out of range. Check the column names.
All markers have the same colourThe status column holds values the card does not know, so they take the card’s one colour. Add them to Status colours.
The map scrolls the page instead of zoomingZoom with the mouse wheel is off. Use the buttons or turn it on.