Package org.primefaces.event.map

Examples of org.primefaces.event.map.OverlaySelectEvent


    /**
     * Respond to events
     */
    if(params.containsKey(clientId + "_overlaySelected")) {
      String id = params.get(clientId + "_overlayId");
      map.queueEvent(new OverlaySelectEvent(map, model.findOverlay(id)));
     
    } else if(params.containsKey(clientId + "_markerDragged")) {
      String id = params.get(clientId + "_markerId");
      Marker marker = (Marker) model.findOverlay(id);
      double lat = Double.valueOf(params.get(clientId + "_lat"));
View Full Code Here


            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));
View Full Code Here

TOP

Related Classes of org.primefaces.event.map.OverlaySelectEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.