Commit tests and code for #610, reviewed by Schuyler, to resolve

PanZoom/PanZoomBar position argument.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2965 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-04-02 01:03:25 +00:00
parent ce9ba4b560
commit bc7f415d29
4 changed files with 9 additions and 8 deletions

View File

@@ -27,9 +27,9 @@ OpenLayers.Control.PanZoom.prototype =
* @constructor
*/
initialize: function() {
OpenLayers.Control.prototype.initialize.apply(this, arguments);
this.position = new OpenLayers.Pixel(OpenLayers.Control.PanZoom.X,
OpenLayers.Control.PanZoom.Y);
OpenLayers.Control.prototype.initialize.apply(this, arguments);
},
/**