Skip to main content

4 posts tagged with "Icon Map Pro"

View All Tags

Filtering Reference Layers

· 3 min read
James Dales
Co-founder of Tekantis

Icon Map Pro provides the ability to show reference layers on the map. These reference layers are not connected to the Power BI data, they just additional context to the data layer.

Take this example that shows a map of Welsh local authorities. The circles are a circle data layer, and the local authorities are loaded as a GeoJSON reference layer.

alt text

But what if I had a small sales team where each one was responsible for a small number of local authorities, so you only wanted to show those relevant to that person.

We could change the reference layer to being a GeoJSON data layer, but then we'd need to append the relevant local authorities as additional rows of data, which can then get messy from a data preparation and modelling point of view.

Instead, we can filter the features from the GeoJSON reference layer, and only show those related to each sales person.

I've added a table of data in my model that lists which area each sales person is responsible for:

alt text

The code field corresponds to a field "LAD22CD" in my GeoJSON file, so in the Icon Map Pro settings for the reference layer, I've selected "LAD22CD" in the "Property to Filter" option:

alt text

If there was just one area for each sales person, we could simply assign the "Code" field from our table to the "Filter Value" setting using the fx button. However, as we have multiple areas per person, we will need to create a DAX measure to generate a concatenated list of areas:

Codes = CONCATENATEX('wales_areas json', "'" & 'wales_areas json'[Code] & "'", ",")

Now we can assign our Codes measure to the Filter Value setting. Note comma separated lists of values are only supported when WebGL Rendering is enabled in the Icon Map Pro settings:

alt text

I've added the Person Allocation as a slicer so we can pick the sales person, and their territories will be displayed on the map:

alt text

We can even make this more sophisticated by applying Row Level Security and use the USERPRINCIPALNAME() DAX function to automatically filter to the logged in user. I wouldn't recommend this as a security mechanism, but as a way to automate the filtering.

You can download the Power BI file to see this in action.

Drilling Down Through Pre-Calculated H3 Hexagons

· 2 min read
James Dales
Co-founder of Tekantis

H3 Hexagons provide a great mechanism for aggregating large volumes of point data. By grouping individual events into consistent hexagonal cells at different resolutions, analysts can quickly move between high-level overviews and detailed, street-level insights. This flexibility is especially powerful in spatial analysis tasks, such as exploring patterns of road traffic accidents, where drilling down from broad regional trends to local hotspots helps uncover both strategic and tactical insights. In this post, we’ll walk through how to enable Power BI drill-down using H3 cells, showing how accident data can be explored seamlessly across multiple spatial resolutions.

alt text

Whilst Icon Map Pro can generate H3 hexagons based on longitude and latitude values provided to the visual, this blog focuses on scenarios where we have already pre-calculated the H3 cells before loading into Power BI.

Taking the road traffic accident example further, each row in my dataset represents a single accident that has occurred in Surrey in the UK. For each of these accidents, we have pre-calculated the H3 cell ID in a number of resolutions:

alt text

When we have pre-calculated H3 indexes we must assign them to the ID field in Icon Map Pro. To enable drill-down, we can drag all of the H3 fields at increasing resolutions into the ID field well:

alt text

And then for the H3 weight, I'm using the number of accidents as a simple count:

alt text

This is all the data we need to provide to Icon Map Pro to enable drill-down H3 hexagons.

To configure the layer we tell Icon Map Pro that our H3 indexes are pre-calculated as hex references:

alt text

And set up the formatting:

alt text

Then we can can start at a low resolution:

alt text

Then use the double drilldown arrow to view all items in more detail:

alt text

Or the single drill-down arrow to drill into a specific accident hotspot:

alt text

You can download the Power BI report used in this example to explore how it was created.

How to provide the ability for your users to select a background map

· 2 min read
James Dales
Co-founder of Tekantis

Icon Map Pro comes with a range of available background styles included. Sometimes you may want to provide the ability for the end-users of your report to select the style themselves.

Icon Map Pro doesn't yet include a menu as part of the user interface, but we can use a slicer visual in Power BI to provide the selection, and pass the selected style through to Icon Map Pro.

alt text

You'll notice that the Icon Map Pro style dropdown doesn't have a conditional formatting "fx" button so we can't assign the selected style here. Instead we need to change the Map Source to be "Vector Tiles" and use the "fx" button against "URL of the style JSON file".

alt text

Whilst we could manually provide a list of URLs, we can use Icon Map Pro's styles API and request the available styles and their associated URLs from https://styles.iconmappro.com/styles/styles.json

This is a JSON file that we can load into a table in our Power BI report. If you filter the results to include only those of type "background" then these should all work as background maps. You may also wish to filter out those with "(GB only)" in the name if your data extends beyond Great Britain.

alt text

Once loaded in, we can simply assign the styles.name field to a slicer. I recommend setting the slicer to be "Single select".

Then in the Icon Map Pro Vector Tiles URL setting, we can assign the styles.url field.

The background style selection will now be based on the selected item in the slicer.

You can download a sample Power BI file to see this in action.

Icon Map Slicer - What is it, and why?

· 5 min read
James Dales
Co-founder of Tekantis

Last week we released Icon Map Slicer. Knowing this would raise some questions, I thought I’d address them up front in a blog post.

What is Icon Map Slicer?

Icon Map Slicer Screenshots

Put simply, Icon Map Pro is a display visual—just like a bar chart in Power BI is a display visual—whereas Icon Map Slicer is a slicer visual. Many of our Icon Map Pro customers (and potential customers) asked for the ability to select items on the map in ways that Icon Map Pro can’t.

