| 1 | |
|---|
| 2 | .. _examples: |
|---|
| 3 | |
|---|
| 4 | Examples |
|---|
| 5 | ======== |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | .. _example.attribute-form: |
|---|
| 9 | |
|---|
| 10 | .. cssclass:: exampleblock example-attribute-form |
|---|
| 11 | |
|---|
| 12 | Attribute Form |
|---|
| 13 | -------------- |
|---|
| 14 | Create a form with fields from attributes read from a WFS |
|---|
| 15 | DescribeFeatureType response |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | .. _example.attributes: |
|---|
| 20 | |
|---|
| 21 | .. cssclass:: exampleblock example-attributes |
|---|
| 22 | |
|---|
| 23 | Attribute Store & Reader |
|---|
| 24 | ------------------------ |
|---|
| 25 | Create records with attribute types and values with an AttributeStore. |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | .. _example.feature-grid: |
|---|
| 30 | |
|---|
| 31 | .. cssclass:: exampleblock example-feature-grid |
|---|
| 32 | |
|---|
| 33 | Grid with Features |
|---|
| 34 | ------------------ |
|---|
| 35 | Synchronize selection of features between a grid and a layer. |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | .. _example.layercontainer: |
|---|
| 40 | |
|---|
| 41 | .. cssclass:: exampleblock example-layercontainer |
|---|
| 42 | |
|---|
| 43 | Layer Tree |
|---|
| 44 | ---------- |
|---|
| 45 | Create a layer tree with a LayerContainer. |
|---|
| 46 | |
|---|
| 47 | |
|---|
| 48 | |
|---|
| 49 | .. _example.layeropacityslider: |
|---|
| 50 | |
|---|
| 51 | .. cssclass:: exampleblock example-layeropacityslider |
|---|
| 52 | |
|---|
| 53 | Layer Opacity Slider |
|---|
| 54 | -------------------- |
|---|
| 55 | Use a slider to control layer opacity. |
|---|
| 56 | |
|---|
| 57 | |
|---|
| 58 | |
|---|
| 59 | .. _example.legendpanel: |
|---|
| 60 | |
|---|
| 61 | .. cssclass:: exampleblock example-legendpanel |
|---|
| 62 | |
|---|
| 63 | Legend Panel |
|---|
| 64 | ------------ |
|---|
| 65 | Display a layer legend in a panel. |
|---|
| 66 | |
|---|
| 67 | |
|---|
| 68 | |
|---|
| 69 | .. _example.mappanel-div: |
|---|
| 70 | |
|---|
| 71 | .. cssclass:: exampleblock example-mappanel-div |
|---|
| 72 | |
|---|
| 73 | Map Panel |
|---|
| 74 | --------- |
|---|
| 75 | Render a map panel in any block level page element. |
|---|
| 76 | |
|---|
| 77 | |
|---|
| 78 | |
|---|
| 79 | .. _example.mappanel-viewport: |
|---|
| 80 | |
|---|
| 81 | .. cssclass:: exampleblock example-mappanel-viewport |
|---|
| 82 | |
|---|
| 83 | Map Panel (in a Viewport) |
|---|
| 84 | ------------------------- |
|---|
| 85 | Render a map panel in a viewport. |
|---|
| 86 | |
|---|
| 87 | |
|---|
| 88 | |
|---|
| 89 | .. _example.mappanel-window: |
|---|
| 90 | |
|---|
| 91 | .. cssclass:: exampleblock example-mappanel-window |
|---|
| 92 | |
|---|
| 93 | Map Panel (in a Window) |
|---|
| 94 | ------------------------- |
|---|
| 95 | Render a map panel in a Window. |
|---|
| 96 | |
|---|
| 97 | |
|---|
| 98 | |
|---|
| 99 | .. _example.permalink: |
|---|
| 100 | |
|---|
| 101 | .. cssclass:: exampleblock example-permalink |
|---|
| 102 | |
|---|
| 103 | Permalink |
|---|
| 104 | --------- |
|---|
| 105 | Display a permalink each time the map changes position. |
|---|
| 106 | |
|---|
| 107 | |
|---|
| 108 | |
|---|
| 109 | .. _example.popup: |
|---|
| 110 | |
|---|
| 111 | .. cssclass:: exampleblock example-popup |
|---|
| 112 | |
|---|
| 113 | Feature Popup |
|---|
| 114 | ------------- |
|---|
| 115 | Display a popup with feature information. |
|---|
| 116 | |
|---|
| 117 | |
|---|
| 118 | |
|---|
| 119 | .. _example.popup-more: |
|---|
| 120 | |
|---|
| 121 | .. cssclass:: exampleblock example-popup-more |
|---|
| 122 | |
|---|
| 123 | Modifying Popups |
|---|
| 124 | ---------------- |
|---|
| 125 | Update a popup with information from multiple locations. |
|---|
| 126 | |
|---|
| 127 | |
|---|
| 128 | |
|---|
| 129 | .. _example.print-extent: |
|---|
| 130 | |
|---|
| 131 | .. cssclass:: exampleblock example-print-extent |
|---|
| 132 | |
|---|
| 133 | Interactive Print Extent |
|---|
| 134 | ------------------------ |
|---|
| 135 | Change print scale, center and rotation with the PrintExtent plugin. |
|---|
| 136 | |
|---|
| 137 | |
|---|
| 138 | |
|---|
| 139 | .. _example.print-form: |
|---|
| 140 | |
|---|
| 141 | .. cssclass:: exampleblock example-print-form |
|---|
| 142 | |
|---|
| 143 | Print Configuration with a Form |
|---|
| 144 | ------------------------------- |
|---|
| 145 | Use form field plugins to control print output. |
|---|
| 146 | |
|---|
| 147 | |
|---|
| 148 | |
|---|
| 149 | .. _example.print-page: |
|---|
| 150 | |
|---|
| 151 | .. cssclass:: exampleblock example-print-page |
|---|
| 152 | |
|---|
| 153 | Print Your Map |
|---|
| 154 | -------------- |
|---|
| 155 | Print the visible extent of a MapPanel with PrintPage and PrintProvider. |
|---|
| 156 | |
|---|
| 157 | |
|---|
| 158 | |
|---|
| 159 | .. _example.print-preview: |
|---|
| 160 | |
|---|
| 161 | .. cssclass:: exampleblock example-print-preview |
|---|
| 162 | |
|---|
| 163 | Print Preview Window |
|---|
| 164 | -------------------- |
|---|
| 165 | Use the PrintMapPanel for interactive print previews. |
|---|
| 166 | |
|---|
| 167 | |
|---|
| 168 | |
|---|
| 169 | .. _example.print-preview-osm: |
|---|
| 170 | |
|---|
| 171 | .. cssclass:: exampleblock example-print-preview-osm |
|---|
| 172 | |
|---|
| 173 | Printing OpenStreetMap |
|---|
| 174 | ---------------------------------------- |
|---|
| 175 | PrintMapPanel with an OSM map. |
|---|
| 176 | |
|---|
| 177 | |
|---|
| 178 | |
|---|
| 179 | .. _example.renderer: |
|---|
| 180 | |
|---|
| 181 | .. cssclass:: exampleblock example-renderer |
|---|
| 182 | |
|---|
| 183 | Feature Renderer |
|---|
| 184 | ---------------- |
|---|
| 185 | Render a vector feature with multiple symbolizers in a box component. |
|---|
| 186 | |
|---|
| 187 | |
|---|
| 188 | |
|---|
| 189 | .. _example.search-form: |
|---|
| 190 | |
|---|
| 191 | .. cssclass:: exampleblock example-search-form |
|---|
| 192 | |
|---|
| 193 | Filter Form Panel |
|---|
| 194 | ----------------- |
|---|
| 195 | Use a form to build an OpenLayers filter. |
|---|
| 196 | |
|---|
| 197 | |
|---|
| 198 | |
|---|
| 199 | .. _example.toolbar: |
|---|
| 200 | |
|---|
| 201 | .. cssclass:: exampleblock example-toolbar |
|---|
| 202 | |
|---|
| 203 | Toolbar with Actions |
|---|
| 204 | -------------------- |
|---|
| 205 | Create a toolbar with GeoExt Actions. |
|---|
| 206 | |
|---|
| 207 | |
|---|
| 208 | |
|---|
| 209 | .. _example.tree: |
|---|
| 210 | |
|---|
| 211 | .. cssclass:: exampleblock example-tree |
|---|
| 212 | |
|---|
| 213 | Tree Nodes |
|---|
| 214 | ---------- |
|---|
| 215 | Create all kinds of tree nodes. |
|---|
| 216 | |
|---|
| 217 | |
|---|
| 218 | |
|---|
| 219 | .. _example.tree-legend: |
|---|
| 220 | |
|---|
| 221 | .. cssclass:: exampleblock example-tree-legend |
|---|
| 222 | |
|---|
| 223 | Tree Legend |
|---|
| 224 | ----------- |
|---|
| 225 | Render layer nodes with legends. |
|---|
| 226 | |
|---|
| 227 | |
|---|
| 228 | |
|---|
| 229 | .. _example.vector-legend: |
|---|
| 230 | |
|---|
| 231 | .. cssclass:: exampleblock example-vector-legend |
|---|
| 232 | |
|---|
| 233 | Vector Legend |
|---|
| 234 | ------------------------- |
|---|
| 235 | Render a legend for a vector layer. |
|---|
| 236 | |
|---|
| 237 | |
|---|
| 238 | |
|---|
| 239 | .. _example.wms-capabilities: |
|---|
| 240 | |
|---|
| 241 | .. cssclass:: exampleblock example-wms-capabilities |
|---|
| 242 | |
|---|
| 243 | WMS Capabilities Store |
|---|
| 244 | ---------------------- |
|---|
| 245 | Create layer records from WMS capabilities documents. |
|---|
| 246 | |
|---|
| 247 | |
|---|
| 248 | |
|---|
| 249 | .. _example.wms-tree: |
|---|
| 250 | |
|---|
| 251 | .. cssclass:: exampleblock example-wms-tree |
|---|
| 252 | |
|---|
| 253 | WMS Capabilities Tree |
|---|
| 254 | --------------------- |
|---|
| 255 | Create a tree loader from WMS capabilities documents. |
|---|
| 256 | |
|---|
| 257 | |
|---|
| 258 | |
|---|
| 259 | .. _example.zoom-chooser: |
|---|
| 260 | |
|---|
| 261 | .. cssclass:: exampleblock example-zoom-chooser |
|---|
| 262 | |
|---|
| 263 | Scale Chooser |
|---|
| 264 | ------------- |
|---|
| 265 | Use a ComboBox to display available map scales. |
|---|
| 266 | |
|---|
| 267 | |
|---|
| 268 | |
|---|
| 269 | .. _example.zoomslider: |
|---|
| 270 | |
|---|
| 271 | .. cssclass:: exampleblock example-zoomslider |
|---|
| 272 | |
|---|
| 273 | Zoom Slider |
|---|
| 274 | ----------- |
|---|
| 275 | Use a slider to control map scale. |
|---|
| 276 | |
|---|
| 277 | |
|---|