Locate Press

Open Source Geospatial Books

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 locatepress.com 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

  © Copyright 2013-2021 Locate Press, All Rights Reserved    
5.0.0 titan