In Chapter 2, Key Concepts in OpenLayers, we introduced the concept of observable, or KVO, properties and how they can be used. Here are the KVO properties of the Map class:
All properties on the Map class, and all other classes in OpenLayers that inherit from ol.Object, can be used with the KVO methods described previously.