Package org.geomajas.gwt.client.widget

Examples of org.geomajas.gwt.client.widget.Toolbar


        map.registerMapAddon(new GoogleAddon("google", map, GoogleAddon.MapType.SATELLITE, false));
      }
    });

    // Create a toolbar for this map:
    final Toolbar toolbar = new Toolbar(map);
    toolbar.setButtonSize(Toolbar.BUTTON_SIZE_BIG);

    mapLayout.addMember(toolbar);
    mapLayout.addMember(map);

    // Add an explanation to the page that explains how editing is done:
View Full Code Here


        map.getMapModel().selectLayer(map.getMapModel().getLayer("clientLayerEditableMultiPolygon"));
      }
    });

    // Create a tool-bar for this map:
    final Toolbar toolbar = new Toolbar(map);
    toolbar.setButtonSize(Toolbar.BUTTON_SIZE_BIG);

    mapLayout.addMember(toolbar);
    mapLayout.addMember(map);

    // Add an explanation to the page that explains how editing is done:
View Full Code Here

    mapLayout.setShowEdges(true);
    mapLayout.setHeight("60%");

    // Map with ID wmsMap is defined in the XML configuration. (mapWms.xml)
    final MapWidget map = new MapWidget("mapToolbarSecurity", "gwt-samples");
    final Toolbar toolbar = new Toolbar(map);
    toolbar.setButtonSize(Toolbar.BUTTON_SIZE_BIG);

    // Set a different fall-back controller:
    map.setFallbackController(new MeasureDistanceController(map));

    mapLayout.addMember(toolbar);
View Full Code Here

        map.registerMapAddon(new GoogleAddon("google", map, GoogleAddon.MapType.SATELLITE, false));
      }
    });

    // Create a tool-bar for this map:
    final Toolbar toolbar = new Toolbar(map);
    toolbar.setButtonSize(Toolbar.BUTTON_SIZE_BIG);

    mapLayout.addMember(toolbar);
    mapLayout.addMember(map);

    // Add an explanation to the page that explains how editing is done:
View Full Code Here

        map.getMapModel().selectLayer(map.getMapModel().getLayer("clientLayerEditableMultiCities"));
      }
    });

    // Create a toolbar for this map:
    final Toolbar toolbar = new Toolbar(map);
    toolbar.setButtonSize(Toolbar.BUTTON_SIZE_BIG);

    mapLayout.addMember(toolbar);
    mapLayout.addMember(map);

    // Add an explanation to the page that explains how editing is done:
View Full Code Here

    layout.setHeight100();

    // Map with ID featureInfoMap is defined in the XML configuration.
    final MapWidget map = new MapWidget("mapFeatureInfo", "gwt-samples");

    final Toolbar toolbar = new Toolbar(map);
    toolbar.setButtonSize(Toolbar.BUTTON_SIZE_BIG);

    layout.addMember(toolbar);
    layout.addMember(map);

    // wait for the map to be loaded and select the 1st layer
View Full Code Here

    layout.setHeight100();

    // Map with ID osmNavigationToolbarMap is defined in the XML configuration.
    final MapWidget map = new MapWidget("mapOsmNavigationToolbar", "gwt-samples");

    final Toolbar toolbar = new Toolbar(map);
    toolbar.setButtonSize(Toolbar.BUTTON_SIZE_BIG);

    layout.addMember(toolbar);
    layout.addMember(map);
    return layout;
  }
View Full Code Here

    layout.setHeight100();

    // Map with ID osmMeasureMap is defined in the XML configuration. (mapOsmMeasure.xml)
    final MapWidget map = new MapWidget("mapOsmMeasure", "gwt-samples");

    final Toolbar toolbar = new Toolbar(map);
    toolbar.setButtonSize(Toolbar.BUTTON_SIZE_BIG);

    layout.addMember(toolbar);
    layout.addMember(map);

    return layout;
View Full Code Here

    layout.setHeight100();

    // Map with ID selectionMap is defined in the XML configuration.
    final MapWidget map = new MapWidget("mapSelection", "gwt-samples");

    final Toolbar toolbar = new Toolbar(map);
    toolbar.setButtonSize(Toolbar.BUTTON_SIZE_BIG);

    layout.addMember(toolbar);
    layout.addMember(map);

    // wait for the map to be loaded and select the 1st layer
View Full Code Here

    // ---------------------------------------------------------------------
    // Create the left-side (map and tabs):
    // ---------------------------------------------------------------------
    MapWidget map = new MapWidget("printingMap", "app");
    final Toolbar toolbar = new Toolbar(map);
    toolbar.setButtonSize(Toolbar.BUTTON_SIZE_BIG);

    VLayout mapLayout = new VLayout();
    mapLayout.addMember(toolbar);
    mapLayout.addMember(map);
    mapLayout.setHeight("100%");
View Full Code Here

TOP

Related Classes of org.geomajas.gwt.client.widget.Toolbar

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.