Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • OpenLayers 2.10 Beginner's Guide
  • Toc
  • feedback
OpenLayers 2.10 Beginner's Guide

OpenLayers 2.10 Beginner's Guide

4.2 (9)
close
OpenLayers 2.10 Beginner's Guide

OpenLayers 2.10 Beginner's Guide

4.2 (9)

Overview of this book

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

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 many different types of examples and build upon them to demonstrate how the Vector Layer works.

In this chapter will cover the Vector Layer class, along with a couple of other related classes. We'll:

  • Discuss what the Vector Layer class is and see...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete