Example usage for com.google.gwt.maps.client.control ControlAnchor BOTTOM_RIGHT

List of usage examples for com.google.gwt.maps.client.control ControlAnchor BOTTOM_RIGHT

Introduction

In this page you can find the example usage for com.google.gwt.maps.client.control ControlAnchor BOTTOM_RIGHT.

Prototype

ControlAnchor BOTTOM_RIGHT

To view the source code for com.google.gwt.maps.client.control ControlAnchor BOTTOM_RIGHT.

Click Source Link

Usage

From source file:es.upm.fi.dia.oeg.map4rdf.client.widget.mapcontrol.LayerControl.java

License:Open Source License

public LayerControl() {
    super(new ControlPosition(ControlAnchor.BOTTOM_RIGHT, 0, 0), false, false);
}

From source file:es.upm.fi.dia.oeg.map4rdf.client.widget.mapcontrol.TimelineControl.java

License:Open Source License

public TimelineControl(Timeline timeline) {
    super(new ControlPosition(ControlAnchor.BOTTOM_RIGHT, 20, 30), false, false);
    this.timeline = timeline;
}

From source file:org.maps.client.Maps.java

License:Apache License

private void addMap(LayoutContainer mapPanel) {
    setUpMap();//  ww w  .ja v  a  2s.  c  o  m
    final Image vscale = new Image("/images/vscale.png");
    ControlPosition imagePosition = new ControlPosition(ControlAnchor.BOTTOM_RIGHT, 10, 20);
    Control.CustomControl customScale = new Control.CustomControl(imagePosition) {
        protected Widget initialize(MapWidget map) {
            return vscale;
        }

        public boolean isSelectable() {
            return false;
        }
    };

    map.addControl(customScale, imagePosition);

    BorderLayoutData mapLayoutData = new BorderLayoutData(LayoutRegion.WEST, MAP_WIDTH_INT);
    mapLayoutData.setMargins(new Margins(5));
    mapLayoutData.setSplit(false);
    mapPanel.add(map, mapLayoutData);
}

From source file:org.onebusaway.webapp.gwt.oba_library.control.ColorGradientControl.java

License:Apache License

public ColorGradientControl() {
    super(new ControlPosition(ControlAnchor.BOTTOM_RIGHT, 10, 20), true, false);
}