Examples of MapWidget


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

    HLayout buttonLayout = new HLayout();
    buttonLayout.setMembersMargin(10);
    buttonLayout.setHeight(20);

    // Map with ID duisburgMap is defined in the XML configuration. (mapDuisburg.xml)
    map = new MapWidget("mapBeans", "gwt-samples");
    map.setVisible(false);
    layout.addMember(map);
    map.init();

    // Create login handler that re-initializes the map on a successful login:
    final BooleanCallback initMapCallback = new BooleanCallback() {

      public void execute(Boolean value) {
        if (value) {
          map.destroy();
          map = new MapWidget("mapBeans", "gwt-samples");
          map.setVisible(false);
          layout.addMember(map);
          map.init();
        }
      }
View Full Code Here

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

    // Map with ID duisburgMap is defined in the XML configuration. (mapDuisburg.xml)
    final VLayout mapLayout = new VLayout();
    mapLayout.setShowEdges(true);
    mapLayout.setHeight("60%");
    map = new MapWidget("mapVectorSecurity", "gwt-samples");
    map.setController(new PanController(map));
    mapLayout.addMember(map);

    // Create horizontal layout for login buttons:
    HLayout buttonLayout = new HLayout();
    buttonLayout.setMembersMargin(10);

    // Create login handler that re-initializes the map on a successful login:
    final BooleanCallback initMapCallback = new BooleanCallback() {

      public void execute(Boolean value) {
        if (value) {
          map.destroy();
          map = new MapWidget("mapVectorSecurity", "gwt-samples");
          mapLayout.addMember(map);
          map.setController(new PanController(map));
        }
      }
    };
View Full Code Here

Examples of org.geomajas.test.client.exporter.MapWidget

  public Application() {
  }

  public void onModuleLoad() {
    GWT.create(MarkerMap.class);
    final MapWidget map = new MapWidget("mainMap", "app");
    map.setHtmlElement(DOM.getElementById("map"));
    map.setWidth(DOM.getElementById("map").getStyle().getWidth());
    map.setHeight(DOM.getElementById("map").getStyle().getHeight());
    map.draw();
    onLoadImpl();
  }
View Full Code Here

Examples of org.gwtopenmaps.openlayers.client.MapWidget

        contentPanel = new ContentPanel();
        contentPanel.setHeadingText("Map");

        MapOptions defaultMapOptions = new MapOptions();

        mapWidget = new MapWidget("100%", "100%", defaultMapOptions);
        map = mapWidget.getMap();

        Style style = new Style();
        style.setStrokeColor("blue");
        style.setStrokeWidth(3);
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.