Getting OpenLayers

Installing OpenLayers

You can use OpenLayers as-is by copying build/OpenLayers.js and the
entire theme/ and img/ directories up to your webserver and putting them
in the same directory. The files can be in subdirectories on your website,
or right in the root of the site, as in these examples.
To include the OpenLayers library in your web page from the root of the site, use:

If you want to use the multiple-file version of OpenLayers (for, say,
debugging or development purposes), copy the lib/ directory up to your
webserver in the same directory you put the img/ folder. Then add
the following to your web page instead:

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.

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.