From 758ebee26ebe4ac76eb6e9dd047f84ddd7624944 Mon Sep 17 00:00:00 2001 From: euzuro Date: Mon, 22 May 2006 11:46:53 +0000 Subject: [PATCH] update popups.html demo to changes from r252 git-svn-id: http://svn.openlayers.org/trunk/openlayers@253 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- popups.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/popups.html b/popups.html index 6f08acbb41..1ce33a8f2a 100644 --- a/popups.html +++ b/popups.html @@ -28,7 +28,7 @@ function changer() { popup.setBackgroundColor("red"); popup.setSize(new OpenLayers.Size(200,20)); - popup.setPx(new OpenLayers.Pixel(120,120)); + popup.moveTo(new OpenLayers.Pixel(120,120)); popup.setOpacity(.9); popup.setBorder("2px solid"); popup.setContentHTML("High Chickens"); @@ -36,11 +36,10 @@ function add() { popup = new OpenLayers.Popup("chicken", - new OpenLayers.Pixel(0,00), new OpenLayers.Size(200,200), "example popup"); - map.addPopup(popup); + map.addPopup(popup, new OpenLayers.Pixel(50,50)); } function destroy() {