Ticket #1046: getExtentArgs.patch
| File getExtentArgs.patch, 0.8 kB (added by euzuro, 1 year ago) |
|---|
-
lib/OpenLayers/Layer/FixedZoomLevels.js
old new 183 183 if (this.resolutions != null) { 184 184 return OpenLayers.Layer.prototype.getZoomForResolution.apply(this, arguments); 185 185 } else { 186 var extent = OpenLayers.Layer.prototype.getExtent.apply(this, 187 [resolution]); 188 186 var extent = OpenLayers.Layer.prototype.getExtent.apply(this, []); 189 187 return this.getZoomForExtent(extent); 190 188 } 191 189 },
