1. 17
    Create a New Basemap Style in Mapbox Studio
    22s

Create a New Basemap Style in Mapbox Studio

Colby Fayock
InstructorColby Fayock
Share this video with your friends

Social Share Links

Send Tweet
Published 4 years ago
Updated 4 years ago

Here's where you can go nuts!

Your first extra credit assignment is to go back to Mapbox and create a new Map Style. Now that you're on your own, you can choose any basemap you want, whether it's a vector map or one with satellite imagery. Feel free to customize and use any color you'd like!

Once you create your new style, you can update your Search page basemap TileLayer to use that new style.

Click here for exercise instructions

Colby Fayock: [0:00] If we wanted to create a new style, we can go to the Mapbox Studio just like before where we can create a new style. This time, I'm going to select satellite streets, and then I'll hit Customize satellite streets. I'm going to leave this as is just like before and go back to styles.

[0:12] Here, I'm going to grab the style URL so they can paste that value in, and I can grab the ID. Now, I can update our environment variable for the style ID and restart our development server. I can see my new satellite basemap.

egghead
egghead
~ 6 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today