Package com.google.gwt.maps.client.control

Examples of com.google.gwt.maps.client.control.MapTypeControl


  public Widget create(final Context context) throws PageException {
    _map = new MapWidget(_center, _zoom);
    _map.addStyleName(_css.map());
    _map.addControl(new LargeMapControl());
    _map.addControl(new MapTypeControl());
    _map.addControl(new ScaleControl());
    _map.setScrollWheelZoomEnabled(true);
    _map.addMapMoveEndHandler(new OurMapMoveHandler());

    _overlayManager = new MapOverlayManager(_map);
View Full Code Here


    LatLng currentLocation = _locationManager.getCurrentSearchLocation();

    _map = new MapWidget(currentLocation, _zoom);

    _map.addControl(new LargeButtonMapControl());
    _map.addControl(new MapTypeControl());
    _map.addControl(new ScaleControl());
    _map.setScrollWheelZoomEnabled(true);

    _map.setHeight("100%");
    _map.setWidth("100%");
View Full Code Here

TOP

Related Classes of com.google.gwt.maps.client.control.MapTypeControl

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.