Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mapbox Cookbook

You're reading from  Mapbox Cookbook

Product type Book
Published in Mar 2016
Publisher
ISBN-13 9781784397357
Pages 264 pages
Edition 1st Edition
Languages

Table of Contents (13) Chapters

Accessing styled tiles on your map


We can use Mapbox services to fetch specific tiles from the service. To do so, we will use the GET HTTP verb to request the tile from Mapbox servers.

The advantage with REST GET requests is that you don't even need special tools or knowledge to call them.

I will present four methods that do not require coding, are easy to use, and will help us get through the chapter.

How to do it…

Here are the four ways:

  • Copy and paste the URL in your browser: Yes, as simple as that! You can simply paste the URL in the web browser, and it will automatically perform the request for you. Although, it's not generally recommended to do it this way; I highly recommend that you use a specialized tool for this task from the ones mentioned in the following points.

  • Use a third-party online tool: You can also use a third-party online tool, such as https://www.hurl.it/, to do REST calls.

  • Use a browser extension: For Chrome, I suggest PostMan, which can be found at https://chrome.google...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}