Using Layer Maps

Use layer maps to visualize data with custom geographic boundaries. To create layer maps, you upload GeoJSON files that shape layers over a base map and join with data to visualize associated metrics and dimensions. You can customize the color, border, and opacity of the shape layers.

Layer map

Layer map visuals only support polygon shapes. Line and point geometries are not supported.

To create a layer map:
  1. Click Dashboards tab, the Dashboards tab.
  2. Click Dashboard Designer, in the bottom-left corner.
  3. On the Analyses dialog, click New analysis or click Options button, the Options button, next to an existing analysis and select Edit.
  4. On the analysis page, click , the Add visual button, on the toolbar.
    Analysis page - Create a visual
  5. Click the Layer map icon.
    Layer map icon
  6. Inside the visual, click Add shape layer.
  7. In the Layer properties panel on the right, enter a name for the layer under Layer options.
  8. Under Shape source, click Upload shape file.
  9. In the file browser dialog, select the GeoJSON file that you want to use and click Open.
    The procedure for uploading the file depends on your web browser. The maximum supported file size is 100 MB.
  10. Under Data, select fields for the visual.
    1. From the Shape file key field list, select the field that you want the shape to visualize from the fields available in the uploaded shape file.
    2. From the Dataset key field list, select the dataset field that you want the shape to visualize.
    3. To assign color to the shapes, select a field under Color.
      If the color field is a measure, the shape uses gradient coloring. If the color field is a dimension, the shape uses categorical coloring. If a color field is not assigned to the shape, you can use the fill color option in the Styling section to set a common color for all shapes.
  11. Under Styling, set the fill color and opacity and the border color, thickness, and opacity.
    If you did not assign a color field to the shape, you can use the fill color option to set a common color for all shapes.
  12. Click Format visual icon, the Format visual icon, in the top-right corner of the visual.
  13. In the Properties panel, customize the appearance of the visual.
    1. Under Display Settings, format the title and subtitle.
    2. Under Map options, select the type of the base map that appears beneath the data.
      For example, you can use a gray canvas, a street view, or a satellite view.
    3. To enable panning and zooming for the map, enable the Allow panning and zooming option.
    4. Under Map layers, click Open menu icon, the Open menu icon, next to a map layer and select Edit to update the layer settings.