kowanlu / openlayers-cookbook

《OpenLayers CookBook》中文翻译(废弃)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

《Openlayers CookBook》中文翻译

由于Openlayers 3中api变化比较大,原来《Openlayers CookBook》已经不在适用,故不再继续翻译《Openlayers CookBook》,针对Openlayers 3的教程请查看openlayers-tutorial

Preface

Chapter 1: Web Mapping Basics

  1. Introduction
  2. Creating a simple full screen map
  3. Different ways to include OpenLayers
  4. Understanding base and non-base layers
  5. Avoiding the need of a base layer
  6. Playing with the map's options
  7. Managing map's stack layers
  8. Managing map's controls
  9. Moving around the map view
  10. Restricting the map extent

Chapter 2: Adding Raster Layers

  1. Introduction
  2. Using Google Maps imagery
  3. Using Bing imagery
  4. Adding WMS layer
  5. Wrapping the date line options
  6. Changing the zoom effect
  7. Changing the layer opacity
  8. Using WMS with single tile mode
  9. Buffering the layer data to improve the map navigation
  10. Creating an image layer
  11. Setting the tile size in WMS layers

Chapter 3: Working with Vector Layers

  1. Introduction
  2. Adding a GML layer
  3. Adding a KML layer
  4. Creating features programmatically
  5. Reading and creating features from a WKT
  6. Adding markers to the map
  7. Using point features as markers
  8. Working with popups
  9. Adding features from a WFS server
  10. Using the cluster strategy
  11. Filtering features in WFS requests
  12. Reading features directly using Protocols

Chapter 4: Working with Events

  1. Introduction
  2. Creating a side-by-side map comparator
  3. Implementing a work in progress indicator for map layers
  4. Listening for vector layer features' events
  5. Listening for non-OpenLayers events

Chapter 5: Adding Controls

  1. Introduction
  2. Adding and removing controls
  3. Adding a navigation history control
  4. Working with geolocation
  5. Placing controls outside the map
  6. Editing features on multiple vector layers
  7. Modifying features
  8. Measuring distances and areas
  9. Getting feature information from data source
  10. Getting information from the WMS server

Chapter 6: Theming

  1. Introduction
  2. Understanding how themes work using the img folder
  3. Understanding how themes work using the theme folder
  4. Delimiting tiles in a raster layer
  5. Creating a new OpenLayers theme
  6. Starting actions outside the controls

Chapter 7: Styling Features

  1. Introduction
  2. Styling features using symbolizers
  3. Improving style using StyleMap and the replacement of feature's attributes
  4. Playing with StyleMap and the render intents
  5. Working with unique value rules
  6. Defining custom rules to style features
  7. Styling clustered features

Chapter 8: Beyond the Basics

  1. Introduction
  2. Working with projections
  3. Retrieving remote data with OpenLayers.Request
  4. Creating a custom control
  5. Creating a custom renderer
  6. Selecting features intersecting with a line
  7. Making an animation with image layers

About

《OpenLayers CookBook》中文翻译(废弃)