Changeset 496
- Timestamp:
- 06/01/06 08:30:46 (3 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Layer.js (modified) (1 diff)
- trunk/openlayers/lib/OpenLayers/Layer/Grid.js (modified) (1 diff)
- trunk/openlayers/lib/OpenLayers/Map.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Layer.js
r462 r496 12 12 * @type OpenLayers.Map */ 13 13 map: null, 14 15 // str -- projection for use in WFS, WMS, etc.16 projection: null,17 14 18 15 /** trunk/openlayers/lib/OpenLayers/Layer/Grid.js
r493 r496 221 221 getFullRequestString:function(params) { 222 222 var requestString = ""; 223 this.params.SRS = this. projection;223 this.params.SRS = this.map.projection; 224 224 // concat tile params with layer params and convert to string 225 225 var allParams = Object.extend(params, this.params); trunk/openlayers/lib/OpenLayers/Map.js
r473 r496 131 131 addLayer: function (layer, zIndex) { 132 132 layer.map = this; 133 layer.projection = this.projection;134 133 layer.div.style.overflow = ""; 135 134 if (zIndex) { … … 388 387 }, 389 388 389 /** 390 * ZOOM TO BOUNDS FUNCTION 391 */ 392 390 393 moveToNewExtent: function (zoomChanged) { 391 394 if (zoomChanged != null) { // reset the layerContainerDiv's location
