Skip to content

Commit

Permalink
Merge branch 'master' of github.com:openlayers/openlayers into utfgrid
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaub committed Mar 6, 2012
2 parents 2868725 + 83fe251 commit cf30e71
Show file tree
Hide file tree
Showing 101 changed files with 2,619 additions and 690 deletions.
12 changes: 8 additions & 4 deletions build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@ def build(config_file = None, output_file = None, options = None):
outputFilename = output_file

print "Merging libraries."
if use_compressor == "closure":
sourceFiles = mergejs.getNames(sourceDirectory, configFilename)
else:
merged = mergejs.run(sourceDirectory, None, configFilename)
try:
if use_compressor == "closure":
sourceFiles = mergejs.getNames(sourceDirectory, configFilename)
else:
merged = mergejs.run(sourceDirectory, None, configFilename)
except mergejs.MissingImport, E:
print "\nAbnormal termination."
sys.exit("ERROR: %s" % E)

print "Compressing using %s" % use_compressor
if use_compressor == "jsmin":
Expand Down
32 changes: 32 additions & 0 deletions build/light.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[first]

[last]

[include]
OpenLayers/Map.js
OpenLayers/Kinetic.js
OpenLayers/Projection.js
OpenLayers/Layer/Vector.js
OpenLayers/Layer/OSM.js
OpenLayers/Layer/Bing.js
OpenLayers/Layer/WMS.js
OpenLayers/Layer/Google/v3.js
OpenLayers/Popup/FramedCloud.js
OpenLayers/Control/Navigation.js
OpenLayers/Control/ZoomPanel.js
OpenLayers/Control/Attribution.js
OpenLayers/Control/SelectFeature.js
OpenLayers/Control/Panel.js
OpenLayers/Control/LayerSwitcher.js
OpenLayers/Renderer/SVG.js
OpenLayers/Renderer/VML.js
OpenLayers/Format/GeoJSON.js
OpenLayers/Protocol/HTTP.js
OpenLayers/Strategy/Fixed.js
OpenLayers/Strategy/BBOX.js
OpenLayers/StyleMap.js
OpenLayers/Rule.js
OpenLayers/Filter/Comparison.js
OpenLayers/Filter/Logical.js

[exclude]
1 change: 0 additions & 1 deletion build/mobile.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[first]
OpenLayers/SingleFile.js

[last]

Expand Down
96 changes: 0 additions & 96 deletions doc/walkthru.html

This file was deleted.

69 changes: 69 additions & 0 deletions examples/accessible-click-control.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Accessible Custom Click Control</title>

<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
<style type="text/css">
<style type="text/css">
a {
text-decoration: none;
font-size: 1.2em;
}
a em {
font-style: normal;
font-weight: normal;
text-decoration: underline;
}
a:hover {
text-decoration: underline;
}
a.api {
font-size:1em;
text-decoration:underline;
}
a.accesskey {
color: white;
}
a.accesskey:focus {
color: #436976;
}
a.zoom {
padding-right: 20px;
}
</style>
<script src="../lib/Firebug/firebug.js"></script>
<script src="../lib/OpenLayers.js"></script>
<script src="accessible-click-control.js"></script>
</head>
<body onload="init()">
<h1 id="title">An accessible click control implementation</h1>

<div id="tags">
click, control, accessibility
</div>

<a class="accesskey"
href=""
accesskey="1"
onclick="document.getElementById('map').focus();return false;">
Jump to map
</a>

<div id="map" class="smallmap" tabindex="0"></div>

<p id="desc">
Demonstrate the KeyboardDefaults control as well as a control that
allows clicking on the map using the keyboard.
First focus the map (using tab key or mouse), then press the 'i'
key to activate the query control. You can then move the point
using arrow keys. Press 'RETURN' to get the coordinate. Press 'i'
again to deactivate the control.
</p>

</body>
</html>
Loading

0 comments on commit cf30e71

Please sign in to comment.