Changes between Version 21 and Version 22 of DeveloperGuidelines/GIS


Ignore:
Timestamp:
07/10/10 19:27:22 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/GIS

    v21 v22  
    170170def show_map():
    171171}}}
    172 ==== View ====
    173 {{{views/gis/ol_layers_all.js}}}
    174 {{{
    175 {{if newlayertype:}}
    176     {{include 'gis/ol_layers_newlayertype.js'}}
    177 {{pass}}
    178 }}}
    179 {{{views/gis/ol_layers_newlayertype.js}}}
    180 {{{
    181 {{if newlayertype.Satellite:}}
    182     var newlayertypesat = new OpenLayers.Layer.NewLayerType( "{{=newlayertype.Satellite}}" , {type: NewLayerType.Aerial, 'sphericalMercator': true } );
    183     map.addLayer(newlayertypesat);
    184 {{pass}}
    185 }}}
    186 If loading custom JS files when the new Layer is active:[[BR]]
    187 {{{views/gis/ol_js_loaders.html}}}
    188 {{{
    189 {{if virtualearth:}}
    190 <script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1"></script>
    191 {{pass}}
    192 }}}
    193 Note that these files are now deprecated as of [changeset:,52]:
    194  * {{{views/gis/form_*.html}}}
    195  * {{{views/gis/create_layer.html}}}
    196  * {{{views/gis/list_create_layer.html}}}
    197  * {{{views/gis/update_layer.html}}}
    198  * {{{static/scripts/gis_layers.js}}}
     172}
    199173----
    200174DeveloperGuidelines