Permalink
Browse files

Add openlayers.

  • Loading branch information...
1 parent d0ca6c5 commit 6c0c03a8fd02f9742c348f7eb8fa8f602680262c @gravitystorm committed Jun 20, 2012
Showing with 3,459 additions and 0 deletions.
  1. +1 −0 app/views/layouts/application.html.haml
  2. +2,885 −0 public/openlayers/OpenLayers.js
  3. BIN public/openlayers/img/blank.gif
  4. BIN public/openlayers/img/cloud-popup-relative.png
  5. BIN public/openlayers/img/drag-rectangle-off.png
  6. BIN public/openlayers/img/drag-rectangle-on.png
  7. BIN public/openlayers/img/east-mini.png
  8. BIN public/openlayers/img/layer-switcher-maximize.png
  9. BIN public/openlayers/img/layer-switcher-minimize.png
  10. BIN public/openlayers/img/marker-blue.png
  11. BIN public/openlayers/img/marker-gold.png
  12. BIN public/openlayers/img/marker-green.png
  13. BIN public/openlayers/img/marker.png
  14. BIN public/openlayers/img/measuring-stick-off.png
  15. BIN public/openlayers/img/measuring-stick-on.png
  16. BIN public/openlayers/img/north-mini.png
  17. BIN public/openlayers/img/panning-hand-off.png
  18. BIN public/openlayers/img/panning-hand-on.png
  19. BIN public/openlayers/img/slider.png
  20. BIN public/openlayers/img/south-mini.png
  21. BIN public/openlayers/img/west-mini.png
  22. BIN public/openlayers/img/zoom-minus-mini.png
  23. BIN public/openlayers/img/zoom-plus-mini.png
  24. BIN public/openlayers/img/zoom-world-mini.png
  25. BIN public/openlayers/img/zoombar.png
  26. +31 −0 public/openlayers/license.txt
  27. +73 −0 public/openlayers/readme.txt
  28. +3 −0 public/openlayers/release-license.txt
  29. +3 −0 public/openlayers/repository-license.txt
  30. 0 public/openlayers/theme/default/framedCloud.css
  31. +17 −0 public/openlayers/theme/default/google.css
  32. +1 −0 public/openlayers/theme/default/google.tidy.css
  33. +10 −0 public/openlayers/theme/default/ie6-style.css
  34. +1 −0 public/openlayers/theme/default/ie6-style.tidy.css
  35. BIN public/openlayers/theme/default/img/add_point_off.png
  36. BIN public/openlayers/theme/default/img/add_point_on.png
  37. BIN public/openlayers/theme/default/img/blank.gif
  38. BIN public/openlayers/theme/default/img/close.gif
  39. BIN public/openlayers/theme/default/img/drag-rectangle-off.png
  40. BIN public/openlayers/theme/default/img/drag-rectangle-on.png
  41. BIN public/openlayers/theme/default/img/draw_line_off.png
  42. BIN public/openlayers/theme/default/img/draw_line_on.png
  43. BIN public/openlayers/theme/default/img/draw_point_off.png
  44. BIN public/openlayers/theme/default/img/draw_point_on.png
  45. BIN public/openlayers/theme/default/img/draw_polygon_off.png
  46. BIN public/openlayers/theme/default/img/draw_polygon_on.png
  47. BIN public/openlayers/theme/default/img/editing_tool_bar.png
  48. BIN public/openlayers/theme/default/img/move_feature_off.png
  49. BIN public/openlayers/theme/default/img/move_feature_on.png
  50. BIN public/openlayers/theme/default/img/navigation_history.png
  51. BIN public/openlayers/theme/default/img/overview_replacement.gif
  52. BIN public/openlayers/theme/default/img/pan-panel-NOALPHA.png
  53. BIN public/openlayers/theme/default/img/pan-panel.png
  54. BIN public/openlayers/theme/default/img/pan_off.png
  55. BIN public/openlayers/theme/default/img/pan_on.png
  56. BIN public/openlayers/theme/default/img/panning-hand-off.png
  57. BIN public/openlayers/theme/default/img/panning-hand-on.png
  58. BIN public/openlayers/theme/default/img/remove_point_off.png
  59. BIN public/openlayers/theme/default/img/remove_point_on.png
  60. BIN public/openlayers/theme/default/img/ruler.png
  61. BIN public/openlayers/theme/default/img/save_features_off.png
  62. BIN public/openlayers/theme/default/img/save_features_on.png
  63. BIN public/openlayers/theme/default/img/view_next_off.png
  64. BIN public/openlayers/theme/default/img/view_next_on.png
  65. BIN public/openlayers/theme/default/img/view_previous_off.png
  66. BIN public/openlayers/theme/default/img/view_previous_on.png
  67. BIN public/openlayers/theme/default/img/zoom-panel-NOALPHA.png
  68. BIN public/openlayers/theme/default/img/zoom-panel.png
  69. +433 −0 public/openlayers/theme/default/style.css
  70. +1 −0 public/openlayers/theme/default/style.tidy.css
