Book Image

OpenLayers 3.x Cookbook - Second Edition

By : J. Langley, Antonio Santiago
Book Image

OpenLayers 3.x Cookbook - Second Edition

By: J. Langley, Antonio Santiago

Overview of this book

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 (9 chapters)
8
Index

Introduction


OpenLayers is a big and complex framework. Advantageously, such a powerful and mature framework allows us to work with many GIS standards, read from many different data sources, render on different browser technologies, and so on. This capability does come at a cost, complexity, and download size to name a few.

As when learning anything else, spending time with OpenLayers will result in a familiarization of the library concepts, and we'll look at how to reduce download size in the Using the custom OpenLayers library build recipe, which is especially useful for mobile users or situations where network limitations may be unavoidable.

The implementation of OpenLayers 3 has less homegrown utility functionality, as seen in OpenLayers 2. OpenLayers 3 leans on the Google Closure library for this reason. With Google Closure embedded in the library core, OpenLayers is theoretically a self-contained library with no other dependencies required.

In this chapter, we'll take a look at some more...