O'Reilly logo

OpenLayers 2.10 by Erik Hazzard

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

OpenLayers.Control subclasses

OpenLayers provides a lot of different types of controls, and an up to date list can always be found at http://dev.openlayers.org/docs/files/OpenLayers/Control-js.html. Some controls are deprecated, and should not be used, so we will not cover controls that will not be supported in OpenLayers version 3.0 or greater.

Some properties and functions of some controls are mainly for advanced users and are outside the scope of this book, so we won't cover them all. Some other controls are used in accordance only with the Vector Layer class—so we'll get to those in Chapter 9. However, that still leaves us a lot to cover here now, so let's get started!

OpenLayers.Control.ArgParser

As we mentioned earlier, this is a control added ...

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