Cover image for OpenLayers 2.10 Beginner's Guide.
OpenLayers 2.10 Beginner's Guide.
Title:
OpenLayers 2.10 Beginner's Guide.
Author:
Hazzard, Erik.
ISBN:
9781849514132
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (492 pages)
Contents:
OpenLayers 2.10 -- Table of Contents -- OpenLayers 2.10 -- 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 MadLibs -- What 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 Console -- What 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 arguments -- Time 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 -- What Just Happened? -- Layer.Grid -- Layer.Image -- Time for Action - using the image layer -- What Just Happened? -- Image layer parameters -- Have a Go Hero - make your own image based maps -- Layer.MapGuide -- Layer.TileCache -- Layer.Vector -- Layer.VirtualEarth -- Layer.WFS -- Layer.WMS -- Layer.Yahoo -- Accessing layer objects -- Time for Action - accessing map.layers -- What Just Happened? -- Time for Action - accessing layer objects in Firebug -- What Just Happened? -- Accessing layer properties -- map.layers.

Storing references to layer objects -- Pop Quiz - working with Variable Scope -- Layer class methods -- Time for Action - defining a global layer object variable -- What Just Happened? -- Layer class method definitions -- Have a Go Hero - call some functions -- Summary -- 4. Wrapping Our Heads Around Projections -- Map projections -- Why on earth are Projections used? -- Projection characteristics -- Area -- Scale -- Shape -- Other characteristics -- Types of projections -- EPSG codes -- Time for Action - using different projection codes -- What Just Happened? -- Specifying a different projection -- Pop Quiz - projections -- Longitude/Latitude -- Latitude -- Longitude -- Time for Action - determining LonLat coordinates -- What Just Happened? -- OpenLayers projection class -- Creating a projection object -- Parameters -- Functions -- Transforming projections -- Time for Action - coordinate transforms -- What Just Happened? -- The Proj4js library -- Time for Action - setting up Proj4js.org -- What Just Happened? -- Defining custom projections -- Summary -- 5. Interacting with Third Party APIs -- Third party mapping APIs -- Map mashups -- OpenLayers and third party APIs -- Google Maps -- Differences between Google Maps version 2 and version 3 -- Time for Action - using Goole Maps V3 (standard way) -- What Just Happened? -- Creating a Google Map layer object -- Google layer properties -- sphericalMercator {Boolean} -- type {GmapType} -- V3 GMapType values -- V2 GMapType values -- Time for Action - creating a Google Map layer with V2 (Deprecated) -- What Just Happened? -- Yahoo! Maps API -- Time for Action - using the Yahoo! Maps Layer -- What Just Happened? -- Yahoo! Maps Layer class properties -- Yahoo! Maps Layer types -- Microsoft's mapping API -- Time for Action - creating a Bing/Virtual Earth Layer -- What Just Happened?.

VirtualEarth layer class properties -- Possible type values -- OpenStreetMap -- Time for Action - creating an OpenStreetMap Layer -- What Just Happened? -- Accessing your own OSM tiles -- Spherical Mercator -- Spherical Mercator-EPSG code -- Time for Action - using Spherical Mercator -- What Just Happened? -- Map properties with Spherical Mercator layers -- maxExtent -- maxResolution -- units -- projection -- Using Google Maps and other layers -- Time For Action - creating your first mashup -- What Just Happened? -- WMS with Spherical Mercator/third party map layers -- Summary -- 6. Taking Control of Controls -- What are controls? -- Using controls in OpenLayers -- Adding controls to your map -- Time for Action - creating a map with no controls -- What Just Happened? -- Time for Action - adding controls to a map -- What Just Happened? -- Have a go hero - add controls -- Adding controls by passing in an array of controls -- Adding controls to map with addControl() and addControls() -- Removing controls -- OpenLayers.Control class -- OpenLayers.Control properties -- OpenLayers.Control functions -- OpenLayers.Control subclasses -- OpenLayers.Control.ArgParser -- OpenLayers.Control.Permalink -- OpenLayers.Control.Attribution -- Attribution properties -- Time for Action - using attributions -- What Just Happened? -- OpenLayers.Control.EditingToolbar -- OpenLayers.Control.Graticule -- Graticule properties -- OpenLayers.Control.KeyboardDefaults -- KeyboardDefaults properties -- OpenLayers.Control.LayerSwitcher -- LayerSwitcher properties -- LayerSwitcher functions -- OpenLayers.Control.MousePosition -- MousePosition properties -- OpenLayers.Control.Navigation -- Navigation properties -- OpenLayers.Control.NavigationHistory -- NavigationHistory properties -- NavigationHistory functions -- Time for Action - using the NavigationHistory control.

What Just Happened? -- OpenLayers.Control.NavToolbar -- OpenLayers.Control.OverviewMap -- OverviewMap properties -- OverviewMap functions -- OpenLayers.Control.PanPanel -- PanPanel properties -- OpenLayers.Control.PanZoom -- OpenLayers.Control.PanZoomBar -- PanZoomBar properties -- OpenLayers.Control.Scale -- Scale properties -- OpenLayers.Control.ScaleLine -- ScaleLine properties -- OpenLayers.Control.ZoomPanel -- Panels -- Control types -- Time for Action - using Panels -- What Just Happened? -- Pop Quiz - zoomBox control type -- OpenLayers.Control.Panel -- Panel properties -- Panel functions -- Now what? -- Creating our own controls -- OpenLayers.Control.Button -- Button properties -- Button functions -- Creating a custom button -- Time for Action - creating a simple button -- What Just Happened? -- Other control types -- Process for creating other button control types -- Events -- Event listeners and handlers -- Custom events -- Creating a TYPE_TOGGLE control -- Time for Action - creating a custom TYPE_TOGGLE control -- What Just Happened? -- Summary -- 7. Styling Controls -- What is CSS? -- Ideas behind CSS and HTML -- Editing CSS -- HTML elements -- HTML-IDs and classes -- HTML IDs -- HTML classes -- Styling HTML elements with CSS -- Using CSS in your code -- Time for Action - using external CSS files -- What Just Happened? -- Have a Go Hero - view HTML and CSS in Firebug -- Cascading Style Sheets-Inheritance -- Order of inheritance -- Referencing elements -- Pop Quiz - how to reference elements -- OpenLayers and CSS -- Styling OpenLayers-using themes -- Creating your own themes -- OpenLayers-class names and IDs -- Generated class names -- Generated IDs -- Time for Action - styling controls -- What Just Happened? -- Time for Action - styling the LayerSwitcher control -- What Just Happened? -- Have a Go Hero - add layers -- Other resources.

Summary.
Abstract:
Create, optimize, and deploy stunning cross-browser web maps with the OpenLayers JavaScript web mapping library.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: