Instant Interactive Map designs with Leaflet JavaScript Library How-to

Jonathan Derrough

  • 出版商: Packt Publishing
  • 出版日期: 2013-04-19
  • 售價: $760
  • 貴賓價: 9.5$722
  • 語言: 英文
  • 頁數: 52
  • 裝訂: Paperback
  • ISBN: 1782165207
  • ISBN-13: 9781782165200
  • 相關分類: JavaScript
  • 下單後立即進貨 (約3~4週)




An intuitive guide to creating animated, interactive maps with the Leaflet JavaScript library in a series of straightforward recipes


  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
  • Create user-friendly, interactive maps for desktop and mobile platforms
  • Deploy maps for desktop and mobile platforms
  • Add tiles, WMS, GeoJSON, custom markers with popups, and standard and custom controls to your maps
  • Create an interactive choropleth map

In Detail

Leaflet open source JavaScript library is a great alternative to GoogleMaps for creating dynamic and interactive maps. More importantly, it will enable you to layer your maps with data from a wide range of providers, or your own. Data on maps can take many forms – tiles, interactive markers, vector objects – and Leaflet handles them all.

Instant Interactive Map designs with Leaflet JavaScript Library How-to is written as a Cookbook, with straightforward recipes to help you harness the powerful features of the leading open source map library, from imagery to interactive vector objects on desktop and mobile browsers.

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.

What you will learn from this book

  • Setting up a development environment
  • Building Leaflet from source
  • Creating tile layers
  • Deploying on mobile
  • Using location
  • Creating custom markers with popups
  • Handling events
  • Using layer groups
  • Displaying a map’s controls
  • Using GeoJSON to create vector map objects


Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. This How-to guide offers techniques and skills through recipes. The guide is packed with step-by-step instructions for anyone who wants to learn to design and deploy interactive maps to their application

Who this book is written for

This book is a perfect fit for developers without prior knowledge of other map APIs and wishing to build great maps in no time. Basic knowledge of working with JavaScript and web application development is essential.