Open Source Geospatial Books

Access GIS books on QGIS, Leaflet, pgRouting, and education

Leaflet Cookbook

Recipes for Creating Dynamic Web Maps

by Numa Gremling

Book cover for Leaflet Cookbook by Locate Press

PDF $34.99
336 pages
ISBN (Print) 978-0998547756
ISBN (PDF) 978-1734464368
Published 2019-03-05 

Cook up dynamic web maps using the recipes in the Leaflet Cookbook.

Leaflet Cookbook will guide you in getting started with Leaflet, the leading open-source JavaScript library for creating interactive maps. You'll move swiftly along from the basics to creating interesting and dynamic web maps.

Even if you aren't an HTML/CSS wizard, this book will get you up to speed in creating dynamic and sophisticated web maps. With sample code and complete examples, you'll find it easy to create your own maps in no time.

A download package containing all the code and data used in the book is available so you can follow along as well as use the code as a starting point for your own web maps.


The PDF version is complete and available from our website. If you purchased the preview PDF, you can regenerate and download the final version by visiting and clicking on the "My Book" link.

The print version is available to order from Amazon and other resellers.

If you want notification when books are updated, follow Locate Press on twitter. We’ll tweet changes/updates to keep you in sync.

Sample Leaflet.js map code for popups and tooltips


  1. Introduction
  2. Getting Started
  3. The Map
  4. Map Controls
  5. Raster Layers and Web Services
  6. Vector Layers
  7. Working with GeoJSON
  8. Getters and Setters
  9. Layout and Styling
  10. Events and Event Objects
  11. Geoprocessing with Turf.js
  12. Mobile Development and Geolocation
  13. Databases
  14. Advanced Topics

Numa is a senior GIS developer and team leader at geoSYS in Berlin, Germany. His focuses are web mapping applications and infrastructures, as well as location-based mobile apps.

He also develops plugins for desktop GIS software and teaches several programming and GIS classes.

He has worked on various projects of regional and national scale in Germany, Jamaica, Madagascar, and South Africa.

Ordering Information

Our paperbacks can be ordered from Amazon or Ingram. E-books (PDF) can be ordered and downloaded directly from our Purchase E-books page.

If you need multiple print copies of our titles, contact us directly to place an order and save up to 20% when you purchase five or more copies. We print in, and ship from USA, UK, and Australia, but can deliver almost anywhere.

To get a quote and/or place an order, please contact us for details. Before you order, please read our Return Policy.

  © Copyright 2011-2022 Locate Press. All Rights Reserved. Design by Nathan Watson    
6.0.0 titan