Examples of fitBounds()


Examples of com.googlecode.maps3.client.MapWidget.fitBounds()

    mainDock.add(map);

    LatLngBounds bounds = LatLngBounds.newInstance();
    bounds.extend(LatLng.newInstance(37.660773,-122.534448));
    bounds.extend(LatLng.newInstance(37.860773,-122.334448));
    map.fitBounds(bounds);
   
    // Add the controls
    latLonBox = new TextBox();
    latLonBox.setText("37,-122");
    controls.add(latLonBox);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.