Changes between Version 6 and Version 7 of DeveloperGuidelines/GIS


Ignore:
Timestamp:
12/29/08 03:09:40 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/GIS

    v6 v7  
    5353}}}
    5454=== View ===
    55 {{{views/gis/map_service_catalogue.html}}}
     55{{{views/gis/map_service_catalogue.html}}} & {{{views/gis/update_layer.html}}}
    5656{{{
    5757<tr><td><label>{{=T("field_label")}}</label></td>
     
    6161{{{static/scripts/gis_layers.js}}}
    6262{{{
     63} else if (type=="newlayertype") {
     64        var fields_hide=["key"];
    6365
     66} else if (type=="newlayertype") {
     67            var fields_hide=["subtype","key"];
     68            var fields_show=["field"];
    6469}}}
    65 {{{views/gis/map_viewing_client.html}}}
    66 
     70{{{views/gis/ol_layers_all.js}}}
     71{{{
     72{{elif layer.type=="newlayertype":}}
     73var newlayertype = new OpenLayers.Layer.newlayertype( "{{=layer.name}}" );
     74map.addLayer(newlayertype);
     75{{pass}}
     76}}}
     77If loading custom JS files when the new Layer is active:
     78{{{views/gis/ol_js_loaders.html}}}
    6779
    6880----