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:
euzuro
2006-05-22 11:45:38 +00:00
parent d2c18d4de7
commit 2410d94107
4 changed files with 28 additions and 40 deletions

View File

@@ -80,10 +80,9 @@
map = new OpenLayers.Map('map');
var popup = new OpenLayers.Popup("chicken",
new OpenLayers.Pixel(20,20),
new OpenLayers.Size(200,200));
map.addPopup(popup);
map.addPopup(popup, new OpenLayers.Pixel(20,20));
t.eq(map.popups.indexOf(popup), 0, "popup successfully added to Map's internal popups array");
var nodes = map.viewPortDiv.childNodes;