Examples of PanController


Examples of org.geomajas.gwt.client.controller.PanController

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

    // Set a panning controller on the map:
    map.setController(new PanController(map));
    layout.addMember(map);

    return layout;
  }
View Full Code Here

Examples of org.geomajas.gwt.client.controller.PanController

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

    // Map with ID mapOsm is defined in the XML configuration. (mapOsm.xml)
    final MapWidget map = new MapWidget("mapOsm", "gwt-samples");
    map.setController(new PanController(map));
    mapLayout.addMember(map);

    HLayout buttonLayout = new HLayout();
    buttonLayout.setMembersMargin(10);
View Full Code Here

Examples of org.geomajas.gwt.client.controller.PanController

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

    // Map with ID mapOsm is defined in the XML configuration. (mapOsm.xml)
    final MapWidget map = new MapWidget("mapOsm", "gwt-samples");
    map.setController(new PanController(map));
    mapLayout.addMember(map);

    HLayout buttonLayout = new HLayout();
    buttonLayout.setMembersMargin(10);
View Full Code Here

Examples of org.geomajas.gwt.client.controller.PanController

    // 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("mapToolbarSecurity", "gwt-samples");
    map.setController(new PanController(map));
    toolbar = new Toolbar(map);
    mapLayout.addMember(toolbar);
    mapLayout.addMember(map);

    // Create horizontal layout for login buttons:
View Full Code Here

Examples of org.geomajas.gwt.client.controller.PanController

    VLayout mapLayout = new VLayout();
    mapLayout.setShowEdges(true);

    // Map with ID featureListGridMap is defined in the XML configuration.
    final MapWidget map = new MapWidget("mapFeatureListGrid", "gwt-samples");
    map.setController(new PanController(map));
    mapLayout.addMember(map);

    // Create a layout with a FeatureListGrid in it:
    final FeatureListGrid grid = new FeatureListGrid(map.getMapModel());
    grid.setShowEdges(true);
View Full Code Here

Examples of org.geomajas.gwt.client.controller.PanController

    VLayout mapLayout = new VLayout();
    mapLayout.setShowEdges(true);
    mapLayout.setHeight("60%");

    final MapWidget map = new MapWidget("mapOsm", "gwt-samples");
    map.setController(new PanController(map));
    mapLayout.addMember(map);

    // Create a button layout:
    HLayout buttonLayout = new HLayout();
    buttonLayout.setHeight(25);
View Full Code Here

Examples of org.geomajas.gwt.client.controller.PanController

    VLayout mapLayout = new VLayout();
    mapLayout.setShowEdges(true);
    mapLayout.setHeight("60%");

    final MapWidget map = new MapWidget("mapOsm", "gwt-samples");
    map.setController(new PanController(map));
    mapLayout.addMember(map);

    VLayout opacityLayout = new VLayout();
    Slider slider = new Slider("Opacity");
    slider.setWidth(300);
View Full Code Here

Examples of org.geomajas.gwt.client.controller.PanController

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

    // Map with ID wmsMap is defined in the XML configuration. (mapOsm.xml)
    final MapWidget map = new MapWidget("mapOsm", "gwt-samples");
    map.setController(new PanController(map));
    mapLayout.addMember(map);

    // Layout with a huge list of buttons to test the rendering:
    HLayout buttonLayout = new HLayout();
    buttonLayout.setPadding(10);
View Full Code Here

Examples of org.geomajas.gwt.client.controller.PanController

    HLayout mapLayout = new HLayout();
    mapLayout.setShowEdges(true);

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

    // Create a layout for the overview map:
    HLayout bottomLayout = new HLayout();
    bottomLayout.setHeight(300);
View Full Code Here

Examples of org.geomajas.gwt.client.controller.PanController

    // 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));
        }
      }
    };

    // Create a button that logs in user "marino":
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.