Start reading OpenLayers 2.10 Beginner's Guide on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
OpenLayers 2.10 Beginner's Guide

OpenLayers 2.10 Beginner's Guide [Kindle Edition]

Erik Hazzard
4.0 out of 5 stars  See all reviews (3 customer reviews)

Print List Price: £27.99
Kindle Price: £17.50 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £10.49 (37%)
* Unlike print books, digital books are subject to VAT.


Amazon Price New from Used from
Kindle Edition £17.50  
Paperback £26.58  
Kindle Daily Deal
Kindle Daily Deal: At least 60% off
Each day we unveil a new book deal at a specially discounted price--for that day only. Learn more about the Kindle Daily Deal or sign up for the Kindle Daily Deal Newsletter to receive free e-mail notifications about each day's deal.

Special Offers and Product Promotions

  • Purchase any Kindle Book sold by and receive £1 credit to try out our Digital Music Store. Here's how (terms and conditions apply)

Customers Who Bought This Item Also Bought

Product Description

Product Description

This is a beginner's guide with the essential screenshots and clearly explained code, which also serves as a reference. This book is for anyone who has any interest in using maps on their website, from hobbyists to professional web developers. OpenLayers provides a powerful, but easy-to-use, pure JavaScript and HTML (no third-party plug-ins involved) toolkit to quickly make cross-browser web maps. A basic understanding of JavaScript will be helpful, but there is no prior knowledge required to use this book. If you've never worked with maps before, this book will introduce you to some common mapping topics and gently guide you through the OpenLayers library. If you're an experienced application developer, this book will also serve as a reference to the core components of OpenLayers.

About the Author

Erik Hazzard is a web developer - designer, Open Source advocate, and VI user. He loves to learn, teach, and occasionally blogs on his website at As a professional web developer of five years, Erik specializes in Python and Javascript, using open source software whenever possible. When he's not developing web applications, he's often developing or designing video games.

Product details

  • Format: Kindle Edition
  • File Size: 2595 KB
  • Print Length: 372 pages
  • Publisher: Packt Publishing (18 Mar 2011)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B005685FB0
  • Text-to-Speech: Enabled
  • X-Ray:
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Bestsellers Rank: #413,634 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4.0 out of 5 stars
4.0 out of 5 stars
Most Helpful Customer Reviews
1 of 1 people found the following review helpful
This review is of the electronic edition viewed using the iBook reader on an Apple iPad device. The electronic edition can be downloaded in PDF and ePub formats, and can be purchased directly from Packt. It can also be purchased as a traditional softback book from Amazon and the proverbial "all good booksellers".

OpenLayers 2.10 Beginner's Guide by Erik Hazzard is a good overview and reference of the OpenLayers open source library. The book provides a much-needed complement to the reference material and sample code available on the the OpenLayers website, although it has a number of typos and at least one of the electronic formats has numerous formatting errors.

OpenLayers is a popular Javascript library that is used to produce "slippy" AJAX maps. It is used as a client front end to arious heterogenous data sources which can be easily mixed together. The Openlayers website includes an API reference and many samples. The samples can be easily copies, but they only go so far. There has been a need for a book that explains how and why certain methods and properties work, to fill in the gaps, and to go beyond the coverage of the samples (eg. with coverage of Strategies and Rules). This is that book.

The book is written as a tutorial but also includes API reference material. The author does a good job of blending these two approaches. Each section of discussion and reference text is followed by "Time for action" (implementation example), "What just happened?" (explanation), and "Have a go hero" (exercise suggestions for modifying the code). Although I'm not sure about the "Have a go hero" moniker, the full package generally works well.

Introductory chapters include an overview of what OpenLayers is (and is not), Object Oriented Programming (OOP), and Firebug.
Read more ›
Comment | 
Was this review helpful to you?
By Mike
Format:Paperback|Verified Purchase
I bought this books as a programmer needing to learn OpenLayers. It did the job, but at a painfully slow pace. The bulk of it seems to focus on teaching the basics of programming and explaining the obvious in relation to what is going on, which caused me to end up skim-reading and possibly missing out on some important points.

Code examples in the book can get a bit repetitive at times as each time you create a new map, you're seeing the same boilerplate code and instructions re-pasted into the book. In my opinion it also does not promote very good style. Use of global variables seem to be encouraged and there is even an exercise about how to move variables into the global scope - for those who don't know what globals are. There also was at least one example of an object literal with a comma trailing the final key:value pair. This works in Firefox, the browser of choice for this book, but can fail in others.

On a positive note I found the book easy to follow and it covers quite a wide range of features. It is certainly accessible. Use of firebug to demonstrate what's going on is nice too. I would have preferred a little more information about projections, but other than that not bad.
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Superb and well written 15 Jun 2012
Format:Paperback|Verified Purchase
I needed to get up to speed on Open Layers quickly and this is the book that did it. Nice and easy to read with plenty of examples.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 3.7 out of 5 stars  3 reviews
3 of 3 people found the following review helpful
5.0 out of 5 stars Good book for beginners and a good reference for advanced users 17 Jun 2013
By Courtney McNealy - Published on
This book was a great way to get started using OpenLayers. It has chapters that cover how to set up a basic map using Google, Yahoo, Bing, or OpenStreetMap, how to add controls and use layers, and would be useful even for someone who does not know javascript, html, or css.

EDIT: My initial review criticized this book's lack of useful information for making markers, etc, but really this was a misunderstanding of OpenLayers on my part. This book has in-depth information about how to build "features" on vector layers, which are many times more powerful than "markers". There is also lots of information and reference material in this book about events and event listeners, which is sometimes hard to find in the online documentation.

I have increased my rating of this book to 5 stars because of how useful it has been to me. I started building a map using this book when I knew nothing about OpenLayers, and have advanced to making custom controls, complex events, and advanced styling based on the information in this book!
0 of 1 people found the following review helpful
3.0 out of 5 stars For very begginers. 4 Oct 2013
By Alexander - Published on
80% of a book is continuously repeatings of very simple things like "{key:value} - this is a param object of a class that contains a key and a value".
The book can be compressed to 10-15 pages tutorial.
Also there is lot of copy&pasted text from OpenLayers API.
If you known JS, then just google for a good tutorial.
1 of 3 people found the following review helpful
3.0 out of 5 stars Good introduction for non-javascript person 7 Jan 2013
By John - Published on
Format:Paperback|Verified Purchase
I wanted to jump start my knowledge of OpenLayers so I could begin spec'ing out new products using OpenLayers. I feel this book has given me some good insights to what I can do with OpenLayers.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Popular Highlights

 (What's this?)
OpenLayers is an open source, client side JavaScript library for making interactive web maps, viewable in nearly any web browser. &quote;
Highlighted by 3 Kindle users

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category