Changeset 6691
- Timestamp:
- 03/28/08 21:55:47 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/euzuro/pop/lib/OpenLayers/Popup/Anchored.js
r6688 r6691 78 78 * Method: moveTo 79 79 * Since the popup is moving to a new px, it might need also to be moved 80 * relative to where the marker is. 80 * relative to where the marker is. We first calculate the new 81 * relativePosition, and then we calculate the new px where we will 82 * put the popup, based on the new relative position. 83 * 84 * If the relativePosition has changed, we must also call 85 * updateRelativePosition() to make any visual changes to the popup 86 * which are associated with putting it in a new relativePosition. 81 87 * 82 88 * Parameters: … … 92 98 OpenLayers.Popup.prototype.moveTo.apply(this, newArguments); 93 99 100 //if this move has caused the popup to change its relative position, 101 // we need to make the appropriate cosmetic changes. 94 102 if (this.relativePosition != oldRelativePosition) { 95 103 this.updateRelativePosition();
