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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user