Package org.geomajas.gwt.client.controller

Examples of org.geomajas.gwt.client.controller.MeasureDistanceController$CancelMeasuringAction


    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);
    mapLayout.addMember(map);

    VLayout labelLayout = new VLayout();
View Full Code Here


    super("[ISOMORPHIC]/geomajas/osgeo/length-measure.png", I18nProvider.getToolbar().measureSelect());
    this.mapWidget = mapWidget;
  }

  public void onSelect(ClickEvent event) {
    mapWidget.setController(new MeasureDistanceController(mapWidget));
  }
View Full Code Here

TOP

Related Classes of org.geomajas.gwt.client.controller.MeasureDistanceController$CancelMeasuringAction

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.