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";
|
var border = "1px solid";
|
||||||
|
|
||||||
|
|
||||||
popup = new OpenLayers.Popup(id,
|
popup = new OpenLayers.Popup(id);
|
||||||
new OpenLayers.Pixel(x, y),
|
popup.setPx(new OpenLayers.Pixel(x, y));
|
||||||
new OpenLayers.Size(w, h),
|
popup.setSize(new OpenLayers.Size(w, h));
|
||||||
content);
|
popup.setContentHTML(content);
|
||||||
popup.draw();
|
popup.draw();
|
||||||
popup.setBackgroundColor(color);
|
popup.setBackgroundColor(color);
|
||||||
popup.setOpacity(opacity);
|
popup.setOpacity(opacity);
|
||||||
|
|||||||
Reference in New Issue
Block a user