Part 1: Mapbox
- Log in to your Mapbox account and go to Studio.
- Create a new style based on Basic.
- Change the color of some polygons and lines.
- Change the font of some labels.
- Make buildings more transparent when zoomed out and less transparent when zoomed in.
- Experiment!
Part 2: Add a Mapbox style to Carto
- Publish your style from the previous part.
- Find the Carto URL as detailed in the slides, and copy it.
- Open a Carto map.
- Click on the basemap to change it, select Mapbox for the source, and enter the URL from Mapbox.
Part 3: Add a Mapbox layer
- Mapbox Basic doesn't contain contour lines. Let's fix this.
- Add a new layer by clicking + Add Layer in the top left.
- Under Unused sources find and expand Mapbox Terrain V2.
- Select contour, change its type from Fill to Line and style it.
- You may need to zoom in (at least zoom level 9) in a not-too-flat area to see the contour lines.
Part 4: Add your own layer
- Mapbox Basic also doesn't contain the borough boundaries. Let's add those now.
- Download today's data and unzip it. The zip file nybb.zip contains the borough boundaries shapefile.
- Add a new layer to your style. Instead of using an available layer, click New tileset and upload nybb.zip.
- Once the upload is complete, select it and style the layer.