Skip to content

Map Widget

Introduction

The Map Widget allows you to create interactive geographic maps using Leaflet.
Your dataset must include latitude and longitude values.

Currently, you can build cluster maps, with support for region-based visualizations planned in future updates.


Purpose

This widget is designed to plot data points on a map for geographical insights.
It enables you to:

  • Visualize dataset records as markers on maps.
  • Cluster markers for readability in dense regions.
  • Add popups and tooltips with contextual details.
  • Apply styling, sizing, and colors dynamically based on dataset values.
  • Control map zoom, bounds, and tile providers.

Steps to Add a Map Widget

  1. From the left-side widget panel, click the Map Widget icon.

    Map Widget

  2. A new block labeled Map Widget will appear on your canvas.

    Map Widget


1. Datasets & Columns

Configure how your dataset connects to the map:

SettingDescriptionExample Value
Datasets SelectorChoose the dataset providing marker data.map_example.ds
PathLocation of dataset file./
Available ColumnsLists all dataset columns. Drag-and-drop into mapping fields.stateName, latitude, longitude, quantityImported
Latitude (Required)Column with latitude values.Latitude
Longitude (Required)Column with longitude values.Longitude
Value Column (Optional)Numerical column for dynamic marker size or popups.quantityImported
Tooltip Column (Optional)Column explicitly shown in tooltip.stateName
Color by Column (Optional)Column for marker coloring.

Map Widget


2. Map Configuration
SettingDescriptionExample Value
Base LayerMap style/provider.Open Street Map - Standard
Custom Tile URLUse a different tile source.https://{s}.tile.openstreetmap.org/
AttributionCredit to data provider.© OpenStreetMap contributors

Map Widget


3. Marker Styling
SettingDescriptionExample Value
Marker IconSelect marker icon style.Default Pin
Marker SizeSize of the marker on the map.25px
Marker ColorColor used to display markers.#3388ff
Dynamic SizingResize markers based on Value Column.Toggle On/Off

Map Widget


4. Clustering
SettingDescriptionEample Value
Enable ClusteringAutomatically group nearby markers into clusters.On
Cluster RadiusDistance (in px) for grouping markers.80px
Disable Clustering at ZoomZoom level where clustering stops.18
Spiderfy on Max ZoomSpread overlapping markers at max zoom.On
Show Coverage on HoverHighlight cluster coverage area.On
Cluster Color ModeDetermines cluster coloring. Options include:
Color by Size – color clusters based on marker count (Tiny, Small, Medium, Large, Huge).
Color by Value Range – color clusters based on data values (Very Low → Very High).
Single Color – all clusters use one chosen color.
Color by Size

Map Widget


5.Popup & Tooltip
SettingDescriptionExample
Show PopupEnable popups on click.On
Popup TemplateDefine popup HTML. Use {columnName} syntax.<h4>{latitude}, {longitude}</h4><p>Value: {value}</p>
Show TooltipEnable tooltips on hover.On
Tooltip PositionPlacement of tooltip.Auto, Top, Bottom, Left, Right

Map Widget


6. Map Bounds & Zoom
.
SettingDescriptionExample Value
Auto Fit BoundsAdjust map to fit all markers.On
Initial ZoomDefault zoom level.10
Min ZoomLowest zoom allowed.1
Max ZoomHighest zoom allowed.18

Map Widget