OpenLayers Example

click to add popup to map
click to modify popup's attributes
click to add an anchored popup
click to remove the popup from map