OpenLayers OpenLayers

Ticket #531: moveControl.patch

File moveControl.patch, 458 bytes (added by euzuro, 2 years ago)

patch for moveTo fix

  • lib/OpenLayers/Control.js

    old new  
    7979    moveTo: function (px) { 
    8080        if ((px != null) && (this.div != null)) { 
    8181            this.div.style.left = px.x + "px"; 
    82             this.div.style.top = px.x + "px"; 
     82            this.div.style.top = px.y + "px"; 
    8383        } 
    8484    }, 
    8585