This is why I should never just 'go ahead and commit'. Also why I should write

tests. This should be setMap: fixes the MousePosition control.  


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1672 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-10-06 20:32:48 +00:00
parent 4aef16e1bd
commit a9baa4798f

View File

@@ -97,7 +97,7 @@ OpenLayers.Control.MousePosition.prototype =
* *
*/ */
setMap: function() { setMap: function() {
OpenLayers.Control.prototype.draw.apply(this, arguments); OpenLayers.Control.prototype.setMap.apply(this, arguments);
this.map.events.register( 'mousemove', this, this.mousemove); this.map.events.register( 'mousemove', this, this.mousemove);
}, },