Example usage for com.google.gwt.maps.client.controls ControlPosition LEFT_TOP

List of usage examples for com.google.gwt.maps.client.controls ControlPosition LEFT_TOP

Introduction

In this page you can find the example usage for com.google.gwt.maps.client.controls ControlPosition LEFT_TOP.

Prototype

ControlPosition LEFT_TOP

To view the source code for com.google.gwt.maps.client.controls ControlPosition LEFT_TOP.

Click Source Link

Document

Elements are positioned on the left, below top-left elements, and flow downwards.

Usage

From source file:com.google.gwt.maps.testing.client.maps.MultipleKmlMapWidget.java

License:Apache License

private void drawRoutesPanel() {

    VerticalPanel dialogContents = new VerticalPanel();
    addRoutes();//  w w  w . ja  v  a 2 s .  c  o  m
    dialogContents.add(pRoutes);
    // sets the panel on top of the map in the upper left corner
    mapWidget.setControls(ControlPosition.LEFT_TOP, dialogContents);
    // the dialogTour CSS setting can be found in the showcase.css file
    dialogContents.setStyleName("dialogTour");

}