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

Summary

In this appendix, we learned a lot about the Closure Tools. It is always important to understand how things work to be able to track why your code is not working. Without this review, when using, for example, the ADVANCED mode, you will stay stuck and end up keeping the default file for production. If you do so, you are losing partly the OpenLayers 3 philosophy: this version is a rewrite to have a better API and to get performances.

In the first part of the appendix, we learned why performance is important. Next, we saw how to reuse Closure Library or how to overload default OpenLayers 3 components. We then inspected how to practically use Closure Compiler itself in the OpenLayers development context.

Finally, we introduced you to some tools ...

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