source:
trunk/workshop-routing-foss4g/web/GeoExt/examples/legendpanel.html
@
77
Revision 76, 1.2 KB checked in by djay, 13 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | <html> |
2 | <head> |
3 | <title>GeoExt Legend Panel</title> |
4 | |
5 | <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/adapter/ext/ext-base.js"></script> |
6 | <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/ext-all.js"></script> |
7 | <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.2.1/resources/css/ext-all.css" /> |
8 | <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.2.1/examples/shared/examples.css" /> |
9 | <script src="http://www.openlayers.org/api/2.10/OpenLayers.js"></script> |
10 | <script type="text/javascript" src="../script/GeoExt.js"></script> |
11 | |
12 | <script type="text/javascript" src="legendpanel.js"></script> |
13 | |
14 | <style type="text/css"> |
15 | .mylabel { |
16 | font-weight: bold; |
17 | color: red; |
18 | } |
19 | </style> |
20 | </head> |
21 | <body> |
22 | <h1>GeoExt.LegendPanel</h1> |
23 | <p>This example shows the how to create a LegendPanel that autopopulates with legends from a map |
24 | that has already been created.</p> |
25 | <p>The js is not minified so it is readable. See <a href="legendpanel.js">legendpanel.js</a>.</p> |
26 | <div id="view"></div> |
27 | </body> |
28 | </html> |
Note: See TracBrowser
for help on using the repository browser.