OpenLayers OpenLayers

root/trunk/openlayers/readme.txt

Revision 3168, 2.1 kB (checked in by crschmidt, 1 year ago)

Update install documentation from discussion in #710.

  • Property svn:eol-style set to native
Line 
1 OpenLayers
2 -=-=-=-=-=-
3 Copyright (c) 2005-2006 MetaCarta, Inc.
4
5 OpenLayers is a JavaScript library for building map applications
6 on the web. OpenLayers is made available under a BSD-license.
7 Please see license.txt in this distribution for more details.
8
9 ------------------
10 Getting OpenLayers
11 ------------------
12
13 OpenLayers lives at http://www.openlayers.org/.
14
15 You can get OpenLayers from
16     http://trac.openlayers.org/wiki/HowToDownload.
17
18 ---------------------
19 Installing OpenLayers
20 ---------------------
21
22 You can use OpenLayers as-is by copying build/OpenLayers.js and the
23 entire theme/ and img/ directories up to your webserver, putting them
24 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:
25
26   <script type="text/javascript" src="/OpenLayers.js" />
27
28 As an example, using bash (with the release files in ~/openlayers ):
29 $ cd /var/www/html
30 $ cp ~/openlayers/build/OpenLayers.js ./
31 $ cp -R ~/openlayers/theme ./
32 $ cp -R ~/openlayers/img ./
33
34 If you want to use the multiple-file version of OpenLayers (for, say,
35 debugging or development purposes), copy the lib/ directory up to your
36 webserver in the same directory you put the img/ folder. Then add
37 the following to your web page instead:
38
39   <script type="text/javascript" src="/lib/OpenLayers.js" />
40
41 As an example, using bash (with the release files in ~/openlayers ):
42 $ cd /var/www/html
43 $ cp -R ~/openlayers/lib ./
44 $ cp -R ~/openlayers/theme ./
45 $ cp -R ~/openlayers/img ./
46
47
48 ------------------------------------
49 Using OpenLayers in Your Own Website
50 ------------------------------------
51
52 The examples/ directory is full of useful examples.
53
54 Dcumentation is available in the doc/ directory: to build an HTML version
55 of the documentation, run ./docs.sh in the build/ directory.
56
57 Information on changes in the API is available in news.txt.
58
59 --------------------------
60 Contributing to OpenLayers
61 --------------------------
62
63 Please join the email lists at http://openlayers.org/EmailLists/.
64 Patches are welcome!
65
66 = 30 =
Note: See TracBrowser for help on using the browser.