All docschevron-rightHelpchevron-rightarrow-leftTutorialschevron-rightVideo: Add a route line with bézier curves

Video: Add a route line with bézier curves

Beginner
codeNo code

This video tutorial shows you how to use a bézier curve drawing tool to add smooth parametric bézier curves to a map.

Getting started

Draw your line

  • 0:39 - With the pen, begin drawing your route line.
  • 1:07 - Use the edit tool to edit anchor points on your route line.
  • 1:38 - Export your line in GeoJSON format.
  • 1:49 - Open Studio and create a new style.

Import your line

  • 2:05 - Add a new layer to your map style.
  • 2:10 - Upload your GeoJSON file to create a new tileset.
  • 2:30 - Select the tileset as the source for your new layer.

Style your line

  • 2:38 - Style the new line layer.

Next steps

Now you know how to add smooth parametric bézier curves to a map style.

Here are some things to try next: