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

Appendix A. Object-oriented Programming – Introduction and Concepts

When you need to make a custom map using the OpenLayers 3 library, you need to grasp the common programming sentences and vocabularies.

Why? It's because OpenLayers relies on JavaScript, a programming language based on object-oriented programming (OOP). Knowledge about OOP is shared amongst programmers. Without this knowledge, it will be difficult to talk about programming issues, for example, on a forum.

We will see that behind complex words lie simple concepts. In fact, everyone uses OOP concepts on a daily basis but without being aware of it.

In this appendix, we will cover:

  • What object-oriented programming is
  • How OOP in the OpenLayers 3 API context can be useful

Let's talk ...

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