Changes between Version 18 and Version 19 of DeveloperGuidelines/GIS
- Timestamp:
- 04/23/10 10:04:11 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/GIS
v18 v19 3 3 = GIS Module = 4 4 5 == !OpenLayers == 5 == Guidelines for Developers wishing to make use of Mapping within their Module == 6 We are about to develop a Mapping API to make this easy. 7 * [wiki:BluePrintGISAPI] 8 Until 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 === 6 15 The GIS module uses !OpenLayers for Display purposes, so a thorough understanding of this is a great foundation for what we do: 7 16 * http://trac.openlayers.org/wiki/Documentation#BeforeGettingStarted--TheTechnologiesBehindOpenLayers … … 9 18 10 19 Projections: http://trac.openlayers.org/wiki/Documentation/Dev/proj4js 11 == GUI==20 === GUI === 12 21 The 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]) 13 22 14 == How to debug WMS==23 === How to debug WMS === 15 24 * [https://addons.mozilla.org/en-US/firefox/addon/91406 WMS Inspector] - Firefox add-on 16 25 17 == How to add a new Layer type==26 === How to add a new Layer type === 18 27 Assuming that !OpenLayers supports the layertype: 19 === Model===28 ==== Model ==== 20 29 {{{models/_gis.py}}} 21 30 {{{ … … 66 75 }}} 67 76 68 === Controller===77 ==== Controller ==== 69 78 New Layer Types & their Fields need adding to 2 places in the Controller:[[BR]] 70 79 {{{controllers/gis.py}}} … … 90 99 * {{{shn_gis_update_layer()}}} 91 100 92 === View===101 ==== View ==== 93 102 {{{views/gis/ol_layers_all.js}}} 94 103 {{{