For example:

  • Keeping map selections active while interacting with other visuals on the page.
  • Persisting selections across different report pages.
  • Selecting hundreds (or even thousands) of items on the map.
  • Selecting all items contained within another item.

Icon Map Slicer addresses these needs, offering powerful new ways to select data:

  • Selections persist automatically.
  • Works with Power BI’s Sync Slicers capability to mirror selections across pages.
  • Uses a more efficient Power BI API to filter data, allowing large selections without causing Power BI to “hang.”
  • Select all items within polygons from reference layers (e.g. all care providers within a council area).
  • Select all items within or intersecting with other items (e.g. protected woodland intersecting a proposed railway line).
  • Use a circle radius tool or a lasso to select data (e.g. all competitors within 2 km of a store).
  • Filter data by the current map view—zoom or pan the map, and other visuals in the report update to reflect the visible extent.

In addition to these selection options, Icon Map Slicer can display a wide range of data items, including:

  • Circles
  • Images and Icons
  • 3D Columns
  • H3 Hexagons
  • Interactive, conditionally formatted GeoJSON and Shapefiles
  • Geometry stored in WKT and GeoJSON feature formats
  • Lines

Some items can also be displayed in 3D by providing a height value. The background map can include 3D terrain, and the map itself can be rotated and tilted.

Why is it a different visual?

So why release a separate visual instead of adding these features into Icon Map Pro? The short answer: the Power BI visuals SDK doesn’t allow a single visual to operate as both a slicer and a display visual. When creating a visual, you must specify in the configuration whether it’s one or the other.

This is actually our third iteration at building this visual—the first two never made it into public preview. Initially, we aimed to enable slicer functionality directly within Icon Map Pro. But we quickly realised the extensive changes required (particularly in how items are identified for selection and cross-highlighting) would have created messy, unmaintainable code.

Splitting the codebase allowed us to:

  • Build a cleaner, dedicated slicer visual.
  • Base the visual on the MapLibre mapping library (instead of Leaflet), unlocking rotation, tilt, and 3D terrain/object support.

How else does it differ from Icon Map Pro?

Building a Power BI map visual means taking into account both technical constraints and licensing rules from third-party providers. For instance, Google Satellite imagery cannot legally be used with non-Google mapping libraries like MapLibre—a shame, because it looks stunning with 3D terrain!

As mentioned, Icon Map Slicer is built entirely on MapLibre. In contrast, Icon Map Pro uses Leaflet, with an option to piggyback MapLibre when “WebGL Rendering” is enabled. This mode offers some performance benefits but remains limited by Leaflet’s constraints (e.g. stepped zoom, no tilt/rotation). However, Leaflet’s wide ecosystem of plugins and integrations gives Icon Map Pro capabilities that aren't available in Icon Map Slicer.

Here are the current key differences:

Map Interactivity

Feature / CapabilityIcon Map ProIcon Map Slicer
Gradual Map Zoom
Stepped Map Zoom
Tilt and Rotate Map
Power BI Tooltips
Drill-down
Drill-through

Selection

Feature / CapabilityIcon Map ProIcon Map Slicer
Cross-filter other visuals
Cross-filtering from visuals
Cross-highlight other visuals
Cross-highlighting from visuals
Efficient selection (100s items)
Lasso tool
Circle radius selection
Select within reference polygon
Select intersecting items
Filter by map extent

Background Mapping

Feature / CapabilityIcon Map ProIcon Map Slicer
3D Terrain
Tekantis Map Styles
Ordnance Survey Open Zoomstack
Google Maps Integration
Azure Maps Integration
ArcGIS Online Integration
Mapbox Integration
Mappable Integration
MapTiler Integration
Ordnance Survey Premium Integration

Reference Layers

Feature / CapabilityIcon Map ProIcon Map Slicer
Place names (Tekantis / OS)
Place names (Azure / ArcGIS/ Mapbox)
Realtime Daylight Terminator
DateTime field Daylight Terminator
ArcGIS Feature Layers
Realtime Traffic
Realtime Weather
WMS Support
GeoJSON / Shapefiles
Raster Tiles
Styled Vector Tiles

Data Layers

Feature / CapabilityIcon Map ProIcon Map Slicer
Circles
Clustering
3D Columns
Images / Icons
Heatmaps
H3 Hexagons
GeoJSON / Shape Files
Vector Tiles
Shapes in WKT / GeoJSON
ArcGIS Feature Layers
Lines
Lines (flows)PlannedComing soon

If I already have Icon Map Pro, do I have to pay more for Icon Map Slicer?

Icon Map Slicer is a separate product, so it isn’t included in your Icon Map Pro subscription. However, if you already hold an Icon Map Pro annual subscription for 25+ users, we’re pleased to offer Icon Map Slicer at a substantial discount. Please contact sales@iconmappro.com for details.

Is Icon Map Pro still being developed?

Absolutely. Both Icon Map Pro and Icon Map Slicer are being actively developed in parallel. Where possible, we’ll release features in both, though not always at the same time.

  • Slicer specific features will remain unique to Icon Map Slicer.
  • Icon Map Pro will eventually gain tilt, rotation, and 3D terrain.
  • Some Pro features (like WMS layers and heatmaps) are planned for the Slicer.

Are you planning more visuals?

We don’t currently plan to release new visuals, but we are working on powerful, new geospatial capabilities for Power BI and Microsoft Fabric. These will benefit both Icon Map Pro and Icon Map Slicer—stay tuned for updates in the coming months!