com.mapitz.gwt.googleMaps.client
Class GControlPosition

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.mapitz.gwt.googleMaps.client.GControlPosition

public class GControlPosition
extends com.google.gwt.core.client.JavaScriptObject

This class described the position of a control in the map view. It consists of a corner relative to where the control is postioned, and an offset that determines this position. It can be passed as optional argument position to the method GMap2.addControl(), and it is returned from method GControl.getDefaultPosition()

Author:
aglaforge

Method Summary
static GControlPosition create(GControlAnchor anchor, GSize offset)
          Creates a specification for a control position.
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static GControlPosition create(GControlAnchor anchor,
                                      GSize offset)
Creates a specification for a control position.

Parameters:
anchor -
offset -
Returns: