source:
trunk/workshop-routing-foss4g/web/GeoExt/examples/tree.html
@
77
Revision 76, 1.6 KB checked in by djay, 13 years ago (diff) | |
---|---|
|
Rev | Line | |
---|---|---|
[76] | 1 | <html xmlns="http://www.w3.org/1999/xhtml"> |
2 | <head> | |
3 | <title>GeoExt Tree Components</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="tree.js"></script> | |
13 | ||
14 | </head> | |
15 | <body> | |
16 | <div id="desc"> | |
17 | <h1>GeoExt.tree Components</h1> | |
18 | <p>This example shows how to work with a layer tree. The basic | |
19 | component for building layer trees is the LayerNode, and there are | |
20 | different types of containers for automatically adding a map's | |
21 | layers to the tree. The tree configuration of this example is pure | |
22 | JSON and can be edited live by clicking on the "Show/Edit Tree Config" | |
23 | button below the layers panel.<p> | |
24 | <p>The js is not minified so it is readable. See | |
25 | <a href="tree.js">tree.js</a>.</p> | |
26 | <p>Also see the <a href="layercontainer.html">Layer Container</a> | |
27 | example for drag-n-drop support.</p> | |
28 | </div> | |
29 | </body> | |
30 | </html> |
Note: See TracBrowser
for help on using the repository browser.