Skip to main content Skip to complementary content

Maps

Maps enable you to view your data geographically. A Qlik Sense map visualization consists of a base map and layers. The base map is the background for the layers of data representations - your dimensions and measures. Multiple base maps are available with Qlik Sense. The layers project your dimensions and measures either by single points or by area, enabling you to see the geography of your data. For example, if you wanted to view total sales by city, you could add a point layer of cities on a map and have the color and size of the points be determined by the total sales for stores in those cities.

Maps have many ways to present your data. You can add multiple layers to your map to display different types on information on the same map. You can set a custom scope for locations so that if two locations have the same name, you display the locations and their data correctly. You can use drill-down dimensions to create a hierarchy of geographic areas for selection. You can limit the pan of a map to a specific view and scope of the map, such as a region of interest, out of which users cannot pan or zoom out. You can add custom base maps to your map and use non-WGS-84 coordinates.

Layers

Layers contain visualized dimension and measure data that is displayed over your map. You can stack layers on top of each other. You can also control at what zoom levels different layers appear in or have layers that appear only if other values in a drill-down dimension are selected. This enables you to create different levels of detail as you make selections and zoom in and out of areas of interest on your map. Layers can be point, area, or background layers.

Point layer

A point layer overlays individual locations on a map, representing them with shapes. By default, point layers use circular bubbles, but you can also use several other shapes. The size of the points in your layer can be fixed or you can specify a measure or expression to set the sizes of the different points. You can highlight these differences in values further by coloring by measure.

You can currently use a maximum of 50.000 objects in a point layer.

Point layer (Cities in Atlantic Canada colored and sized by population)

Area layer

An area layer presents areas on your map, such as countries or states. With polygon geometry loaded into a field, it can present any custom area.

With an area layer, each dimension value corresponds to a presented area. By using colors with your area layer, you can present different measure values for the areas. In the properties panel, under Appearance > Colors and legend, switch Colors to Custom where the options By measure and By expression are available.

You can currently use a maximum of 10.000 objects in an area layer.

Area layer (Australian states and territories colored by population)

Background layer

Background layers enable you to display a custom base map for your map visualization. A background layer could, for example, be a map of an airport that then has a point layer with WIFI hotspot locations overlaid on it. Custom maps added to background layers must be slippy or tile maps on their own server. Unlike point layers or background layers, the background layer uses no dimensions or measures and only displays an external base map.

Background layer (OpenStreetMap map)

Location data

Maps support several ways for determining locations in a layer. Locations can be either geometries or names of locations such as names of countries, regions, cities, postal codes etc. Geometries can either be added at load time by the data preparation service or loaded from geographic sources such as KML. Point layer also supports latitudes and longitudes in separate fields. For area layers, areas can be defined using geometries in KML files. For more information, see Loading your own map data.

Both point and area layer locations can be defined using fields that contain names and codes. Qlik Sense can identify the following types of locations: 

  • Continent names
  • Country names
  • ISO alpha 2 country codes
  • ISO alpha 3 country codes
  • First-order administrative area names. such as a state or province names
  • Second-order administrative area names
  • Third-order administrative area names
  • Fourth-order administrative area names
  • Postal codes or ZIP Codes
  • City, village, or other populated place names
  • IATA airport codes
  • ICAO airport codes
Information note

Availability of locations may vary by country. If the named location is not available, use coordinate or area data for the location.

If you are using a custom map in a background layer that uses non-WGS-84 coordinates, you can use a field with locations defined in the coordinate system the map uses (either degrees or meters). For more information, see Using non-WGS-84 coordinate systems.

When to use it

You can use a map to show the geographical distribution of offices, stores, and other sites of business interest. You can visualize not only locations but also sales values and other measures and display the value differences by bubble size or color.

Advantages Disadvantages
The map is a versatile visualization that efficiently presents the geographical distribution of key values related to location or area. With a large number of values, it may be hard to get a good overview. Values may be placed on top of each other and not visible until zoomed in.

Creating a map

You can add a map to the sheet you are editing.

Tip noteYou can create several map visualizations based on different point data or area data, but which use the same dimension data.

Do the following:

  1. From the assets panel, drag an empty map to the sheet.

  2. From Map settings, select the Base map.

  3. From Layers in the properties panel, add layers to your map. Do one of the following:

    You can set the order of layers by dragging layers up and down in the list. Layers are overlaid on the layers of the same type beneath them.

Once the map is created, you can adjust its appearance and other settings for the map and its layers in the properties panel. For more information on settings, see Map properties.

Adding a point layer

