[76] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 3 | |
---|
| 4 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 5 | <head> |
---|
| 6 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
| 7 | |
---|
| 8 | <title>Examples — GeoExt v1.0</title> |
---|
| 9 | <link rel="stylesheet" href="_static/geoext.css" type="text/css" /> |
---|
| 10 | <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> |
---|
| 11 | <script type="text/javascript"> |
---|
| 12 | var DOCUMENTATION_OPTIONS = { |
---|
| 13 | URL_ROOT: '#', |
---|
| 14 | VERSION: '1.0', |
---|
| 15 | COLLAPSE_MODINDEX: false, |
---|
| 16 | FILE_SUFFIX: '.html', |
---|
| 17 | HAS_SOURCE: true |
---|
| 18 | }; |
---|
| 19 | </script> |
---|
| 20 | <script type="text/javascript" src="_static/jquery.js"></script> |
---|
| 21 | <script type="text/javascript" src="_static/doctools.js"></script> |
---|
| 22 | <link rel="shortcut icon" href="_static/favicon.ico"/> |
---|
| 23 | <link rel="top" title="GeoExt v1.0" href="index.html" /> |
---|
| 24 | <link rel="next" title="GeoExt Community Involvement" href="developer/index.html" /> |
---|
| 25 | <link rel="prev" title="Primer: OpenLayers" href="primers/openlayers-primer.html" /> |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/adapter/ext/ext-base.js"></script> |
---|
| 29 | <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/ext-all.js"></script> |
---|
| 30 | <script src="_static/examples.js"></script> |
---|
| 31 | <script> |
---|
| 32 | var docversion = "1.0"; |
---|
| 33 | </script> |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | </head> |
---|
| 40 | <body> |
---|
| 41 | <div class="header"> |
---|
| 42 | <div class="wrap"> |
---|
| 43 | <h1 id="logo"><a href="index.html">GeoExt</a></h1> |
---|
| 44 | <ul id="top-nav"> |
---|
| 45 | <li class="first"><a href="docs.html">Documentation</a></li> |
---|
| 46 | <li><a href="#">Examples</a></li> |
---|
| 47 | <li><a href="downloads.html">Download</a></li> |
---|
| 48 | <li><a href="http://trac.geoext.org/">Development</a></li> |
---|
| 49 | </ul> |
---|
| 50 | <div id="searchbox"> |
---|
| 51 | <form class="search" action="search.html" method="get"> |
---|
| 52 | <input id="searchbox-query" type="text" name="q" size="25" value="Search …" tabindex="3" onblur="if(this.value=='') this.value='Search …';" onfocus="if(this.value=='Search …') this.value='';" /> |
---|
| 53 | <input id="searchbox-submit" type="image" value="Search" src="_static/img/search_icon_green.png" /> |
---|
| 54 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
| 55 | <input type="hidden" name="area" value="default" /> |
---|
| 56 | </form> |
---|
| 57 | </div> |
---|
| 58 | </div> |
---|
| 59 | </div> |
---|
| 60 | |
---|
| 61 | <div class="related"> |
---|
| 62 | <h3>Navigation</h3> |
---|
| 63 | <ul> |
---|
| 64 | <li><a href="index.html">GeoExt</a> »</li> |
---|
| 65 | <li><a href="#">Examples</a></li> |
---|
| 66 | </ul> |
---|
| 67 | </div> |
---|
| 68 | |
---|
| 69 | <div class="sphinxsidebar"> |
---|
| 70 | <div class="sphinxsidebarwrapper"> |
---|
| 71 | <h3><a href="index.html">Table Of Contents</a></h3> |
---|
| 72 | <ul> |
---|
| 73 | <li><a class="reference external" href="#">Examples</a><ul> |
---|
| 74 | <li><a class="reference external" href="#attribute-form">Attribute Form</a></li> |
---|
| 75 | <li><a class="reference external" href="#attribute-store-reader">Attribute Store & Reader</a></li> |
---|
| 76 | <li><a class="reference external" href="#grid-with-features">Grid with Features</a></li> |
---|
| 77 | <li><a class="reference external" href="#layer-tree">Layer Tree</a></li> |
---|
| 78 | <li><a class="reference external" href="#layer-opacity-slider">Layer Opacity Slider</a></li> |
---|
| 79 | <li><a class="reference external" href="#legend-panel">Legend Panel</a></li> |
---|
| 80 | <li><a class="reference external" href="#map-panel">Map Panel</a></li> |
---|
| 81 | <li><a class="reference external" href="#map-panel-in-a-viewport">Map Panel (in a Viewport)</a></li> |
---|
| 82 | <li><a class="reference external" href="#map-panel-in-a-window">Map Panel (in a Window)</a></li> |
---|
| 83 | <li><a class="reference external" href="#permalink">Permalink</a></li> |
---|
| 84 | <li><a class="reference external" href="#feature-popup">Feature Popup</a></li> |
---|
| 85 | <li><a class="reference external" href="#modifying-popups">Modifying Popups</a></li> |
---|
| 86 | <li><a class="reference external" href="#interactive-print-extent">Interactive Print Extent</a></li> |
---|
| 87 | <li><a class="reference external" href="#print-configuration-with-a-form">Print Configuration with a Form</a></li> |
---|
| 88 | <li><a class="reference external" href="#print-your-map">Print Your Map</a></li> |
---|
| 89 | <li><a class="reference external" href="#print-preview-window">Print Preview Window</a></li> |
---|
| 90 | <li><a class="reference external" href="#printing-openstreetmap">Printing OpenStreetMap</a></li> |
---|
| 91 | <li><a class="reference external" href="#feature-renderer">Feature Renderer</a></li> |
---|
| 92 | <li><a class="reference external" href="#filter-form-panel">Filter Form Panel</a></li> |
---|
| 93 | <li><a class="reference external" href="#toolbar-with-actions">Toolbar with Actions</a></li> |
---|
| 94 | <li><a class="reference external" href="#tree-nodes">Tree Nodes</a></li> |
---|
| 95 | <li><a class="reference external" href="#tree-legend">Tree Legend</a></li> |
---|
| 96 | <li><a class="reference external" href="#vector-legend">Vector Legend</a></li> |
---|
| 97 | <li><a class="reference external" href="#wms-capabilities-store">WMS Capabilities Store</a></li> |
---|
| 98 | <li><a class="reference external" href="#wms-capabilities-tree">WMS Capabilities Tree</a></li> |
---|
| 99 | <li><a class="reference external" href="#scale-chooser">Scale Chooser</a></li> |
---|
| 100 | <li><a class="reference external" href="#zoom-slider">Zoom Slider</a></li> |
---|
| 101 | </ul> |
---|
| 102 | </li> |
---|
| 103 | </ul> |
---|
| 104 | |
---|
| 105 | <h4>Previous topic</h4> |
---|
| 106 | <p class="topless"><a href="primers/openlayers-primer.html" |
---|
| 107 | title="previous chapter">Primer: OpenLayers</a></p> |
---|
| 108 | <h4>Next topic</h4> |
---|
| 109 | <p class="topless"><a href="developer/index.html" |
---|
| 110 | title="next chapter">GeoExt Community Involvement</a></p> |
---|
| 111 | </div> |
---|
| 112 | </div> |
---|
| 113 | |
---|
| 114 | |
---|
| 115 | <div class="document"> |
---|
| 116 | <div class="documentwrapper"> |
---|
| 117 | <div class="bodywrapper"> |
---|
| 118 | <div class="body"> |
---|
| 119 | |
---|
| 120 | <div class="section" id="examples"> |
---|
| 121 | <span id="id1"></span><h1>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h1> |
---|
| 122 | <div class="exampleblock example-attribute-form section" id="attribute-form"> |
---|
| 123 | <span id="example-attribute-form"></span><h2>Attribute Form<a class="headerlink" href="#attribute-form" title="Permalink to this headline">¶</a></h2> |
---|
| 124 | <p>Create a form with fields from attributes read from a WFS |
---|
| 125 | DescribeFeatureType response</p> |
---|
| 126 | </div> |
---|
| 127 | <div class="exampleblock example-attributes section" id="attribute-store-reader"> |
---|
| 128 | <span id="example-attributes"></span><h2>Attribute Store & Reader<a class="headerlink" href="#attribute-store-reader" title="Permalink to this headline">¶</a></h2> |
---|
| 129 | <p>Create records with attribute types and values with an AttributeStore.</p> |
---|
| 130 | </div> |
---|
| 131 | <div class="exampleblock example-feature-grid section" id="grid-with-features"> |
---|
| 132 | <span id="example-feature-grid"></span><h2>Grid with Features<a class="headerlink" href="#grid-with-features" title="Permalink to this headline">¶</a></h2> |
---|
| 133 | <p>Synchronize selection of features between a grid and a layer.</p> |
---|
| 134 | </div> |
---|
| 135 | <div class="exampleblock example-layercontainer section" id="layer-tree"> |
---|
| 136 | <span id="example-layercontainer"></span><h2>Layer Tree<a class="headerlink" href="#layer-tree" title="Permalink to this headline">¶</a></h2> |
---|
| 137 | <p>Create a layer tree with a LayerContainer.</p> |
---|
| 138 | </div> |
---|
| 139 | <div class="exampleblock example-layeropacityslider section" id="layer-opacity-slider"> |
---|
| 140 | <span id="example-layeropacityslider"></span><h2>Layer Opacity Slider<a class="headerlink" href="#layer-opacity-slider" title="Permalink to this headline">¶</a></h2> |
---|
| 141 | <p>Use a slider to control layer opacity.</p> |
---|
| 142 | </div> |
---|
| 143 | <div class="exampleblock example-legendpanel section" id="legend-panel"> |
---|
| 144 | <span id="example-legendpanel"></span><h2>Legend Panel<a class="headerlink" href="#legend-panel" title="Permalink to this headline">¶</a></h2> |
---|
| 145 | <p>Display a layer legend in a panel.</p> |
---|
| 146 | </div> |
---|
| 147 | <div class="exampleblock example-mappanel-div section" id="map-panel"> |
---|
| 148 | <span id="example-mappanel-div"></span><h2>Map Panel<a class="headerlink" href="#map-panel" title="Permalink to this headline">¶</a></h2> |
---|
| 149 | <p>Render a map panel in any block level page element.</p> |
---|
| 150 | </div> |
---|
| 151 | <div class="exampleblock example-mappanel-viewport section" id="map-panel-in-a-viewport"> |
---|
| 152 | <span id="example-mappanel-viewport"></span><h2>Map Panel (in a Viewport)<a class="headerlink" href="#map-panel-in-a-viewport" title="Permalink to this headline">¶</a></h2> |
---|
| 153 | <p>Render a map panel in a viewport.</p> |
---|
| 154 | </div> |
---|
| 155 | <div class="exampleblock example-mappanel-window section" id="map-panel-in-a-window"> |
---|
| 156 | <span id="example-mappanel-window"></span><h2>Map Panel (in a Window)<a class="headerlink" href="#map-panel-in-a-window" title="Permalink to this headline">¶</a></h2> |
---|
| 157 | <p>Render a map panel in a Window.</p> |
---|
| 158 | </div> |
---|
| 159 | <div class="exampleblock example-permalink section" id="permalink"> |
---|
| 160 | <span id="example-permalink"></span><h2>Permalink<a class="headerlink" href="#permalink" title="Permalink to this headline">¶</a></h2> |
---|
| 161 | <p>Display a permalink each time the map changes position.</p> |
---|
| 162 | </div> |
---|
| 163 | <div class="exampleblock example-popup section" id="feature-popup"> |
---|
| 164 | <span id="example-popup"></span><h2>Feature Popup<a class="headerlink" href="#feature-popup" title="Permalink to this headline">¶</a></h2> |
---|
| 165 | <p>Display a popup with feature information.</p> |
---|
| 166 | </div> |
---|
| 167 | <div class="exampleblock example-popup-more section" id="modifying-popups"> |
---|
| 168 | <span id="example-popup-more"></span><h2>Modifying Popups<a class="headerlink" href="#modifying-popups" title="Permalink to this headline">¶</a></h2> |
---|
| 169 | <p>Update a popup with information from multiple locations.</p> |
---|
| 170 | </div> |
---|
| 171 | <div class="exampleblock example-print-extent section" id="interactive-print-extent"> |
---|
| 172 | <span id="example-print-extent"></span><h2>Interactive Print Extent<a class="headerlink" href="#interactive-print-extent" title="Permalink to this headline">¶</a></h2> |
---|
| 173 | <p>Change print scale, center and rotation with the PrintExtent plugin.</p> |
---|
| 174 | </div> |
---|
| 175 | <div class="exampleblock example-print-form section" id="print-configuration-with-a-form"> |
---|
| 176 | <span id="example-print-form"></span><h2>Print Configuration with a Form<a class="headerlink" href="#print-configuration-with-a-form" title="Permalink to this headline">¶</a></h2> |
---|
| 177 | <p>Use form field plugins to control print output.</p> |
---|
| 178 | </div> |
---|
| 179 | <div class="exampleblock example-print-page section" id="print-your-map"> |
---|
| 180 | <span id="example-print-page"></span><h2>Print Your Map<a class="headerlink" href="#print-your-map" title="Permalink to this headline">¶</a></h2> |
---|
| 181 | <p>Print the visible extent of a MapPanel with PrintPage and PrintProvider.</p> |
---|
| 182 | </div> |
---|
| 183 | <div class="exampleblock example-print-preview section" id="print-preview-window"> |
---|
| 184 | <span id="example-print-preview"></span><h2>Print Preview Window<a class="headerlink" href="#print-preview-window" title="Permalink to this headline">¶</a></h2> |
---|
| 185 | <p>Use the PrintMapPanel for interactive print previews.</p> |
---|
| 186 | </div> |
---|
| 187 | <div class="exampleblock example-print-preview-osm section" id="printing-openstreetmap"> |
---|
| 188 | <span id="example-print-preview-osm"></span><h2>Printing OpenStreetMap<a class="headerlink" href="#printing-openstreetmap" title="Permalink to this headline">¶</a></h2> |
---|
| 189 | <p>PrintMapPanel with an OSM map.</p> |
---|
| 190 | </div> |
---|
| 191 | <div class="exampleblock example-renderer section" id="feature-renderer"> |
---|
| 192 | <span id="example-renderer"></span><h2>Feature Renderer<a class="headerlink" href="#feature-renderer" title="Permalink to this headline">¶</a></h2> |
---|
| 193 | <p>Render a vector feature with multiple symbolizers in a box component.</p> |
---|
| 194 | </div> |
---|
| 195 | <div class="exampleblock example-search-form section" id="filter-form-panel"> |
---|
| 196 | <span id="example-search-form"></span><h2>Filter Form Panel<a class="headerlink" href="#filter-form-panel" title="Permalink to this headline">¶</a></h2> |
---|
| 197 | <p>Use a form to build an OpenLayers filter.</p> |
---|
| 198 | </div> |
---|
| 199 | <div class="exampleblock example-toolbar section" id="toolbar-with-actions"> |
---|
| 200 | <span id="example-toolbar"></span><h2>Toolbar with Actions<a class="headerlink" href="#toolbar-with-actions" title="Permalink to this headline">¶</a></h2> |
---|
| 201 | <p>Create a toolbar with GeoExt Actions.</p> |
---|
| 202 | </div> |
---|
| 203 | <div class="exampleblock example-tree section" id="tree-nodes"> |
---|
| 204 | <span id="example-tree"></span><h2>Tree Nodes<a class="headerlink" href="#tree-nodes" title="Permalink to this headline">¶</a></h2> |
---|
| 205 | <p>Create all kinds of tree nodes.</p> |
---|
| 206 | </div> |
---|
| 207 | <div class="exampleblock example-tree-legend section" id="tree-legend"> |
---|
| 208 | <span id="example-tree-legend"></span><h2>Tree Legend<a class="headerlink" href="#tree-legend" title="Permalink to this headline">¶</a></h2> |
---|
| 209 | <p>Render layer nodes with legends.</p> |
---|
| 210 | </div> |
---|
| 211 | <div class="exampleblock example-vector-legend section" id="vector-legend"> |
---|
| 212 | <span id="example-vector-legend"></span><h2>Vector Legend<a class="headerlink" href="#vector-legend" title="Permalink to this headline">¶</a></h2> |
---|
| 213 | <p>Render a legend for a vector layer.</p> |
---|
| 214 | </div> |
---|
| 215 | <div class="exampleblock example-wms-capabilities section" id="wms-capabilities-store"> |
---|
| 216 | <span id="example-wms-capabilities"></span><h2>WMS Capabilities Store<a class="headerlink" href="#wms-capabilities-store" title="Permalink to this headline">¶</a></h2> |
---|
| 217 | <p>Create layer records from WMS capabilities documents.</p> |
---|
| 218 | </div> |
---|
| 219 | <div class="exampleblock example-wms-tree section" id="wms-capabilities-tree"> |
---|
| 220 | <span id="example-wms-tree"></span><h2>WMS Capabilities Tree<a class="headerlink" href="#wms-capabilities-tree" title="Permalink to this headline">¶</a></h2> |
---|
| 221 | <p>Create a tree loader from WMS capabilities documents.</p> |
---|
| 222 | </div> |
---|
| 223 | <div class="exampleblock example-zoom-chooser section" id="scale-chooser"> |
---|
| 224 | <span id="example-zoom-chooser"></span><h2>Scale Chooser<a class="headerlink" href="#scale-chooser" title="Permalink to this headline">¶</a></h2> |
---|
| 225 | <p>Use a ComboBox to display available map scales.</p> |
---|
| 226 | </div> |
---|
| 227 | <div class="exampleblock example-zoomslider section" id="zoom-slider"> |
---|
| 228 | <span id="example-zoomslider"></span><h2>Zoom Slider<a class="headerlink" href="#zoom-slider" title="Permalink to this headline">¶</a></h2> |
---|
| 229 | <p>Use a slider to control map scale.</p> |
---|
| 230 | </div> |
---|
| 231 | </div> |
---|
| 232 | |
---|
| 233 | |
---|
| 234 | </div> |
---|
| 235 | </div> |
---|
| 236 | </div> |
---|
| 237 | <div class="clearer"></div> |
---|
| 238 | </div> |
---|
| 239 | <div class="related"> |
---|
| 240 | <h3>Navigation</h3> |
---|
| 241 | <ul> |
---|
| 242 | <li class="right" style="margin-right: 10px"> |
---|
| 243 | <a href="genindex.html" title="General Index" |
---|
| 244 | accesskey="I">index</a></li> |
---|
| 245 | <li class="right" > |
---|
| 246 | <a href="modindex.html" title="Global Module Index" |
---|
| 247 | accesskey="M">modules</a> |</li> |
---|
| 248 | <li class="right" > |
---|
| 249 | <a href="developer/index.html" title="GeoExt Community Involvement" |
---|
| 250 | accesskey="N">next</a> |</li> |
---|
| 251 | <li class="right" > |
---|
| 252 | <a href="primers/openlayers-primer.html" title="Primer: OpenLayers" |
---|
| 253 | accesskey="P">previous</a> |</li> |
---|
| 254 | <li><a href="index.html">GeoExt</a> »</li> |
---|
| 255 | <li><a href="#">Examples</a></li> |
---|
| 256 | </ul> |
---|
| 257 | </div> |
---|
| 258 | |
---|
| 259 | <div class="footer"> |
---|
| 260 | © Copyright 2009-2010, GeoExt Community. |
---|
| 261 | </div> |
---|
| 262 | </body> |
---|
| 263 | </html> |
---|