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

Syntax and styles

Syntax and styles are the way to keep your code clean and to share it. You can always do dirty work, but for maintainability of long term, it is a must to enforce some rules.

For this, we rely on Closure Linter, one of the Closure tools. It also requires Python to run. We already installed it with pip install -r requirements; so, let's see how to use it. Later, we will see some alternatives.

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