Cargando…

Leaflet.js Essentials.

Starting with how to create maps, you will learn about choosing your basemap and customizing it by adding various attributes such as zoom, start view, pop ups, and so on. Once you have gained experience of creating your own map with Leaflet, you will move on to combining Leaflet with GeoJSON and add...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: III, Paul Crickard
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Packt Publishing, 2014.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Creating Maps with Leaflet; Creating a simple basemap; Referencing the JavaScript and CSS files; Using a hosted copy; Using a local copy; Creating a tag to hold the map; Creating a map object; Adding a tile layer; Tile layer providers; Adding a Web Mapping Service tile layer; Multiple tile layers; Adding data to your map; Points; Polylines; Polygons; Rectangles and circles; Rectangles; Circles; MultiPolylines and MultiPolygons; MultiPolylines; MultiPolygons
  • Groups of layersLayer group; Feature groups; Pop ups; Mobile mapping; HTML and CSS; Creating the mobile map with JavaScript; Events and event handlers; Custom functions; Summary; Chapter 2: Mapping GeoJSON Data; Understanding GeoJSON''s roots; Exploring GeoJSON; GeoJSON in Leaflet.js; GeoJSON as a variable; Multiple geometries in GeoJSON; Polygons with holes; GeoJSON from Leaflet.js objects; Styling GeoJSON layers; Iterating through the features; Attaching pop ups with onEachFeature; Making layers from points with pointToLayer; Displaying a subset of data with filter; Summary
  • Chapter 3: Creating Heatmaps and Choropleth MapsWhat is a heatmap?; Heatmaps with Leaflet.heat; Using options to style your map; Changing the blur value; Changing the maxZoom value; Changing the radius value; Setting the gradient option; Methods of Leaflet.heat; Adding markers to the heatmap; Creating heatmaps with heatmap.js; Modifying the heatmap options; Adding more data to the map; Creating an interactive heatmap; Animating a heatmap; Creating a choropleth map with Leaflet; The GeoJSON data; Setting the color with a function; Styling the GeoJSON data; Creating a normalized choropleth map
  • Making your markers moveUsing markers for data visualization; Using the Leaflet Data Visualization Framework plugin; Making basic markers; Bar and pie chart markers; Summary; Chapter 5: ESRI in Leaflet; ESRI basemaps; Using shapefiles in Leaflet; Consuming ESRI services; Heatmaps with ESRI in Leaflet; Geocoding addresses in Leaflet; Geocoding
  • from an address to a point; Geocoding from URL parameters; Reverse geocoding
  • using points to find addresses; Query by attribute; Query by proximity; Summary; Chapter 6: Leaflet in Node.js, Python, and C#; Building Leaflet applications with Node.js