removed px member from OpenLayers.Popup. user must now specify a px value in the draw() method, just like with markers. updated tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@252 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -153,10 +153,11 @@ OpenLayers.Map.prototype = {
|
||||
|
||||
/**
|
||||
* @param {OpenLayers.Popup} popup
|
||||
* @param {OpenLayers.Pixel} px
|
||||
*/
|
||||
addPopup: function(popup) {
|
||||
addPopup: function(popup, px) {
|
||||
this.popups.push(popup);
|
||||
var popupDiv = popup.draw();
|
||||
var popupDiv = popup.draw(px);
|
||||
if (popupDiv) {
|
||||
popupDiv.style.zIndex = this.Z_INDEX_BASE['Popup'] +
|
||||
this.popups.length;
|
||||
|
||||
Reference in New Issue
Block a user