Skip to main content

Map viewer

Map viewer shows geospatial data on a map as either markers, or a heat map.

Adding

  1. Go to Tables and expand the Viewers panel.
  2. Locate the Map Viewer icon and click it.

Developers: To add the viewer from the console, use: grok.shell.tv.addViewer('Map');

When you add a map viewer, it tries to automatically detect columns that contain longitude and latitude values.

Settings

To configure a map, click the Gear icon on top of the viewer and use the info panels on the Context Pane. For example, you can:

  • Color-code points using the Color property
  • Size-code points using the Size property
  • Control point size by using Marker Min Size and Marker Max Size properties

Interactivity

  • Shows only filtered rows
  • Shows selected rows in orange
  • Synchronizes current record upon clicking on the point

Map viewer

Custom file viewers

Сustom file viewers give user the opportunity to view files of various geographic extensions. To see it, open the file manager, hover your mouse over the file and click on it, as shown below.

Custom file viewer

The system provides interaction with files of the following extensions:

  • .geojson
  • .topojson
  • .kmz
  • .kml

Controls

ActionControl
Zoom inMouse Wheel Up or Plus
Zoom outMouse Wheel Down or Minus
Add a point to selectionShift+Click the point
Select multiple pointsCtrl+Mouse Drag

See also

Properties

PropertyTypeDescription
General
Region Column Namestring
Color Column Namestring
Color Aggr Typestring
Show Color Scaleboolean
Show Color Selectorboolean
Allow Pan Zoomboolean
Linear Color Schemelist
Categorical Color Schemelist
Row SourcestringDetermines the rows shown on the plot.
Allow Dynamic Menusboolean
Show Context MenubooleanProperties common for all viewers todo: use code generation
Titlestring
DescriptionstringViewer description that gets shown at the Descriptor Position. Markup is supported.
HelpstringHelp to be shown when user clicks on the ''?'' icon on top. Could either be in markdown, or a URL (starting with ''/'' or ''http'').
Description Positionflexposition
Description Visibility Modevisibilitymode
Data
FilterstringFormula that filters out rows to show. Examples: ${AGE} > 20 or ${WEIGHT / 2)} > 100, ${SEVERITY} == ''Medium'', ${RACE}.endsWith(''sian'')
Tablestring
Style
Controls FontstringViewer controls elements font.
Description
Show Titleboolean

See also