use new offset() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@459 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -110,7 +110,7 @@ OpenLayers.Popup.Anchored.prototype =
|
||||
var newPx = px.copyOf();
|
||||
|
||||
//adjust for offset
|
||||
newPx.add(this.anchor.offset.x, this.anchor.offset.y);
|
||||
newPx.offset(this.anchor.offset);
|
||||
|
||||
|
||||
var top = (this.relativePosition.charAt(0) == 't');
|
||||
|
||||
Reference in New Issue
Block a user