@@ -3,6 +3,7 @@
%head
%title= t ".title"
= stylesheet_link_tag "application"
+ %script(src="/openlayers/OpenLayers.js" type="text/javascript")
= javascript_include_tag "application"
= csrf_meta_tag
%body
Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,31 @@
+This license applies to all code and content in the 'branches', 'trunk', and
+'project' directories of the Openlayers code repository at svn.openlayers.org,
+and applies to all release of OpenLayers later than 2.5.
+
+Copyright 2005-2011 OpenLayers Contributors. All rights reserved. See
+authors.txt for full list.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY OPENLAYERS CONTRIBUTORS ``AS IS'' AND ANY EXPRESS
+OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
+SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The views and conclusions contained in the software and documentation are those
+of the authors and should not be interpreted as representing official policies,
+either expressed or implied, of OpenLayers Contributors.
@@ -0,0 +1,73 @@
+OpenLayers
+-=-=-=-=-=-
+
+Copyright (c) 2005-2011 OpenLayers Contributors. See authors.txt for
+more details.
+
+OpenLayers is a JavaScript library for building map applications
+on the web. OpenLayers is made available under a BSD-license.
+Please see license.txt in this distribution for more details.
+
+------------------
+Getting OpenLayers
+------------------
+
+OpenLayers lives at http://www.openlayers.org/.
+
+You can get OpenLayers from
+ http://trac.openlayers.org/wiki/HowToDownload.
+
+---------------------
+Installing OpenLayers
+---------------------
+
+You can use OpenLayers as-is by copying build/OpenLayers.js and the
+entire theme/ and img/ directories up to your webserver, 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:
+
+ <script type="text/javascript" src="/OpenLayers.js" />
+
+As an example, using bash (with the release files in ~/openlayers ):
+$ cd /var/www/html
+$ cp ~/openlayers/OpenLayers.js ./
+$ cp -R ~/openlayers/theme ./
+$ cp -R ~/openlayers/img ./
+
+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:
+
+ <script type="text/javascript" src="/lib/OpenLayers.js" />
+
+As an example, using bash (with the release files in ~/openlayers ):
+$ cd /var/www/html
+$ cp -R ~/openlayers/lib ./
+$ cp -R ~/openlayers/theme ./
+$ cp -R ~/openlayers/img ./
+
+
+------------------------------------
+Using OpenLayers in Your Own Website
+------------------------------------
+
+The examples/ directory is full of useful examples.
+
+Documentation is available at http://trac.openlayers.org/wiki/Documentation.
+You can generate the API documentation with http://www.naturaldocs.org/:
+As an example, using bash (with the release files in ~/openlayers ):
+$ cd ~/openlayers/
+$ /path/to/NaturalDocs -i lib/ -o HTML doc/ -p doc_config/ -s Default OL
+
+Information on changes in the API is available in news.txt.
+
+--------------------------
+Contributing to OpenLayers
+--------------------------
+
+Please join the email lists at http://openlayers.org/mailman/listinfo
+Patches are welcome!
+
+= 30 =
@@ -0,0 +1,3 @@
+This license information is now available at:
+
+http://svn.openlayers.org/trunk/openlayers/license.txt
@@ -0,0 +1,3 @@
+This license information is now available at:
+
+http://svn.openlayers.org/trunk/openlayers/license.txt
@@ -0,0 +1,17 @@
+.olLayerGoogleCopyright {
+ right: 3px;
+ bottom: 2px;
+ left: auto;
+}
+.olLayerGoogleV3.olLayerGoogleCopyright {
+ bottom: 0px;
+ right: 0px !important;
+}
+.olLayerGooglePoweredBy {
+ left: 2px;
+ bottom: 2px;
+}
+.olLayerGoogleV3.olLayerGooglePoweredBy {
+ bottom: 0px !important;
+}
+
Oops, something went wrong.
@@ -0,0 +1,10 @@
+.olControlZoomPanel div {
+ background-image: url(img/zoom-panel-NOALPHA.png);
+}
+.olControlPanPanel div {
+ background-image: url(img/pan-panel-NOALPHA.png);
+}
+.olControlEditingToolbar {
+ width: 200px;
+}
+
Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Oops, something went wrong.

0 comments on commit 6c0c03a

Please sign in to comment.