Changeset 253
- Timestamp:
- 05/22/06 07:46:53 (3 years ago)
- Files:
-
- trunk/openlayers/popups.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/popups.html
r238 r253 29 29 popup.setBackgroundColor("red"); 30 30 popup.setSize(new OpenLayers.Size(200,20)); 31 popup. setPx(new OpenLayers.Pixel(120,120));31 popup.moveTo(new OpenLayers.Pixel(120,120)); 32 32 popup.setOpacity(.9); 33 33 popup.setBorder("2px solid"); … … 37 37 function add() { 38 38 popup = new OpenLayers.Popup("chicken", 39 new OpenLayers.Pixel(0,00),40 39 new OpenLayers.Size(200,200), 41 40 "example popup"); 42 41 43 map.addPopup(popup );42 map.addPopup(popup, new OpenLayers.Pixel(50,50)); 44 43 } 45 44
