Edit

Share via


Create a map

Map is a powerful geospatial visualization platform that transforms spatial data, whether static or real-time, into actionable intelligence. By uncovering patterns, relationships, and trends across space and time, Map reveals insights often missed in traditional charts and tables, helping you make informed decisions with greater clarity.

Map offers robust customization capabilities that let you tailor visualizations to your audience and data content. Overlay diverse data layers—such as bubbles, heatmaps, lines, polygons, and 3D extrusions—to represent complex spatial relationships. Each layer supports advanced styling options including color schemes, opacity, stroke width, and interactive tooltips. To enhance clarity and emphasize key insights, choose from multiple map styles like Grayscale, Road, Satellite, or Night.

Prerequisites

Enable tenant settings in the admin portal

Important

Only the tenant admin is authorized to perform this step.

  1. Go to the admin portal.
  2. Select the Tenant settings tab in the admin portal and search for Map. For more information, see About tenant settings.
  3. Toggle the button for Users can create Maps (preview) to Enabled then select Apply. For more information, see Tenant settings. Screenshot of tenant settings for Maps showing the toggle button for the Users can create Maps setting.
  4. If your Fabric capacity is located outside the EU or US regions, you must enable the Azure Maps services tenant settings. Begin by searching for Azure Maps services in the tenant settings, then toggle the option Data sent to Azure Maps can be processed outside your capacity's geography region, compliance boundary, or national cloud instance to Enabled.
  5. Select Apply

For more information, see Azure Maps service tenant settings – Microsoft Fabric.

Screenshot of tenant settings for Map showing the toggle button for the specified setting.

New map

Maps exist within the context of a workspace, and every map is associated with the workspace it was created in.

To create a new map:

  1. Select the desired workspace.
  2. Select + New item.
  3. In the New item window, select Map (preview). Screenshot of the New item page with Map filtered.
  4. On the New Map popup, enter a name for the map. Configure workspace you want to save to and select Create. Screenshot of the New Map page with a name for the map and default workspace.
  5. A new map is created in your workspace. Screenshot of a newly created Map editor in Microsoft Fabric, showing an empty map canvas.

Visualize spatial data

You can start visualizing spatial data on the map canvas by connecting to supported data sources. Map currently supports connections to Lakehouses and Eventhouses. Refer to the following sections for instructions on establishing these connections, along with details about supported data formats and item types in Microsoft Fabric.

Connect to lakehouses

  1. Select Add data items to open OneLake catalog. Screenshot of blank map and highlighting add data items button to connect to lakehouse.
  2. The OneLake catalog lists all the lakehouses that you have permission to access. Use the search box if needed. Select Connect to connect the selected lakehouse to the map item. Screenshot of OneLake catalog to choose the data you want to connect.
  3. A node now appears in the Explorer pane. Expand it to view the directories and detailed file list in the Files pane. Screenshot of OneLake catalog showing GeospatialFiles.

Lakehouse supported data types and limitations

Currently Map supports the following data types:

  • GeoJSON format with .geojson file extension and size limitation up to 20MB.
  • PMTiles format with .pmtiles file extension.

Note

GeoJSON files larger than 20MB must be converted into a tileset in order to be used by Microsoft Fabric Map. For more information on how to convert a GeoJSON file into tileset, see Create a tileset.

Add data to map - GeoJSON

  1. Right-click the GeoJSON file you want to render on the map, then select Show on map. The map immediately renders the file's spatial data using default settings. Screenshot with a list of GeoJSON files that can be added to the map.
  2. The following screenshot shows the data layer added to the map. This data layer consists of power plant locations (point geometry) in California using the default layer color. Screenshot of GeoJSON point data rendered on the map that consist of power plant locations in California.
  3. Navigate to the Data layer pane and select the ellipsis menu (...) to show the actions available in the layer. Screenshot of the data layer view with the ellipsis menu highlighted.
  4. Right-click Zoom to fit to take closer look at the data distribution. Screenshot of the map showing the 'Zoom to fit' option.

    Tip

    To get a larger canvas for your map, collapse the Explorer pane to expand the map view. Screenshot of the map after selecting 'Zoom to fit', where the map zoomed in to show only the portion of the map with data points displayed.

There are other data layer customization options available. For more information, see Customize a map.

Add data to the map - PMTiles

  • Right-click the PMTiles file you want to use, then select Show on map. The map automatically renders the spatial data using default settings. Screenshot showing a list of PMTiles with the ellipsis menu selected on one of the files, showing the popup menu with 'show on map' highlighted.

The following screenshot shows the new data layer added to the map with the default layer color. The new data layer shows fire perimeter zones across California, represented using polygon geometry.

