OpenLayers OpenLayers

Ticket #494: popup.patch

File popup.patch, 1.0 kB (added by crschmidt, 1 year ago)
  • lib/OpenLayers/Popup/AnchoredBubble.js

    old new  
    7171        return this.div; 
    7272    }, 
    7373 
     74    moveTo: function(px) { 
     75        OpenLayers.Popup.Anchored.prototype.moveTo.apply(this, arguments); 
     76        this.setRicoCorners(!this.rounded); 
     77        this.rounded = true; 
     78    }, 
     79 
    7480    /** 
    7581     * APIMethod: setSize 
    7682     *  
  • lib/OpenLayers/Popup/Anchored.js

    old new  
    100100     * px - {<OpenLayers.Pixel>} 
    101101    */ 
    102102    moveTo: function(px) { 
    103          
     103        this.relativePosition = this.calculateRelativePosition(px); 
    104104        var newPx = this.calculateNewPx(px); 
    105105         
    106106        var newArguments = new Array(newPx);