*
*/
protected OpenLayersMap(final String id,
final OpenLayersMapHeaderContributor headerContrib, List<Overlay> overlays,
List<Layer> defaultLayers, HashMap<String, String> options) {
this(id, headerContrib, overlays, new PopupListener(false) {
@Override
protected void onClick(AjaxRequestTarget target, Overlay overlay) {
// make sure that info window is closed
if (Marker.class.isInstance(overlay)) {
clickAndOpenPopup((Marker) overlay, target);