5 min readUpdated Mar 2, 2026

MapTile Documentation

Overview

MapTile is a powerful component designed to render interactive maps using the MapLibre library. It is ideal for visualizing geospatial data on a flexible, user-friendly interface that supports various map styles, clustering of data points, and dynamic data fetching from workflows.

The MapTile component is capable of displaying data points (markers) on a map, allowing users to visually analyze spatial relationships, patterns, and distributions related to their workflows.

Settings

Title

Subtitle

MapStyle

MarkerColor

ClusterEnabled

Workflows

How It Works

The MapTile component initializes a MapLibre instance, retrieves data from specified workflows, and renders it as markers on the map. It supports clustering for efficient visualization when dealing with extensive datasets.

Expected Data

MapTile expects data structured in the following manner:

Use Cases & Examples

Use Case 1: Real Estate Listings

A real estate company can use the MapTile to display properties on a map. Each property can be marked with a unique marker representing its location, providing an interactive way for potential buyers to visualize available options in a specific area.

Use Case 2: Delivery Route Tracking

A logistics company can utilize MapTile to visualize the routes of their delivery trucks in real-time. The map can show clusters of deliveries in specific regions, helping management optimize routes and resources.

Concrete Example Configuration

Configuration for Real Estate Listings:

json
{
  "title": "Available Properties",
  "subtitle": "Your Dream Home Awaits",
  "mapStyle": "osm",
  "markerColor": "#ff5733",
  "clusterEnabled": true,
  "workflows": [
    {
      "id": "property_listing_workflow_1"
    },
    {
      "id": "property_listing_workflow_2"
    }
  ]
}

Explanation:

In the provided configuration, the MapTile will display available properties with a title of "Available Properties" and a subtitle for context. The map will use the OpenStreetMap styling, with markers colored in a distinct shade of orange (#ff5733). Clustering is enabled to enhance usability, merging closer markers into groups. The component will fetch property details from two specified workflows, ensuring real-time data is visualized.

AI Integrations & Billing Impacts

At present, the MapTile has no direct integration with AI systems. However, it could be enhanced with AI features such as predictive clustering or anomaly detection in point distribution in future iterations.

Regarding billing, the use of MapTile may depend on external service calls depending on the number of workflows and the data fetched. Billing may be impacted by the volume of data retrieved and the number of API calls made, especially if using a paid data backend for workflow execution or data fetching. Make sure to monitor usage to avoid unexpected charges.

Conclusion

The MapTile component is a versatile and powerful tool for visualizing geospatial data interactively. Its settings allow for customization to fit various business needs, and it is built to be responsive to user interactions for an optimal user experience.