OpenLayers 3.x Cookbook - Second Edition

Over 50 comprehensive recipes to help you create spectacular maps with OpenLayers 3
Preview in Mapt

OpenLayers 3.x Cookbook - Second Edition

Peter J. Langley, Antonio Santiago Perez

1 customer reviews
Over 50 comprehensive recipes to help you create spectacular maps with OpenLayers 3

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


OpenLayers 3.x Cookbook - Second Edition Book Cover
OpenLayers 3.x Cookbook - Second Edition
$ 35.99
$ 25.20
GeoServer Beginner's Guide Book Cover
GeoServer Beginner's Guide
$ 29.99
$ 6.00
Buy 2 for $23.50
Save $42.48
Add to Cart

Book Details

ISBN 139781785287756
Paperback304 pages

Book Description

OpenLayers 3 is one of the most important and complete open source JavaScript mapping libraries today.

Throughout this book, you will go through recipes that expose various features of OpenLayers 3, allowing you to gain an insight into building complex GIS web applications.

You will get to grips with the basics of creating a map with common functionality and quickly advance to more complicated solutions that address modern challenges. You will explore into maps, raster and vector layers, and styling in depth. This book also includes problem solving and how-to recipes for the most common and important tasks.

Table of Contents

Chapter 1: Web Mapping Basics
Introduction
Creating a simple fullscreen map
Playing with the map's options
Managing the map's stack layers
Managing the map's controls
Moving around the map view
Restricting the map's extent
Chapter 2: Adding Raster Layers
Introduction
Using Bing imagery
Using OpenStreetMap imagery
Adding WMS layers
Changing the zoom effect
Changing layer opacity
Buffering the layer data to improve map navigation
Creating an image layer
Setting the tile size in WMS layers
Chapter 3: Working with Vector Layers
Introduction
Adding a GML layer
Adding a KML layer
Creating features programmatically
Exporting features as GeoJSON
Reading and creating features from a WKT
Using point features as markers
Removing or cloning features using overlays
Zooming to the extent of a layer
Adding text labels to geometry points
Adding features from a WFS server
Using the cluster strategy
Reading features directly using AJAX
Creating a heat map
Chapter 4: Working with Events
Introduction
Creating a side-by-side map comparator
Implementing a work-in-progress indicator for map layers
Listening for the vector layer features' events
Listening for mouse or touch events
Using the keyboard to pan or zoom
Chapter 5: Adding Controls
Introduction
Adding and removing controls
Working with geolocation
Placing controls outside the map
Drawing features across multiple vector layers
Modifying features
Measuring distances and areas
Getting feature information from a data source
Getting information from a WMS server
Chapter 6: Styling Features
Introduction
Styling layers
Styling features based on geometry type
Styling based on feature attributes
Styling interaction render intents
Styling clustered features
Chapter 7: Beyond the Basics
Introduction
Working with projections
Creating a custom control
Selecting features by dragging out a selection area
Transitioning between weather forecast imagery
Using the custom OpenLayers library build
Drawing in freehand mode
Modifying layer appearance
Adding features to the vector layer by dragging and dropping them
Making use of map permalinks

What You Will Learn

  • Create stunning maps, and understand projection
  • Add customized raster and vector layers
  • Work with important tile providers
  • Work with OGC, WMS, and WFS compliant servers
  • Read/write features from/to different data sources
  • Style features to improve their visualization
  • Understand events and work with the main controls
  • Enhance maps with HTML5 technologies such as Geolocation

Authors

Table of Contents

Chapter 1: Web Mapping Basics
Introduction
Creating a simple fullscreen map
Playing with the map's options
Managing the map's stack layers
Managing the map's controls
Moving around the map view
Restricting the map's extent
Chapter 2: Adding Raster Layers
Introduction
Using Bing imagery
Using OpenStreetMap imagery
Adding WMS layers
Changing the zoom effect
Changing layer opacity
Buffering the layer data to improve map navigation
Creating an image layer
Setting the tile size in WMS layers
Chapter 3: Working with Vector Layers
Introduction
Adding a GML layer
Adding a KML layer
Creating features programmatically
Exporting features as GeoJSON
Reading and creating features from a WKT
Using point features as markers
Removing or cloning features using overlays
Zooming to the extent of a layer
Adding text labels to geometry points
Adding features from a WFS server
Using the cluster strategy
Reading features directly using AJAX
Creating a heat map
Chapter 4: Working with Events
Introduction
Creating a side-by-side map comparator
Implementing a work-in-progress indicator for map layers
Listening for the vector layer features' events
Listening for mouse or touch events
Using the keyboard to pan or zoom
Chapter 5: Adding Controls
Introduction
Adding and removing controls
Working with geolocation
Placing controls outside the map
Drawing features across multiple vector layers
Modifying features
Measuring distances and areas
Getting feature information from a data source
Getting information from a WMS server
Chapter 6: Styling Features
Introduction
Styling layers
Styling features based on geometry type
Styling based on feature attributes
Styling interaction render intents
Styling clustered features
Chapter 7: Beyond the Basics
Introduction
Working with projections
Creating a custom control
Selecting features by dragging out a selection area
Transitioning between weather forecast imagery
Using the custom OpenLayers library build
Drawing in freehand mode
Modifying layer appearance
Adding features to the vector layer by dragging and dropping them
Making use of map permalinks

Book Details

ISBN 139781785287756
Paperback304 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

GeoServer Beginner's Guide Book Cover
GeoServer Beginner's Guide
$ 29.99
$ 6.00
PostGIS Cookbook Book Cover
PostGIS Cookbook
$ 29.99
$ 21.00
OpenLayers Cookbook Book Cover
OpenLayers Cookbook
$ 26.99
$ 18.90
Python Geospatial Development - Third Edition Book Cover
Python Geospatial Development - Third Edition
$ 39.99
$ 28.00
Mastering QGIS - Second Edition Book Cover
Mastering QGIS - Second Edition
$ 43.99
$ 30.80
Learning QGIS - Third Edition Book Cover
Learning QGIS - Third Edition
$ 27.99
$ 19.60