Changes between Version 18 and Version 19 of DeveloperGuidelines/GIS


Ignore:
Timestamp:
04/23/10 10:04:11 (15 years ago)
Author:
Fran Boon
Comment:

Guidelines for Developers wishing to make use of Mapping within their Module

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/GIS

    v18 v19  
    33= GIS Module =
    44
    5 == !OpenLayers ==
     5== Guidelines for Developers wishing to make use of Mapping within their Module ==
     6We are about to develop a Mapping API to make this easy.
     7 * [wiki:BluePrintGISAPI]
     8Until then, to understand how mapping works, see:
     9 * [wiki:UserGuidelinesGIS]
     10 * [wiki:BluePrintGISFeatureLayers]
     11
     12
     13== Guidelines for Developers wishing to extend the functionality of the core GIS ==
     14=== !OpenLayers ===
    615The GIS module uses !OpenLayers for Display purposes, so a thorough understanding of this is a great foundation for what we do:
    716 * http://trac.openlayers.org/wiki/Documentation#BeforeGettingStarted--TheTechnologiesBehindOpenLayers
     
    918
    1019Projections: http://trac.openlayers.org/wiki/Documentation/Dev/proj4js
    11 == GUI ==
     20=== GUI ===
    1221The map window is wrapped in an Ext GUI based on [http://geoext.org GeoExt] (formerly [https://trac.mapfish.org/trac/mapfish/wiki/HowToUseWidgets MapFish client])
    1322
    14 == How to debug WMS ==
     23=== How to debug WMS ===
    1524* [https://addons.mozilla.org/en-US/firefox/addon/91406 WMS Inspector] - Firefox add-on
    1625
    17 == How to add a new Layer type ==
     26=== How to add a new Layer type ===
    1827Assuming that !OpenLayers supports the layertype:
    19 === Model ===
     28==== Model ====
    2029{{{models/_gis.py}}}
    2130{{{
     
    6675}}}
    6776
    68 === Controller ===
     77==== Controller ====
    6978New Layer Types & their Fields need adding to 2 places in the Controller:[[BR]]
    7079{{{controllers/gis.py}}}
     
    9099 * {{{shn_gis_update_layer()}}}
    91100
    92 === View ===
     101==== View ====
    93102{{{views/gis/ol_layers_all.js}}}
    94103{{{