Presentation and control of interactive maps for traditional Internet and mobile platforms is now in your hands using leaflet.js. This book is aimed at helping people get started with this awesome JavaScript library.

This book will help you learn how to create maps with the Leaflet JavaScript library through a series of step-by-step recipes to achieve great dynamic and interactive slippy maps.

You will also learn how to add dynamic responsive features to your maps through the use of tiles, WMS, GeoJSON, custom markers with popups, interactive vector objects, and standard controls, as well as custom ones. Furthermore, preparing to deploy on mobile and using the location of the device will be explained in detail.

Everything you need to know about Leaflet to create great maps, from a basic slippy map to a colorful, animated, interactive, choropleth map, will be explained in this book.