Cargando…

Leaflet.js essentials : create interactive, mobile-friendly mapping applications using the incredibly light yet powerful Leaflet.js platform /

Chapter 4: Creating Custom Markers; Creating a custom marker; Preparing your workspace in GIMP; Drawing and saving your image; Drawing the marker shadow; Using an image as an icon; Using a custom marker in Leaflet; Defining an L. Icon class; Using predefined markers with plugins; Using Mapbox Maki m...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Crickard, Paul
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Pub., 2014.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
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