1 |
3032
|
perry
|
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 lib/ directory up to your webserver, putting them in the same
|
24 |
|
|
directory. To include the OpenLayers library in your web page, use:
|
25 |
|
|
|
26 |
|
|
<script type="text/javascript" src="OpenLayers.js" />
|
27 |
|
|
|
28 |
|
|
If you want to use the multiple-file version of OpenLayers (for, say,
|
29 |
|
|
debugging or development purposes), copy the lib/ directory up to your
|
30 |
|
|
webserver in the same directory you put the img/ folder. Then add
|
31 |
|
|
the following to your web page instead:
|
32 |
|
|
|
33 |
|
|
<script type="text/javascript" src="lib/OpenLayers.js" />
|
34 |
|
|
|
35 |
|
|
------------------------------------
|
36 |
|
|
Using OpenLayers in Your Own Website
|
37 |
|
|
------------------------------------
|
38 |
|
|
|
39 |
|
|
The examples/ directory is full of useful examples.
|
40 |
|
|
|
41 |
|
|
Dcumentation is available in the doc/ directory: to build an HTML version
|
42 |
|
|
of the documentation, run ./docs.sh in the build/ directory.
|
43 |
|
|
|
44 |
|
|
Information on changes in the API is available in news.txt.
|
45 |
|
|
|
46 |
|
|
--------------------------
|
47 |
|
|
Contributing to OpenLayers
|
48 |
|
|
--------------------------
|
49 |
|
|
|
50 |
|
|
Please join the email lists at http://openlayers.org/EmailLists/.
|
51 |
|
|
Patches are welcome!
|
52 |
|
|
|
53 |
|
|
= 30 =
|