Package org.primefaces.event.map

Examples of org.primefaces.event.map.MarkerDragEvent


      Marker marker = (Marker) model.findOverlay(id);
      double lat = Double.valueOf(params.get(clientId + "_lat"));
      double lng = Double.valueOf(params.get(clientId + "_lng"));
      marker.setLatlng(new LatLng(lat, lng));
     
      map.queueEvent(new MarkerDragEvent(map, marker));
     
    } else if(params.containsKey(clientId + "_stateChanged")) {
      String[] centerLoc = params.get(clientId + "_center").split(",");
      String[] northeastLoc = params.get(clientId + "_northeast").split(",");
      String[] southwestLoc = params.get(clientId + "_southwest").split(",");
View Full Code Here


                Marker marker = (Marker) this.getModel().findOverlay(params.get(clientId + "_markerId"));
                double lat = Double.valueOf(params.get(clientId + "_lat"));
                double lng = Double.valueOf(params.get(clientId + "_lng"));
                marker.setLatlng(new LatLng(lat, lng));

                wrapperEvent = new MarkerDragEvent(this, behaviorEvent.getBehavior(), marker);
            }
           
            wrapperEvent.setPhaseId(behaviorEvent.getPhaseId());

            super.queueEvent(wrapperEvent);
View Full Code Here

TOP

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

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.