Ticket #610: panzoom.patch
| File panzoom.patch, 1.4 kB (added by crschmidt, 2 years ago) |
|---|
-
lib/OpenLayers/Control/PanZoomBar.js
old new 9 9 * @requires OpenLayers/Control/PanZoom.js 10 10 */ 11 11 OpenLayers.Control.PanZoomBar = OpenLayers.Class.create(); 12 OpenLayers.Control.PanZoomBar.X = 4;13 OpenLayers.Control.PanZoomBar.Y = 4;14 12 OpenLayers.Control.PanZoomBar.prototype = 15 13 OpenLayers.Class.inherit( OpenLayers.Control.PanZoom, { 16 14 … … 34 32 35 33 initialize: function() { 36 34 OpenLayers.Control.PanZoom.prototype.initialize.apply(this, arguments); 37 this.position = new OpenLayers.Pixel(OpenLayers.Control.PanZoomBar.X,38 OpenLayers.Control.PanZoomBar.Y);39 35 }, 40 36 41 37 /** -
lib/OpenLayers/Control/PanZoom.js
old new 27 27 * @constructor 28 28 */ 29 29 initialize: function() { 30 OpenLayers.Control.prototype.initialize.apply(this, arguments);31 30 this.position = new OpenLayers.Pixel(OpenLayers.Control.PanZoom.X, 32 31 OpenLayers.Control.PanZoom.Y); 32 OpenLayers.Control.prototype.initialize.apply(this, arguments); 33 33 }, 34 34 35 35 /**
