How to visualize any map in Power BI
Use the Icon Map custom visual and a web tile service to display any map background in Power BI, from satellite imagery to custom cartography.
Until recently, I primarily used Bing maps, filled maps, or shape maps — the standard visuals available in Power BI. However, increasing client demand for custom map visualization solutions prompted me to explore alternative approaches.
Understanding Map Terminology
To discuss map visualization effectively, several key concepts require clarification:
Visuals are objects within Power BI that display data. Custom visuals are developer-created contributions available through the Appsource marketplace, which currently hosts 341 options (some requiring payment).
Maps or backgrounds refer to the underlying cartographic layers displayed beneath data visualizations — such as OpenStreetMap or OpenTopoMap variants.
Finding the Right Visual
After extensive research, the Icon Map visual emerged as the recommended solution. It offers:
- Free access
- Active maintenance and development
- Extensive visualization capabilities
- Multiple built-in background layers (some Mapbox layers require API keys)
The Icon Map includes a Custom URI option for implementing personalized map backgrounds.
Understanding Custom URIs
A Custom URI is a specialized link that performs functions beyond standard web navigation — similar to “mailto:” email links.
Constructing Custom Map URIs
To implement custom maps, you need a tile service (web map tile service/WMTS) for efficient rendering:
https://api.maptiler.com/maps/hybrid/{z}/{x}/{y}@2x.jpg?key=MYKEY#15.0/48.20632/16.36144
This URL structure includes:
- The tile service endpoint (maptiler.com in this example)
- Map type designation (hybrid, satellite, etc.)
- Raster tile specifications (
{z}/{x}/{y}@2x.jpg) - API key (usually required; may involve registration or payment)
- Optional starting coordinates
Key Takeaways
Implementing custom maps in Power BI requires two components:
- A custom visual serving as the container integrating elements within Power BI
- A web tile service defining the map and providing the Custom URI
The tile service controls map customization possibilities and may involve associated costs for premium features.
Final Result
I successfully demonstrated this approach by displaying Vienna’s historic city center using the Icon Map with a Satellite Hybrid OpenStreetMap background.