Adding a Base Map Layer

Let’s try adding a new base map to our map. Mapbox comes with several options for styling your base map layer, which is documented in their Styles API pages. For this workshop, we’re going to switch from the boilerplate’s satellite to imagery to something lighter and with labels for geographic features. This will work best when we overlay a historical map and data.

To Do

  1. In VS Code, identify the line in your boilerplate which defines the source of your base map layer. It should look like style: "mapbox://styles/mapbox/satellite-v9".
  2. Change the style to mapbox://styles/mapbox/light-v11.
  3. Save these changes in VS Code and observe the changes to your map in the browser.