Basemaps are image tiles that are used to render the graphical representation of your map background. Basemaps include the natural and cultural features of the world; such as water bodies, topography, park areas, terrains, roads, streets, and sometimes buildings.
In some cases, you may need to change your basemap to better visualize the map background as it appears underneath other map layers. For example, are the map layer colors too similar to distinguish from the basemap features? Do you need to make your markers stand out against the basemap background? Did you change the map projection, obscuring the visualization between layers?
This guide describes how basemaps are rendered, and how to change your basemap options.
When opening maps in Builder, the LAYERS pane displays the basemap, and map data layers, that are the backbone for rendering your visualization.
Import the template .carto file packaged from the "Download resources" of this guide and create the map.
The map contains three map layers that display a combination of population data, and the United States. The map layers have custom SQL queries applied that changed the map projection with custom state labels, and each map layer contains custom styling. If you receive an error, you may need to add the projection to your account.
Some basemaps (Positron, Dark Matter, Stamen Toner) include a second basemap layer, specifically for overlaying basemap labels. These labels are part of the selected basemap source, and are not editable. You cannot reorder where the basemap label appears in your LAYERS pane. This is intentional by design, as we found that most basemap labels are rendered correctly on top of your data.
However, both CARTO and STAMEN include LABELS BELOW styles to display basemap labels below your data. Change the basemap to show the labels below your map layers.
From the LAYERS pane in Builder, click on the basemap name.
The basemap options appear.
Keeping CARTO as the basemap Source, click POSITRON (LABELS BELOW) as the Style.
Builder refreshes when basemaps styles are selected. The basemap labels appear underneath the map layers.
To change the basemap, you must select a Source and Style from the basemap options.
For this example, the basemap is still not representing your redefined data correctly. The United States map layer appears projected over a world map. Note that this example is using a custom projection. Change the basemap again, to better display your final data.
Select COLOR as the basemap Source.
Click the COLOR to open the color picker.
You can select a color with the color slider, adjust the saturation and lightness by clicking and dragging the color modifier, or enter a custom color in the HEX or RGB input fields.
Enter 3d3d3d in the HEX input field.
The basemap color appears so that you no longer see the world map in the background. The United States correctly appears on your visualization.
We would love to hear from you! Was it easy to understand? Do you need more information? Let us know.