Do the following:

  1. Do one of the following:

    • Drag and drop a field onto the map, select Add as new layer, and select Add as point layer.
    • From Layers in the properties panel, click Add layer and select Point layer.
  2. In Dimensions, click Add and select a field containing point data to use as the dimension.
  3. If there are issues with the point locations, adjust the location settings in Locations in the properties panel.

Once the layer is added, you can adjust settings for the layer in the properties panel. For more information on settings, see Map properties.

Adding an area layer

Do the following:

  1. Do one of the following:

    • Drag and drop a field onto the map, select Add as new layer, and select Add as area layer.
    • From Layers in the properties panel, click Add layer and select Area layer.
  2. In Dimensions, click Add and select a field containing area data to use as the dimension.
  3. If there are issues with the point locations, adjust the location settings in Locations in the properties panel.

Once the layer is added, you can adjust settings for the layer in the properties panel. For more information on settings, see Map properties.

Adding a background layer

Do the following:

  1. From Layers in the properties panel, click Add layer.
  2. Select Background layer.
  3. After URL, enter the URL to a slippy map server.

    For example, http://a.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png.

  4. After Attribution, enter the attribution string for the map.

    For example, &copy; <a href='http://www.opencyclemap.org/' target='_blank'>OpenCycleMap</a>. Map data &copy; <a href='http://www.openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors.

Setting the scope of locations for a map layer

By default, Qlik Sense searches a broad scope of locations for the location field when names are used. In cases where there are multiple possible matches, you may need to limit the scope of locations searched to ensure Qlik Sense displays the desired location.

Do the following:

  1. From Layers in the properties panel, click Location.
  2. Set Scope for location to Custom.
  3. After Location type, select the type of data contained in the field or expression selected as Location field.
  4. Optionally, after Country, enter a field, expression, or text indicating the country the locations in the Location field are located.
  5. Optionally, after Administrative area (Level 1), enter a field, expression, or text indicating the first-level administrative area the locations in the Location field are located.
  6. Optionally, after Administrative area (Level 2), enter a field, expression, or text indicating the second-level administrative area the locations in the Location field are located.

Creating drill-down layers

When creating a map that has multiple points of data located in a wide geographical area, you can use drill-down dimensions to display your layers in a selection hierarchy . This enables you to use different layers at different levels within your map, ensuring only the most relevant information is being displayed.

As you make selections in a drill-down layer, the dimension used for locations changes to the next dimension in the drill-down dimension. The drill-down happens across layers that use the same drill-down dimension. If you have an area and point layer that use the same drill-down dimension, you can set which layer displays with which dimension from the drill-down dimension.

Drill-down dimensions used for drill-down layers should have the fields in order of highest geographical area to smallest geographical area.

For information on creating drill-down dimensions, see Creating a drill-down dimension.

Do the following:

  1. From Layers in the properties panel, click Add layer.
  2. Select Point layer or Area layer.
  3. Click Dimensions, click Add and select your drill-down dimension.
  4. In your layer, click Options.
  5. Click Layer display.
  6. After Visible drill-down levels, select which dimensions to display in the layer.

Limiting panning in your map

You can limit the panning settings in your map to keep the view in your map limited to a set area, such as a specific region of interest. When you limit the panning in a map, you lock the map to the current view. The map will not zoom out further than the current view. You cannot pan the map beyond the limits of the current view. If you zoom in, you can pan, but you are limited by the boundaries of the pan limit.

Do the following:

  1. From the properties panel, click Appearance.
  2. In Presentation, set Limit pan navigation to Custom.
  3. Set your map to the view you want to which you want to limit the pan.
  4. Click Set pan limit.

You can toggle the set pan limit on and off with Limit pan navigation. You can clear the saved pan limit by clicking Clear pan limit.

Using non-WGS-84 coordinate systems

If you have data and a background map in a projection other than WGS-84, you should set the base map to None, add your background map as a background layer, and then set your projection to use undefined degrees or meters depending on the unit of length used in your base map.

When using non-WGS-84 coordinates, you must use geometries loaded into a field. Location names cannot be used.

Do the following:

  1. From the properties panel, click Map settings.
  2. In Base map, select Empty (undefined degrees) or Empty (undefined meters).
  3. Select Background layer.

  4. After URL, enter the URL to a slippy map server.

    For example, http://a.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png .

  5. After Attribution, enter the attribution string for the map.

    For example, &copy; <a href='http://www.opencyclemap.org/' target='_blank'>OpenCycleMap</a>. Map data &copy; <a href='http://www.openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors.

  6. From Layers, click Add layer.
  7. Select your layer type.
  8. In Dimensions, click Add and select a field containing data in your map's coordinate system.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!