OpenLayers 2.10 Beginner's Guide.

Create, optimize, and deploy stunning cross-browser web maps with the OpenLayers JavaScript web mapping library.

Saved in:
Bibliographic Details
Main Author: Hazzard, Erik
Format: eBook
Language:English
Published: Birmingham : Packt Pub., 2011.
Subjects:
Online Access:Click for online access
Table of Contents:
  • OpenLayers 2.10; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers, and more; Why Subscribe?; Free Access for Packt account holders; Preface; What you need for this book; What this book covers; Who this book is for; How to read this book; Conventions; Time for Action
  • heading; What just happened?; Pop quiz heading; Have a go hero heading; Reader feedback; Customer support; Downloading the example code for this book; Errata; Piracy; Questions; 1. Getting Started with OpenLayers; What is OpenLayers?; Why use OpenLayers?
  • What, technically, is OpenLayers?Client side; Library; Anatomy of a web-mapping application; Web map client; Web map server; Relation to Google / Yahoo! / and other mapping APIs; Layers in OpenLayers; What is a Layer?; The OpenLayers website; Time for Action
  • downloading OpenLayers; What just happened?; Making our first map; Time for Action
  • creating your first map; What just happened?; How the code works; Understanding the code-Line by line; JavaScript object notation; Behind the scenes-Object Oriented Programming (OOP); Interaction happens with objects; MadLibs.
  • Time for Action
  • play MadLibsWhat Just Happened?; Programming with OOP; Subclasses; Now what?; API docs; Where to go for help; This book's website; Mailing lists; IRC; OpenLayers source code repository; Summary; 2. Squashing Bugs With Firebug; What is Firebug?; Setting up Firebug; Time for Action
  • downloading Firebug; What Just Happened?; Firebug controls; Panels; Console panel; HTML panel; How it works; HTML panel contents; CSS panel; Script panel; DOM panel; Net panel; Request list; Parameters; BBOX parameter; Pop Quiz panel; Panel conclusion; Using the Console panel.
  • Time for Action
  • executing code in the ConsoleWhat Just Happened?; Time for Action
  • creating object literals; What Just Happened?; Object literals; Time for Action
  • interacting with a map; What Just Happened?; Have a Go Hero experiment with functions; API documentation; Summary; 3. The 'Layers' in OpenLayers; What's a layer?; Layers in OpenLayers; Base layer; Overlay layers; Time for Action
  • creating a map with multiple layers; What Just Happened?; Creating layer objects; Layer. WMS class; WMS layer parameters:; Name; URL; Params; Possible params keys and values; Options.
  • Parameters versus argumentsTime for Action
  • configuring the options parameter; What Just Happened?; Configuring layer options; wms_state_lines layer options; Scale dependency; wms_layer_labels layer options; The visibility property; The opacity property; Map tiles; Many images make up a map; Available layer properties; Data types; OpenLayers. Layer class properties; Modifying layer properties; The OpenLayers. Layer class; Subclasses; Layer Class-Sub and super classes; Other layer types; Layer. ArcGIS93Rest; Layer. ArcIMS; Layer. Google; Time for Action
  • creating a Google Maps layer.