Giter Club home page Giter Club logo

openlayers-cookbook's Introduction

《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

openlayers-cookbook's People

Watchers

Louan Ko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.