Skip to main content Skip to complementary content

Creating a map

To be able to create a map, you first need to load point data or area data.You can load point data (Excel or KML file) or area data (KML file). You load the data either through the data manager or the data load editor.

See: Loading map data

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. Click Add dimension and select a dimension or a field.

    Geo fields are marked with , .

  3. Select a field to represent point or area names on the map.
  4. Add a dimension or measure to the map (optional).

    Dimensions can be used to color a map.

    Measures can be used to color a map or set the size of points on a point layer map.

You can add a dimension to the chart in different ways:

From a data field. (The Fields section is not available in a published app.) Creating a visualization from fields
From master items. Creating a visualization using master items
From the properties panel.

Adding a dimension

When you have created the map, you may want to adjust its appearance and other settings in the properties panel.

Adding a background map

You can add a background map to both point maps and area maps. However, if you have added a point layer to your map, a CartoDB background map is automatically added. You can use maps from other providers.

Do the following:

  1. In the toolbar, click @Edit.

  2. In the properties panel to the right, click Background.

  3. Switch Show to On.

  4. Switch Map service to Custom.

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

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

  6. 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.

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 – please let us know!