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:
@@ -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);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user