---
title: Power BI Custom Visuals - Route Map
description: The Route Map Power BI Custom Visual  uses latitude, longitude and time to show the trajectory of an object on a map.
---

[Pragmatic Works Nerd News ](https://pragmaticworks.com/blog)

# [Power BI Custom Visuals - Route Map](https://pragmaticworks.com/blog/power-bi-custom-visuals-route-map)

 Written by [Devin Knight](https://pragmaticworks.com/blog/author/devin-knight) | Jun 08, 2017

In this module, you will learn how to use the Route Map Power BI Custom Visual.  The Route Map uses latitude, longitude and time to show the trajectory of an object on a map.

### Module 54 – Route Map

### Downloads

- Power BI Custom Visual – [Route Map](https://pragmaticworksonline.sharepoint.com/:f:/s/FileShare/Ejn3BZIKy-NHk0DHsQUqT5QBx8WaO5HCyu0Qo7pWOzaWmw?e=LWy021)
- Dataset – [Vessel Tracking.xlsx](https://pragmaticworksonline.sharepoint.com/:f:/s/FileShare/EvuW8ja5caVAs7SRpwfF3G4B5QJsJ1-ddS8HbtjDRU25jA?e=cTZPfD)
- Completed Example – [Module 54 – Route Map.pbix](https://pragmaticworksonline.sharepoint.com/:f:/s/FileShare/EvuW8ja5caVAs7SRpwfF3G4B5QJsJ1-ddS8HbtjDRU25jA?e=cTZPfD)

### Key Takeaways

- You make your entire report animate across the Play Axis attribute.
- Animation controls available to you: looping, auto play and the control of the play speed.

<https://devinknightsql.files.wordpress.com/2017/06/image.png>

*This Route Map shows the Carnival Sunshine on its way to the Caribbean.*

- Under the **Format** paintbrush there are several customizations available for the Route Map.
- Under the **Legend **section you can add a legend to the map that tells the users the meaning of the color, width and dashes on your map.

<https://devinknightsql.files.wordpress.com/2017/06/image1.png>

- The **Colors **section adjusts the color of the lines that are displayed. You can either adjust the color of all the lines or just parts of a line based on the field you place in the Color Legend.

<https://devinknightsql.files.wordpress.com/2017/06/image2.png>

- The **Widths **section adjusts the width of the lines that are displayed on the map. You can either adjust the width of all lines or just parts of a line based on the field you place in the Width Legend.

<https://devinknightsql.files.wordpress.com/2017/06/image3.png>

- The **Dashes **section adjusts the style of the lines that are displayed. You can either adjust the style of all the lines or just parts of a line based on the field you place in the Dashes Legend.

<https://devinknightsql.files.wordpress.com/2017/06/image4.png>

- In the **Arrows** section you can adjust the indicators that are displayed on a line at each data point you have in your dataset. 
    - Turning **Start** on places a dot on the first data point in the segment.
    - The **Middle** property is turned on by default, but if you turn it off all of the arrow indicators at the data points will no longer be visible.
    - Turning **End** on places a larger arrow at the last data point in the segment.
    - Increasing the **Interval** property lowers the frequency of arrows visible. This would be helpful when you have hundreds of data points in one segment.
    - Next, the **Scale** property makes each arrow larger when the value is increased.
    - There is an option to turn off arrows on specific segments by going under the **Specify **property.

<https://devinknightsql.files.wordpress.com/2017/06/image5.png>

- The **Advanced** properties give you the ability to turn off Zoom, Pan, and Auto fit abilities on the map. This would be useful if you want to lock the position of the map displayed and not give users the ability to move away from your data points.
- There are also settings to ignore geo-coordinates (Latitude/Longitude) when there is an error or a zero value is returned.

<https://devinknightsql.files.wordpress.com/2017/06/image6.png>

In addition to these properties, there are settings that appear on every visual to adjust the background color, add a border around the visual and lock the aspect ratio.

### Find Out More

You will always be able to find this video module and advanced viewing of future modules on the Pragmatic Works On-Demand Training platform or [view my previous blog posts](https://blog.pragmaticworks.com/topic/power-bi-custom-visuals).

[View full post](https://pragmaticworks.com/blog/power-bi-custom-visuals-route-map)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Devin Knight"
  },
  "dateModified" : "2023-03-28T17:17:43.867Z",
  "datePublished" : "2017-06-08T12:00:00Z",
  "headline" : "Power BI Custom Visuals - Route Map",
  "image" : {
    "@type" : "ImageObject",
    "height" : 200,
    "url" : "http://blog.pragmaticworks.com/hubfs/Banners/Power-BI-Banner.jpg",
    "width" : 600
  },
  "mainEntityOfPage" : "https://pragmaticworks.com/blog/power-bi-custom-visuals-route-map",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60.0,
      "url" : "https://blog.pragmaticworks.com/hubfs/PW%20Logo-2.png",
      "width" : 217.56097
    },
    "name" : "Pragmatic Works Blog"
  }
}
```