Package org.zkoss.gmaps

Examples of org.zkoss.gmaps.LatLngBounds


    final double swlat = ((Number)data.get("swlat")).doubleValue();
    final double swlng = ((Number)data.get("swlng")).doubleValue();
    final double nelat = ((Number)data.get("nelat")).doubleValue();
    final double nelng = ((Number)data.get("nelng")).doubleValue();
    return new MapMoveEvent(request.getCommand(), comp, new LatLng(lat, lng),
        new LatLngBounds( new LatLng(swlat, swlng), new LatLng(nelat, nelng)));
  }
View Full Code Here


  }
 
  /** Constructs a Google Maps moving relevant event.
   */
  public MapMoveEvent(String name, Component target, double lat, double lng, double swlat, double swlng, double nelat, double nelng) {
    this(name, target, new LatLng(lat, lng), new LatLngBounds( new LatLng(swlat, swlng), new LatLng(nelat, nelng)));
  }
View Full Code Here

TOP

Related Classes of org.zkoss.gmaps.LatLngBounds

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.