Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mapbox Cookbook

You're reading from   Mapbox Cookbook Over 35 recipes to design and implement uniquely styled maps using the Mapbox platform

Arrow left icon
Product type Paperback
Published in Mar 2016
Publisher
ISBN-13 9781784397357
Length 264 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (8) Chapters Close

Preface 1. Introduction to Mapbox FREE CHAPTER 2. Mapbox Services 3. TileMill and Mapbox Studio 4. Mapbox.js 5. Mapbox.js Advanced 6. Mapbox GL Index

Introduction

Up until now, we have used Mapbox Editor to create and customize our maps. We have seen how feature-rich and powerful it is and how, using just a web interface to customize your map, it provides you with so many possibilities. We were able to totally customize the color theme, add markers and features, and customize their appearance.

Although powerful, there are times when you need more control. What if we want to change the widths of the lines that represent roads? What if we want to totally customize this width over different zoom levels? What if we want a custom font, or even better, a different font (or font size) at each zoom level? What if we want to hide or show features when a user zooms in or out?

The possibilities are endless, and the power of unlocking this level of customization lies in a language called CartoCSS. Well, it's not exactly a language like C++ or PHP, with objects and complicated memory management, but it is a much more user-friendly, stylesheet...

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 $19.99/month. Cancel anytime
Banner background image