Changes between Version 39 and Version 40 of DeveloperGuidelines/GIS


Ignore:
Timestamp:
06/18/11 13:12:30 (10 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/GIS

    v39 v40  
    232232}}}
    233233==== Module ====
    234 !OpenLayers code templates need adding to:
     234Classes need adding:
    235235{{{modules/s3gis.py}}}
    236236{{{
     237class NewTypeLayer(Layer):
     238...
     239
    237240def show_map():
     241for LayerType in [
     242                  ...
     243                  NewTypeLayer,
     244
     245}}}
     246
     247==== Static ====
     248OpenLayers code needs adding:
     249{{{static/scripts/S3/s3.gis.layers.js}}}
     250{{{
     251function addNewTyppeLayer(layer) {
     252    ...
     253}
     254function 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}
    238263}}}
    239264