actually test setpx setsize and setcontenthtml
git-svn-id: http://svn.openlayers.org/trunk/openlayers@233 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -68,10 +68,10 @@
|
||||
var border = "1px solid";
|
||||
|
||||
|
||||
popup = new OpenLayers.Popup(id,
|
||||
new OpenLayers.Pixel(x, y),
|
||||
new OpenLayers.Size(w, h),
|
||||
content);
|
||||
popup = new OpenLayers.Popup(id);
|
||||
popup.setPx(new OpenLayers.Pixel(x, y));
|
||||
popup.setSize(new OpenLayers.Size(w, h));
|
||||
popup.setContentHTML(content);
|
||||
popup.draw();
|
||||
popup.setBackgroundColor(color);
|
||||
popup.setOpacity(opacity);
|
||||
|
||||
Reference in New Issue
Block a user