Merge pull request #317 from mpriour/multiple-builds

Document alternate builds
This commit is contained in:
Éric Lemoine
2012-03-13 00:50:43 -07:00

View File

@@ -42,7 +42,23 @@ As an example, using bash (with the release files in ~/openlayers):
$ cp -R ~/openlayers/theme ./
$ cp -R ~/openlayers/img ./
## Alternate OpenLayers Versions in this Release
The following versions of OpenLayers single file builds are included in this release
and can be used in place of OpenLayers.js in any of the above instructions:
1. OpenLayers.js - full build --> Includes everything except the alternate language
translations and deprecated classes.
2. OpenLayers.mobile.js - a mobile focused build --> Includes a subset of the OpenLayers
library to serve common mobile web app use cases. This build provides access to
OpenStreetMap, Bing, WMS, WFS and vector layers; touch optimized controls; geolocation;
vector editing and interaction tools. The examples tagged ``mobile`` can use this build.
3. OpenLayers.light.js - a simple use case focused build --> Includes a subset of the
OpenLayers library to serve the basic use case of displaying points and polygons
on a map. This build provides access to OpenStreetMap, Bing, Google, WMS, and
vector layers; basic map controls; and vector interaction tools. The examples
tagged ``light`` can use this build.
## Using OpenLayers in Your Own Website
The [examples directory](http://openlayers.org/dev/examples/) is full of useful examples.