Changeset 3592
- Timestamp:
- 07/05/07 14:10:22 (1 year ago)
- Files:
-
- sandbox/euzuro/untiled3/lib/OpenLayers/Console.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Control/Navigation.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Control/OverviewMap.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Format.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Geometry/Collection.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Geometry/LineString.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Geometry/MultiLineString.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Geometry/MultiPoint.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Geometry/MultiPolygon.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Geometry/Point.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Geometry/Polygon.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Handler/Path.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Handler/Point.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Layer.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Layer/EventPane.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Layer/Image.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Layer/MapServer.js (modified) (7 diffs)
- sandbox/euzuro/untiled3/lib/OpenLayers/Layer/Vector.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Layer/WMS.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Tile/Image.js (modified) (1 diff)
- sandbox/euzuro/untiled3/lib/OpenLayers/Tile/WFS.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/euzuro/untiled3/lib/OpenLayers/Console.js
r3545 r3592 202 202 count: function() {}, 203 203 204 /** 205 * Constant: CLASS_NAME 206 */ 204 /** @final @type String */ 207 205 CLASS_NAME: "OpenLayers.Console" 208 206 }; sandbox/euzuro/untiled3/lib/OpenLayers/Control/Navigation.js
r3585 r3592 9 9 * 10 10 * Class: OpenLayers.Control.Navigation 11 * 12 * Inherits: 13 * - <OpenLayers.Control> 11 14 */ 12 15 OpenLayers.Control.Navigation = OpenLayers.Class.create(); sandbox/euzuro/untiled3/lib/OpenLayers/Control/OverviewMap.js
r3545 r3592 684 684 }, 685 685 686 /** 687 * Constant: CLASS_NAME 688 * {String} Name of this class 689 */ 686 /** @final @type String */ 690 687 CLASS_NAME: 'OpenLayers.Control.OverviewMap' 691 688 sandbox/euzuro/untiled3/lib/OpenLayers/Format.js
r3545 r3592 57 57 }, 58 58 59 /** 60 * Constant: CLASS_NAME 61 * {String} OpenLayers.Format 62 */ 59 /** @final @type String */ 63 60 CLASS_NAME: "OpenLayers.Format" 64 61 sandbox/euzuro/untiled3/lib/OpenLayers/Geometry/Collection.js
r3545 r3592 274 274 }, 275 275 276 /** 277 * Constant: CLASS_NAME 278 * {String} Name of class. 279 */ 276 /** @final @type String */ 280 277 CLASS_NAME: "OpenLayers.Geometry.Collection" 281 278 }); sandbox/euzuro/untiled3/lib/OpenLayers/Geometry/LineString.js
r3545 r3592 45 45 }, 46 46 47 /** 48 * Constant: CLASS_NAME 49 * {String} Name of class. 50 */ 47 /** @final @type String */ 51 48 CLASS_NAME: "OpenLayers.Geometry.LineString" 52 49 }); sandbox/euzuro/untiled3/lib/OpenLayers/Geometry/MultiLineString.js
r3545 r3592 39 39 }, 40 40 41 /** 42 * Constant: CLASS_NAME 43 * {String} Name of class. 44 */ 41 /** @final @type String */ 45 42 CLASS_NAME: "OpenLayers.Geometry.MultiLineString" 46 43 }); sandbox/euzuro/untiled3/lib/OpenLayers/Geometry/MultiPoint.js
r3545 r3592 64 64 }, 65 65 66 /** 67 * Constant: CLASS_NAME 68 * {String} Name of class. 69 */ 66 /** @final @type String */ 70 67 CLASS_NAME: "OpenLayers.Geometry.MultiPoint" 71 68 }); sandbox/euzuro/untiled3/lib/OpenLayers/Geometry/MultiPolygon.js
r3545 r3592 40 40 }, 41 41 42 /** 43 * Constant: CLASS_NAME 44 * {String} Name of class. 45 */ 42 /** @final @type String */ 46 43 CLASS_NAME: "OpenLayers.Geometry.MultiPolygon" 47 44 }); sandbox/euzuro/untiled3/lib/OpenLayers/Geometry/Point.js
r3545 r3592 133 133 }, 134 134 135 /** Constant: CLASS_NAME 136 * {String} Name of this class 137 */ 135 /** @final @type String */ 138 136 CLASS_NAME: "OpenLayers.Geometry.Point" 139 137 }); sandbox/euzuro/untiled3/lib/OpenLayers/Geometry/Polygon.js
r3545 r3592 59 59 }, 60 60 61 /** 62 * Constant: CLASS_NAME 63 * {String} Name of class. 64 */ 61 /** @final @type String */ 65 62 CLASS_NAME: "OpenLayers.Geometry.Polygon" 66 63 }); sandbox/euzuro/untiled3/lib/OpenLayers/Handler/Path.js
r3545 r3592 241 241 }, 242 242 243 /** 244 * Constant: CLASS_NAME 245 * {String} Name of class. 246 */ 243 /** @final @type String */ 247 244 CLASS_NAME: "OpenLayers.Handler.Path" 248 245 }); sandbox/euzuro/untiled3/lib/OpenLayers/Handler/Point.js
r3545 r3592 264 264 }, 265 265 266 /** 267 * Constant: CLASS_NAME 268 * {String} Name of class. 269 */ 266 /** @final @type String */ 270 267 CLASS_NAME: "OpenLayers.Handler.Point" 271 268 }); sandbox/euzuro/untiled3/lib/OpenLayers/Layer.js
r3585 r3592 413 413 }, 414 414 415 /** 416 * @returns The size that the image should be, taking into account gutters 417 * @tile OpenLayers.Size 415 /** 416 * APIMethod: getImageSize 417 * 418 * Return: 419 * {<OpenLayers.Size>} The size that the image should be, taking into 420 * account gutters. 418 421 */ 419 422 getImageSize: function() { sandbox/euzuro/untiled3/lib/OpenLayers/Layer/EventPane.js
r3545 r3592 362 362 }, 363 363 364 /** 365 * Constant: CLASS_NAME 366 * {String} Name of this class 367 */ 364 /** @final @type String */ 368 365 CLASS_NAME: "OpenLayers.Layer.EventPane" 369 366 }); sandbox/euzuro/untiled3/lib/OpenLayers/Layer/Image.js
r3555 r3592 205 205 }, 206 206 207 /** 208 * Constant: CLASS_NAME 209 * {String} OpenLayers.Layer.Image 210 */ 207 /** @final @type String */ 211 208 CLASS_NAME: "OpenLayers.Layer.Image" 212 209 }); sandbox/euzuro/untiled3/lib/OpenLayers/Layer/MapServer.js
r3555 r3592 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ 4 // @requires OpenLayers/Layer/Grid.js 4 5 5 /** 6 6 * @requires OpenLayers/Layer/Grid.js … … 17 17 OpenLayers.Class.inherit( OpenLayers.Layer.Grid, { 18 18 19 /**20 * Constant: DEFAULT_PARAMS21 * {Object} Hashtable of default parameter key/value pairs22 */19 /** 20 * Constant: DEFAULT_PARAMS 21 * {Object} Hashtable of default parameter key/value pairs 22 */ 23 23 DEFAULT_PARAMS: { 24 mode: "map",25 map_imagetype: "png"26 },24 mode: "map", 25 map_imagetype: "png" 26 }, 27 27 28 /** 29 * Constructor: OpenLayers.Layer.MapServer 30 * Create a new MapServer layer object 31 * 32 * Example: 33 * (code) 34 * layer = new OpenLayers.Layer.MapServer( "OpenLayers WMS", 35 * "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'}, 36 * {gutter: 15}); 37 * (end) 38 * 39 * Parameters: 40 * name - {String} A name for the layer 41 * url - {String} Base url for the MapServer CGI 42 * (e.g. http://www2.dmsolutions.ca/cgi-bin/mapserv) 43 * params - {Object} An object with key/value pairs representing the 44 * GetMap query string parameters and parameter values. 45 * options - {Ojbect} Hashtable of extra options to tag onto the layer 46 * 47 * Return: 48 * A new OpenLayers.Layer.MapServer instance 49 */ 28 /** 29 * Constructor: OpenLayers.Layer.MapServer 30 * Create a new MapServer layer object 31 * 32 * Parameters: 33 * name - {String} A name for the layer 34 * url - {String} Base url for the MapServer CGI 35 * (e.g. http://www2.dmsolutions.ca/cgi-bin/mapserv) 36 * params - {Object} An object with key/value pairs representing the 37 * GetMap query string parameters and parameter values. 38 * options - {Ojbect} Hashtable of extra options to tag onto the layer 39 */ 50 40 initialize: function(name, url, params, options) { 51 41 var newArguments = new Array(); … … 91 81 92 82 /** 93 * addTile creates a tile, initializes it, and 94 * adds it to the layer div. 95 * 96 * @param {<OpenLayers.Bounds>} bounds 97 * 98 * @returns The added OpenLayers.Tile.Image 99 * @type OpenLayers.Tile.Image 100 */ 83 * Method: addTile 84 * Creates a tile, initializes it, and adds it to the layer div. 85 * 86 * Parameters: 87 * bounds - {<OpenLayers.Bounds>} 88 * 89 * Return: 90 * {<OpenLayers.Tile.Image>} The added OpenLayers.Tile.Image 91 */ 101 92 addTile:function(bounds,position) { 102 93 var url = this.getURL(bounds); … … 109 100 * 110 101 * Parameters: 111 * bounds - {<OpenLayers.Bounds>} A bounds representing the bbox for the112 * request102 * bounds - {<OpenLayers.Bounds>} A bounds representing the bbox 103 * for the request 113 104 * 114 105 * Return: 115 * {String} A string with the layer's url and parameters and also the 116 * passed-in bounds and appropriate tile size specified as parameters 106 * {String} A string with the layer's url and parameters and also 107 * the passed-in bounds and appropriate tile size specified 108 * as parameters. 117 109 */ 118 110 getURL: function (bounds) { … … 137 129 138 130 /** 139 * Method: getFullRequestString 140 * combine the layer's url with its params and these newParams. 141 * 142 * Parameter: {Object} newParams 143 * new parameters that should be added to the request string. 144 * 145 * Parameter: {String} altUrl 146 * optional, replace the URL in the full request string with the 147 * provided URL. 148 * 149 * Return: {String} 150 * A string with the layer's url and parameters embedded in it. 151 */ 131 * Method: getFullRequestString 132 * combine the layer's url with its params and these newParams. 133 * 134 * Parameter: 135 * newParams - {Object} New parameters that should be added to the 136 * request string. 137 * altUrl - {String} (optional) Replace the URL in the full request 138 * string with the provided URL. 139 * 140 * Return: 141 * {String} A string with the layer's url and parameters embedded in it. 142 */ 152 143 getFullRequestString:function(newParams, altUrl) { 153 144 // use layer's url unless altUrl passed in … … 177 168 var paramsString = OpenLayers.Util.getParameterString(allParams); 178 169 179 /* MapServer needs '+' seperating things like bounds/height/width. 180 Since typically this is URL encoded, we use a slight hack: we 181 depend on the list-like functionality of getParameterString to 182 leave ',' only in the case of list items (since otherwise it is 183 encoded) then do a regular expression replace on the , characters 184 to '+' */ 170 // MapServer needs '+' seperating things like bounds/height/width. 171 // Since typically this is URL encoded, we use a slight hack: we 172 // depend on the list-like functionality of getParameterString to 173 // leave ',' only in the case of list items (since otherwise it is 174 // encoded) then do a regular expression replace on the , characters 175 // to '+' 176 // 185 177 paramsString = paramsString.replace(/,/g, "+"); 186 178 … … 201 193 return requestString; 202 194 }, 203 /** 204 * Constant: CLASS_NAME 205 * {String} OpenLayers.Layer.MapServer 206 */ 195 196 /** @final @type String */ 207 197 CLASS_NAME: "OpenLayers.Layer.MapServer" 208 198 }); sandbox/euzuro/untiled3/lib/OpenLayers/Layer/Vector.js
r3545 r3592 432 432 }, 433 433 434 /** 435 * Constant: CLASS_NAME 436 * {String} 'OpenLayers.Layer.Vector' 437 */ 434 /** @final @type String */ 438 435 CLASS_NAME: "OpenLayers.Layer.Vector" 439 436 }); sandbox/euzuro/untiled3/lib/OpenLayers/Layer/WMS.js
r3555 r3592 41 41 reproject: true, 42 42 43 /** @type Boolean */ 43 /** 44 * APIProperty: isBaseLayer 45 * {Boolean} Default is true for WMS layer 46 */ 44 47 isBaseLayer: true, 45 48 sandbox/euzuro/untiled3/lib/OpenLayers/Tile/Image.js
r3555 r3592 233 233 }, 234 234 235 /** 236 * Constant: CLASS_NAME 237 * {String} Name of class. 238 */ 235 /** @final @type String */ 239 236 CLASS_NAME: "OpenLayers.Tile.Image" 240 237 } sandbox/euzuro/untiled3/lib/OpenLayers/Tile/WFS.js
r3545 r3592 149 149 }, 150 150 151 /** 152 * Constant: CLASS_NAME 153 * {String} Name of class. 154 */ 151 /** @final @type String */ 155 152 CLASS_NAME: "OpenLayers.Tile.WFS" 156 153 }
