Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

260
Views
How do I use a private Mapbox Tileset in Mapbox GL JS?

I have a Frontend build with Mapbox GL JS and would like it to access a private Tileset that I uploaded to Mapbox Studio. However private Tilesets can only be accessed with secret Tokens and Mapbox refuses to work when initialized with those.

Is there a way I can keep my Map private and access it through Mapbox GL?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

However private Tilesets can only be accessed with secret Tokens

I think you are mistaken. Private tilesets can be accessed by any token from the same account, as per the documentation:

If a tileset is public, the tileset ID can be used by any Mapbox user with their access tokens. But, only the owner of a tileset can make changes or delete a tileset, even if it's public. If a tileset is private, the tileset ID can only be used with an access token from the owner's account. By default, new tilesets created in Mapbox Studio are private.

So, switch to using a regular public token and it should work.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!