Follow us on GitHub

com.google.gwt.maps.client.controls
Class ZoomControlOptions

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.controls.ZoomControlOptions

public class ZoomControlOptions
extends JavaScriptObject

Options for the rendering of the zoom control.

See ZoomControlOptions API Doc


Constructor Summary
protected ZoomControlOptions()
          Options for the rendering of the zoom control.
 
Method Summary
 ControlPosition getPosition()
          Position id.
 int getStyleJs()
           
static ZoomControlOptions newInstance()
          creates Options for the rendering of the zoom control.
 void setPosition(ControlPosition position)
          Position id.
 void setStyle(ZoomControlStyle zoomControlStyle)
          sets Style id.
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZoomControlOptions

protected ZoomControlOptions()
Options for the rendering of the zoom control. use newInstance();

Method Detail

newInstance

public static final ZoomControlOptions newInstance()
creates Options for the rendering of the zoom control.


getPosition

public final ControlPosition getPosition()
Position id. Used to specify the position of the control on the map. The default position is TOP_LEFT.


getStyleJs

public final int getStyleJs()

setPosition

public final void setPosition(ControlPosition position)
Position id. Used to specify the position of the control on the map. The default position is TOP_LEFT.

Parameters:
position - ControlPosition

setStyle

public final void setStyle(ZoomControlStyle zoomControlStyle)
sets Style id. Used to select what style of zoom control to display.

Parameters:
zoomControlStyle -


Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.