O'Reilly logo

OpenLayers 3 : Beginner's Guide by Erik Hazzard, Paul Spencer, Thomas Gratier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introducing Closure Library, yet another JavaScript library

Although the OpenLayers 3 development team chose Closure Library mainly for performance purposes, it is not the only reason.

To demonstrate, let's try some functions with Closure Library.

The basics

We will review the most useful functions when you chose to use the Closure Library. It will also help for understanding OpenLayers 3 internal code, based on Closure, when making custom components. Let's start with DOM functions.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required