1 | <!DOCTYPE html> |
---|
2 | <html> |
---|
3 | <head> |
---|
4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> |
---|
6 | <meta name="apple-mobile-web-app-capable" content="yes"> |
---|
7 | <title>OpenLayers Multiple UTFGrid Demo</title> |
---|
8 | <link rel="stylesheet" href="style.css" type="text/css"> |
---|
9 | <style> |
---|
10 | #controlToggle li { list-style: none; } |
---|
11 | </style> |
---|
12 | </head> |
---|
13 | <body> |
---|
14 | <h1 id="title">OpenLayers Multiple UTFGrid Demo</h1> |
---|
15 | |
---|
16 | <div id="shortdesc"> |
---|
17 | This page demonstrates the use of the OpenLayers UTFGrid Controls with |
---|
18 | more than one UTFGrid Layer. |
---|
19 | </div> |
---|
20 | <div id="map" class="smallmap"></div> |
---|
21 | <ul id="controlToggle"> |
---|
22 | <li> |
---|
23 | <input type="radio" name="type" value="move_pop" id="moveHandler" |
---|
24 | onclick="toggleControl(this);" checked="checked" /> |
---|
25 | <label for="moveHandler">View population stats</label> |
---|
26 | </li> |
---|
27 | <li> |
---|
28 | <input type="radio" name="type" value="move_bio" id="hoverHandler" |
---|
29 | onclick="toggleControl(this);" /> |
---|
30 | <label for="hoverHandler">View bioregion stats</label> |
---|
31 | </li> |
---|
32 | <li> |
---|
33 | <input type="radio" name="type" value="move_both" id="clickHandler" |
---|
34 | onclick="toggleControl(this);" /> |
---|
35 | <label for="clickHandler">View all stats</label> |
---|
36 | </li> |
---|
37 | </ul> |
---|
38 | <div id="docs"> |
---|
39 | <p> |
---|
40 | This example demonstrates the use of two separate UTFGrid layers. |
---|
41 | See the <a href="utfgrid_twogrids.js">utfgrid_twogrids.js source</a> |
---|
42 | for detail on how this is done. |
---|
43 | </p> |
---|
44 | </div> |
---|
45 | <div id="attrsdiv"></div> |
---|
46 | <script src="../lib/OpenLayers.js"></script> |
---|
47 | <script src="utfgrid_twogrids.js"></script> |
---|
48 | <script> |
---|
49 | </script> |
---|
50 | </body> |
---|
51 | </html> |
---|