All docsHelpTutorialsVideo: Add bilingual labels to a map with expressions in Studio

Video: Add bilingual labels to a map with expressions in Studio

This video shows you how to use expressions for string and data operations in Mapbox Studio. In this case, the video demonstrates how you can use expressions to add bilingual labels to a map. You can also use expressions to formulaically define logical, mathematical, or camera operations.

Set the default language

  • 0:13 - Go to Studio and create or open a map style.
  • 0:34 - Open the Place labels component and set the default language for all place labels.

Add a second language

  • 0:50 - Click a label on your map to access the layer options.
  • 0:57 - Note the existing expression in Text field.
  • 1:12 - Edit the expression to add a second language label.
  • 1:53 - Use the JSON editor to copy the full JSON expression to other layers.

Learn more

Next steps

Now you know how to use expressions in Mapbox Studio.

Here are some things to try next: