AjaxBehaviorEvent behaviorEvent = (AjaxBehaviorEvent) event;
FacesEvent wrapperEvent = null;
if(eventName.equals("overlaySelect")) {
wrapperEvent = new OverlaySelectEvent(this, behaviorEvent.getBehavior(), this.getModel().findOverlay(params.get(clientId + "_overlayId")));
//if there is info window, update and show it
GMapInfoWindow infoWindow = getInfoWindow();
if(infoWindow != null) {
RequestContext.getCurrentInstance().addPartialUpdateTarget(infoWindow.getClientId(context));