Book Image

OpenLayers 2.10 Beginner's Guide

Book Image

OpenLayers 2.10 Beginner's Guide

Overview of this book

Table of Contents (18 chapters)
OpenLayers 2.10
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Layer class methods


We've covered the properties of the base layer class and discussed most of the layer subclasses so far. The remaining topic to cover is the functions or methods of the base layer class. Since we'll be talking about the functions of the layer class, all layer subclasses inherit and use these functions. Before we get to the functions though, let's cover how to access layer objects in Firebug.

Note

What's the difference between a function and a method? A method is just a term for a function that is owned by an object or a class.