Ticket #494: popup.patch
| File popup.patch, 1.0 kB (added by crschmidt, 1 year ago) |
|---|
-
lib/OpenLayers/Popup/AnchoredBubble.js
old new 71 71 return this.div; 72 72 }, 73 73 74 moveTo: function(px) { 75 OpenLayers.Popup.Anchored.prototype.moveTo.apply(this, arguments); 76 this.setRicoCorners(!this.rounded); 77 this.rounded = true; 78 }, 79 74 80 /** 75 81 * APIMethod: setSize 76 82 * -
lib/OpenLayers/Popup/Anchored.js
old new 100 100 * px - {<OpenLayers.Pixel>} 101 101 */ 102 102 moveTo: function(px) { 103 103 this.relativePosition = this.calculateRelativePosition(px); 104 104 var newPx = this.calculateNewPx(px); 105 105 106 106 var newArguments = new Array(newPx);
