Creating a map
To be able to create a map, you first need to load point data or area data.
See: Loading map data
You can add a map to the sheet you are editing.
Do the following:
- From the assets panel, drag an empty map to the sheet.
- Click Add dimension and select a dimension or a field.
- Add a measure to the map (optional).
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 Mapbox background map is automatically added. You can use maps from other providers.
Do the following:
-
In the toolbar, click Edit.
-
In the properties panel to the right, click Background.
-
Switch Show to On.
-
Switch Map service to Custom.
-
From the list of slippy map servers below, copy a URL and paste it into the URL text field.
-
From the same list, copy the attribution string for the chosen URL and paste the string into the Attribution text field.
Slippy map servers
These are the available URLs and attribution strings for the background map.
OpenStreetMap
URL | http://tile.openstreetmap.org/${z}/${x}/${y}.png |
Attribution string | © <a href='http://www.openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors |
OpenCycleMap
URL |
http://a.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png
http://b.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png http://c.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png |
Attribution string | © <a href='http://www.opencyclemap.org/' target='_blank'>OpenCycleMap</a>. Map data © <a href='http://www.openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors |
MapQuest OSM
URL |
http://otile1.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png
http://otile2.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png http://otile3.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png http://otile4.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png |
Attribution string | Data, imagery and map information provided by <a href='http://www.mapquest.com/' target='_blank'>MapQuest</a>, <a href='http://www.openstreetmap.org/' target='_blank'>OpenStreetMap</a> and contributors, <a href='http://creativecommons.org/licenses/by-sa/2.0/' target='_blank'>CC-BY-SA</a> <img src='http://developer.mapquest.com/content/osm/mq_logo.png' border='0'> |
MapQuest Open Aerial
URL |
http://otile1.mqcdn.com/tiles/1.0.0/sat/${z}/${x}/${y}.png
http://otile2.mqcdn.com/tiles/1.0.0/sat/${z}/${x}/${y}.png http://otile3.mqcdn.com/tiles/1.0.0/sat/${z}/${x}/${y}.png http://otile4.mqcdn.com/tiles/1.0.0/sat/${z}/${x}/${y}.png |
Attribution string | Tiles Courtesy of <a href='http://open.mapquest.co.uk/' target='_blank'>MapQuest</a>. Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency. <img src='http://developer.mapquest.com/content/osm/mq_logo.png' border='0'> |
MapBox Natural Earth (only supports the first five zoom levels)
URL |
http://a.tiles.mapbox.com/v3/mapbox.natural-earth-hypso-bathy/${z}/${x}/${y}.png
http://b.tiles.mapbox.com/v3/mapbox.natural-earth-hypso-bathy/${z}/${x}/${y}.png http://c.tiles.mapbox.com/v3/mapbox.natural-earth-hypso-bathy/${z}/${x}/${y}.png http://d.tiles.mapbox.com/v3/mapbox.natural-earth-hypso-bathy/${z}/${x}/${y}.png |
Attribution string | Tiles © <a href='http://mapbox.com/'>MapBox</a> |