Package org.primefaces.event.map

Examples of org.primefaces.event.map.PointSelectEvent


     
    } else if(params.containsKey(clientId + "_pointSelected")) {
      String[] latlng = params.get(clientId + "_pointLatLng").split(",");
      LatLng position = new LatLng(Double.valueOf(latlng[0]), Double.valueOf(latlng[1]));
     
      map.queueEvent(new PointSelectEvent(map, position));
    }
  }
View Full Code Here


            }
            else if(eventName.equals("pointSelect")) {
                String[] latlng = params.get(clientId + "_pointLatLng").split(",");
                LatLng position = new LatLng(Double.valueOf(latlng[0]), Double.valueOf(latlng[1]));

                wrapperEvent = new PointSelectEvent(this, behaviorEvent.getBehavior(), position);
            }
            else if(eventName.equals("markerDrag")) {
                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"));
View Full Code Here

TOP

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

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.