Screenshot of the map showing the newly added data layer that was just added.

Note

Zoom to fit is available for PMTiles when bounds information is included in the metadata.

For more information on data layer customization, see Customize a map.

Connect to Eventhouse/KQL databases

  1. Switch to the Eventhouse tab and select Add data items to open the OneLake catalog. Screenshot of map and highlighting add data items button to connect to eventhouse.
  2. The OneLake catalog displays all KQL databases the user is authorized to access. Select Connect to link a KQL Database under Eventhouse to this map item. Screenshot of OneLake catalog with filtering to eventhouses.
  3. Expand the left pane to view the internal KQL queryset and KQL queries. Screenshot of OneLake catalog with filtering to eventhouse.

Eventhouse support

Map supports Internal KQL Querysets created with the KQL Database:

Screenshot of the eventhouse Internal KQL Querysets.

But doesn't support:

Note

Each tab supports only one query. Using multiple queries in a single tab results in a syntax error.

Use KQL queries to add data to map

Note

Prepare the KQL queries before rendering begins on the Map, and ensure they include spatial data. Use the Refresh action to retrieve the latest KQL queries from the KQL Database.

  1. Select the KQL query that you want to render on the map by right-clicking on it and selecting Show on map from the popup menu to launch the configuration wizard. Screenshot of Add KQL query to the map.
  2. In Preview data, select the desired KQL query, then select Next to proceed. Screenshot of KQL query data preview.
  3. Enter the desired name and query refresh interval, then select Next to proceed to Review and add to map. Screenshot of KQL query configuration interval.
  4. After reviewing the configuration, select Add to map to add the new data layer to the map. Screenshot of review of KQL query visualization settings.
  5. Select Zoom to fit from the new layers drop-down menu in the Data layers view. Screenshot of the 'zoom to fit' setting.
  6. The map is now zoomed in, enabling you to visually inspect the data with improved readability. Screenshot showing the map after the 'zoom to fit' setting was selected.
  7. The query refresh interval enables you to visualize changes in real-time as shown in the following screenshot. Screenshot of the map showing it refreshing the point data, showing how the map updates in real-time.
  8. Select the Save button in the upper left side of the screen to save all of the map changes. Screenshot of saving the map.

Data layer management

When managing multiple data layers on a map, maintaining organization is key to creating clear and effective visualizations. The Data layer pane provides essential tools to help you manage layers efficiently, including options to Reorder, Rename, Delete, and Duplicate. The following section outlines best practices for layer management, supporting the creation of clean, maintainable, and insightful spatial visualizations.

Show or hide data layer

  • Show the data layer. Screenshot of showing the data layer.
  • Hide the data layer. Screenshot of hiding the data layer.

Reorder data layer

Drag a data layer to change its display order relative to other layers on the map.

The following screenshot demonstrates how to reorder data layers. To improve visual clarity in overlapping areas, move the Power Plant layer to the topmost position on the map. Placing layers based on point geometries above layers based on polygon geometries makes them easier to observe and interpret within the spatial visualization.

Screenshot of reordering the data layer.

Rename data layer

By default the name of the data layer is the name of the query it was created from. You can change the name at the time of creation, and can also change it at any point after. The following steps show how to change the name of an existing data layer.

  1. Select the data layer to rename, then select Rename in the popup menu. Screenshot of rename action of data layer.
  2. Enter the new name, then select Rename. Screenshot of renaming data layer.

Duplicate data layer

A new data layer can be created by duplicating an existing one. After duplication, customize the layer's name and settings to highlight specific data dimensions or attributes.

Note

Enabling Clustering while duplicating data layers applies clustering effects to both layers, as they reference the same dataset.

  1. Choose the data layer you want to copy, then select Duplicate in the popup menu. Screenshot before duplicating the data layer.
  2. A new data layer is created with the same settings as the original, except the name includes "(copy)" to indicate duplication. Screenshot of the duplicated data layer.

Zoom to fit

Zoom to fit centers the map view on the selected data layer and adjusts it to display the full extent of that layer, making it easier to locate and explore spatial data.

  1. Choose the data layer you want to view, then select Zoom to fit in the popup menu. Screenshot of zoom to fit action of data layer.
  2. The map view centers on the selected data layer and adjusts to display its full spatial extent. Screenshot of after selecting zoom to fit action of data layer.

Note

Zoom to fit is unavailable for PMTiles when bounds information is missing.

Delete data layer

Delete a data layer when you need to permanently remove it from the map. The following steps show how to delete an existing data layer.

  1. Choose the data layer you want to remove from the map, then select Delete in the popup menu. Screenshot of delete data layer.

  2. The layer is removed from both the map and the Data layers list. Screenshot showing results after deleting the data layer.