Changes between Version 39 and Version 40 of DeveloperGuidelines/GIS
- Timestamp:
- 06/18/11 13:12:30 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/GIS
v39 v40 232 232 }}} 233 233 ==== Module ==== 234 !OpenLayers code templates need adding to:234 Classes need adding: 235 235 {{{modules/s3gis.py}}} 236 236 {{{ 237 class NewTypeLayer(Layer): 238 ... 239 237 240 def show_map(): 241 for LayerType in [ 242 ... 243 NewTypeLayer, 244 245 }}} 246 247 ==== Static ==== 248 OpenLayers code needs adding: 249 {{{static/scripts/S3/s3.gis.layers.js}}} 250 {{{ 251 function addNewTyppeLayer(layer) { 252 ... 253 } 254 function addLayers() { 255 .... 256 if (S3.gis.layers_newlayertype) { 257 for (i = 0; i < S3.gis.layers_newlayertype.length; i++) { 258 addNewTypeLayer(S3.gis.layers_newlayertype[i]); 259 } 260 } 261 .... 262 } 238 263 }}} 239 264