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 UTFGrid Geography Class</title> |
---|
8 | <link rel="stylesheet" href="../theme/default/style.css" type="text/css"> |
---|
9 | <link rel="stylesheet" href="style.css" type="text/css"> |
---|
10 | <style> |
---|
11 | #flag { |
---|
12 | position: relative; |
---|
13 | z-index: 999; |
---|
14 | height: 0px; |
---|
15 | width: 0px; |
---|
16 | -moz-transition: all 0.1s linear; |
---|
17 | -webkit-transition: all 0.1s linear; |
---|
18 | } |
---|
19 | #flag img { |
---|
20 | position: absolute; |
---|
21 | width: 80px; |
---|
22 | -moz-box-shadow: 2px 2px 1px 1px rgba(0, 0, 0, 0.3); |
---|
23 | -webkit-box-shadow: 2px 2px 1px 1px rgba(0, 0, 0, 0.3); |
---|
24 | box-shadow: 2px 2px 1px 1px rgba(0, 0, 0, 0.3); |
---|
25 | } |
---|
26 | .olControlAttribution { |
---|
27 | bottom: 5px; |
---|
28 | font-size: 9px; |
---|
29 | } |
---|
30 | </style> |
---|
31 | </head> |
---|
32 | <body> |
---|
33 | <h1 id="title">OpenLayers UTFGrid Geography Class Example</h1> |
---|
34 | |
---|
35 | <div id="shortdesc"> |
---|
36 | This page demonstrates the use of the OpenLayers UTFGrid Controls. |
---|
37 | </div> |
---|
38 | <div id="map" class="smallmap"> |
---|
39 | <div id="flag"></div> |
---|
40 | </div> |
---|
41 | <p>Point to a country and try to guess the name before it shows up: <strong id="output"> </strong> |
---|
42 | <div id="docs"> |
---|
43 | <p> |
---|
44 | See the <a href="utfgrid-geography-class.js" target="_blank">utfgrid-geography-class.js</a> source for |
---|
45 | detail on using UTFGrids in OpenLayers. |
---|
46 | </p> |
---|
47 | </div> |
---|
48 | <script src="../lib/OpenLayers.js"></script> |
---|
49 | <script src="utfgrid-geography-class.js"></script> |
---|
50 | </body> |
---|
51 | </html> |
---|