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

Introduction


So far, we have investigated various ways to create and customize maps. At the beginning, we used the Mapbox user interface to create some simple styling on the maps, and then we explored recipes to utilize Mapbox services using PHP and Node.js. In the previous chapter, we also introduced CartoCSS, the stylesheet language that will help us to customize a map with absolute control.

None of the recipes, however, covered how to build dynamic maps and display features, such as markers, on the fly. This is what we will do in this chapter, and our backing technology is a JavaScript framework called Mapbox.js.

Mapbox.js inherits from another framework called Leaflet. Leaflet was created by Vladimir Agafonkin and various other contributors, and it's extremely popular and simple to integrate and use. It takes advantage of HTML5 and CSS3 in modern browsers but is also compatible with older ones.

Leaflet's features include covering, displaying, and overlaying layers and creating markers,...

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}