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

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


    map.addMapType(MapType.getAerialMap());
    map.addMapType(MapType.getAerialHybridMap());

    map.addControl(new DemoCustomMapTypeControl());
    map.addControl(new LargeMapControl());
    vertPanel.add(map);

    initWidget(vertPanel);
  }
View Full Code Here


    }
    if (control.equals(MapControl.HierarchicalMapTypeControl)) {
      return new HierarchicalMapTypeControl();
    }
    if (control.equals(MapControl.LargeMapControl)) {
      return new LargeMapControl();
    }
    if (control.equals(MapControl.MapTypeControl)) {
      return new MapTypeControl();
    }
    if (control.equals(MapControl.MenuMapTypeControl)) {
View Full Code Here

      LatLng cmu_information_systems = LatLng.newInstance(40.44152, -79.946123);
     
      final MapWidget map = new MapWidget(cmu_information_systems, 2);
      map.setSize("60em", "40em");
      // Add some controls for the zoom level
      map.addControl(new LargeMapControl());
      map.setZoomLevel(16);
      // Add a marker
      map.addOverlay(new Marker(cmu_information_systems));

      // Add an info window to highlight a point of interest
View Full Code Here

    LatLng nilesWest = LatLng.newInstance(42.02606, -87.77194);

    final MapWidget map = new MapWidget(nilesWest, 2);
    map.setSize("100%", "100%");
    // Add some controls for the zoom level
    map.addControl(new LargeMapControl());

    // Add a marker
    map.addOverlay(new Marker(nilesWest));

    // Add an info window to highlight a point of interest
View Full Code Here

    LatLng nilesWest = LatLng.newInstance(42.02606, -87.77194);

    final MapWidget map = new MapWidget(nilesWest, 2);
    map.setSize("100%", "100%");
    // Add some controls for the zoom level
    map.addControl(new LargeMapControl());

    // Add a marker
    map.addOverlay(new Marker(nilesWest));

    // Add an info window to highlight a point of interest
View Full Code Here

 
  private void initMap(LatLng point) {
    // TODO Auto-generated method stub
      map = new MapWidget(point,15 );
      map.setSize("700px", "600px");
      map.addControl(new LargeMapControl());
//      final DockLayoutPanel dock = new DockLayoutPanel(Unit.PX);
//      dock.addNorth(map, 500);
      mapPanel.add(map);
  }
View Full Code Here

    /**
     * View Layer
     */
    MapWidget mapWidget = new MapWidget(LatLng.newInstance(47.601533, -122.32933), 11);
    mapWidget.addControl(new LargeMapControl());
    mapWidget.addControl(new MapTypeControl());
    mapWidget.addControl(new ScaleControl());
   
    ColorGradientControl colorGradient = new ColorGradientControl();
    mapWidget.addControl(colorGradient);
View Full Code Here

   ****************************************************************************/

  public StopFinderWidget() {
    initWidget(_uiBinder.createAndBindUi(this));

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

View Full Code Here

    _searchWidget.setDockLayoutPanelParent(_dockLayoutPanel);

    for (Widget widget : _resultPanelWidgets)
      _resultsPanel.add(widget);

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

    // We delay initialization of the map
View Full Code Here

  }

  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());
View Full Code Here

TOP

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

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.