Applied bartvde's patch to fix #484.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2224 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -85,8 +85,8 @@ OpenLayers.Control.PanZoom.prototype =
|
|||||||
this.div.appendChild(btn);
|
this.div.appendChild(btn);
|
||||||
|
|
||||||
btn.onmousedown = this.buttonDown.bindAsEventListener(btn);
|
btn.onmousedown = this.buttonDown.bindAsEventListener(btn);
|
||||||
|
btn.onmouseup = this.doubleClick.bindAsEventListener(btn);
|
||||||
btn.ondblclick = this.doubleClick.bindAsEventListener(btn);
|
btn.ondblclick = this.doubleClick.bindAsEventListener(btn);
|
||||||
btn.onclick = this.doubleClick.bindAsEventListener(btn);
|
|
||||||
btn.action = id;
|
btn.action = id;
|
||||||
btn.map = this.map;
|
btn.map = this.map;
|
||||||
btn.slideFactor = this.slideFactor;
|
btn.slideFactor = this.slideFactor;
|
||||||
|
|||||||
Reference in New Issue
Block a user