After this long introduction to manipulation of controls, let's review all of them step by step. You can refer to the following diagram for a quick overview of the class hierarchy:
As you can see, all
ol.control.* classes inherit from
So, first let's see this
ol.control.Control is the parent class of all the available controls. It inherits from
ol.Object, an abstract class that also inherits from
ol.Observable, a convenient class to provide and manage listeners.
This object is responsible for the common options that all controls contain. All controls ...