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

Chapter 9. Using Vector Layers

At this point, we've gone over the foundation of OpenLayers. We've covered the core classes—Map, Controls, and Layers. The rest of this book will focus more on refining that core knowledge, expanding on concepts already introduced and delving a bit into more of the 'advanced' things we can do with the API.

We'll start diving into some of these advance topics starting with this chapter, covering the Vector Layer class. With it, our maps can be made even more interactive, responsive, and sleeker by showing and allowing interaction with vector data.

We'll go over how to create a vector layer, create and interact with objects in it, load data from external files (like KML), and more. Throughout this chapter, we'll go over ...

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