source: sipes/libraries/openlayers/readme.md @ 92f109b

stableversion-3.0
Last change on this file since 92f109b was 307d09d, checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago

se agregaron las librerias

  • Propiedad mode establecida a 100644
File size: 3.3 KB
Línea 
1# OpenLayers
2
3Copyright (c) 2005-2013 OpenLayers Contributors. See authors.txt for
4more details.
5
6OpenLayers is a JavaScript library for building map applications
7on the web. OpenLayers is made available under a BSD-license.
8Please see license.txt in this distribution for more details.
9
10## Getting OpenLayers
11
12OpenLayers lives at http://www.openlayers.org/.  Find details on downloading stable releases or the development version the [development site](http://trac.osgeo.org/openlayers/wiki/HowToDownload).
13
14## Installing OpenLayers
15
16You can use OpenLayers as-is by copying build/OpenLayers.js and the
17entire theme/ and img/ directories up to your webserver and putting them
18in the same directory. The files can be in subdirectories on your website,
19or right in the root of the site, as in these examples.
20To include the OpenLayers library in your web page from the root of the site, use:
21
22    <script type="text/javascript" src="/OpenLayers.js" />
23
24As an example, using bash (with the release files in ~/openlayers):
25
26    $ cd /var/www/html
27    $ cp ~/openlayers/OpenLayers.js ./
28    $ cp -R ~/openlayers/theme ./
29    $ cp -R ~/openlayers/img ./
30
31If you want to use the multiple-file version of OpenLayers (for, say,
32debugging or development purposes), copy the lib/ directory up to your
33webserver in the same directory you put the img/ folder. Then add
34the following to your web page instead:
35
36    <script type="text/javascript" src="/lib/OpenLayers.js" />
37
38As an example, using bash (with the release files in ~/openlayers):
39
40    $ cd /var/www/html
41    $ cp -R ~/openlayers/lib ./
42    $ cp -R ~/openlayers/theme ./
43    $ cp -R ~/openlayers/img ./
44
45## Alternate OpenLayers Versions in this Release
46
47The following versions of OpenLayers single file builds are included in this release
48and can be used in place of OpenLayers.js in any of the above instructions:
49
501. OpenLayers.js - full build --> Includes everything except the alternate language
51    translations and deprecated classes.
522. OpenLayers.mobile.js - a mobile focused build --> Includes a subset of the OpenLayers
53    library to serve common mobile web app use cases. This build provides access to
54    OpenStreetMap, Bing, WMS, WFS and vector layers; touch optimized controls; geolocation;
55    vector editing and interaction tools. The examples tagged ``mobile`` can use this build.
563. OpenLayers.light.js - a simple use case focused build --> Includes a subset of the
57    OpenLayers library to serve the basic use case of displaying points and polygons
58    on a map. This build provides access to OpenStreetMap, Bing, Google, WMS, and
59    vector layers; basic map controls; and vector interaction tools. The examples
60    tagged ``light`` can use this build.
61   
62## Using OpenLayers in Your Own Website
63
64The [examples directory](http://openlayers.org/dev/examples/) is full of useful examples.
65
66Documentation is available at http://trac.osgeo.org/openlayers/wiki/Documentation.
67You can generate the API documentation with http://www.naturaldocs.org/
68As an example, using bash (with the release files in ~/openlayers):
69
70    $ cd ~/openlayers/
71    $ /path/to/NaturalDocs -i lib/ -o HTML doc/ -p doc_config/ -s Default OL
72
73Information on changes in the API is available in release notes found in the notes folder.
74
75## Contributing to OpenLayers
76
77Please join the email lists at http://openlayers.org/mailman/listinfo
78Patches are welcome!
79
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.