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.

Get OpenLayers 3 : Beginner's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.