summaryrefslogtreecommitdiff
path: root/misc/openlayers/examples/utfgrid_twogrids.html
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2014-08-12 21:56:44 +0200
committerChris Schlaeger <chris@linux.com>2014-08-12 21:56:44 +0200
commitea346a785dc1b3f7c156f6fc33da634e1f1a627b (patch)
treeaf67530553d20b6e82ad60fd79593e9c4abf5565 /misc/openlayers/examples/utfgrid_twogrids.html
parent59741cd535c47f25971bf8c32b25da25ceadc6d5 (diff)
downloadpostrunner-ea346a785dc1b3f7c156f6fc33da634e1f1a627b.zip
Adding jquery, flot and openlayers to be included with the GEM.v0.0.4
Diffstat (limited to 'misc/openlayers/examples/utfgrid_twogrids.html')
-rw-r--r--misc/openlayers/examples/utfgrid_twogrids.html51
1 files changed, 51 insertions, 0 deletions
diff --git a/misc/openlayers/examples/utfgrid_twogrids.html b/misc/openlayers/examples/utfgrid_twogrids.html
new file mode 100644
index 0000000..57adb88
--- /dev/null
+++ b/misc/openlayers/examples/utfgrid_twogrids.html
@@ -0,0 +1,51 @@
+<!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>OpenLayers Multiple UTFGrid Demo</title>
+ <link rel="stylesheet" href="style.css" type="text/css">
+ <style>
+ #controlToggle li { list-style: none; }
+ </style>
+</head>
+<body>
+ <h1 id="title">OpenLayers Multiple UTFGrid Demo</h1>
+
+ <div id="shortdesc">
+ This page demonstrates the use of the OpenLayers UTFGrid Controls with
+ more than one UTFGrid Layer.
+ </div>
+ <div id="map" class="smallmap"></div>
+ <ul id="controlToggle">
+ <li>
+ <input type="radio" name="type" value="move_pop" id="moveHandler"
+ onclick="toggleControl(this);" checked="checked" />
+ <label for="moveHandler">View population stats</label>
+ </li>
+ <li>
+ <input type="radio" name="type" value="move_bio" id="hoverHandler"
+ onclick="toggleControl(this);" />
+ <label for="hoverHandler">View bioregion stats</label>
+ </li>
+ <li>
+ <input type="radio" name="type" value="move_both" id="clickHandler"
+ onclick="toggleControl(this);" />
+ <label for="clickHandler">View all stats</label>
+ </li>
+ </ul>
+ <div id="docs">
+ <p>
+ This example demonstrates the use of two separate UTFGrid layers.
+ See the <a href="utfgrid_twogrids.js">utfgrid_twogrids.js source</a>
+ for detail on how this is done.
+ </p>
+ </div>
+ <div id="attrsdiv"></div>
+ <script src="../lib/OpenLayers.js"></script>
+ <script src="utfgrid_twogrids.js"></script>
+ <script>
+ </script>
+</body>
+</html>