001 package com.google.gwt.maps.client.controls;
002
003 import com.google.gwt.core.client.JavaScriptObject;
004
005 /**
006 * Options for the rendering of the Overview Map control
007 * <br><br>
008 * See <a href="https://developers.google.com/maps/documentation/javascript/reference#OverviewMapControlOptions">See OverviewMapControlOptions API</a>
009 */
010 public class OverviewMapControlOptions extends JavaScriptObject {
011
012 /**
013 * Options for the rendering of the Overview Map control.
014 * use newInstance();
015 */
016 protected OverviewMapControlOptions() {}
017
018 /**
019 * creates a new instance for, Options for the rendering of the Overview Map control.
020 */
021 public final static OverviewMapControlOptions newInstance() {
022 return JavaScriptObject.createObject().cast();
023 }
024
025 /**
026 * sets Whether the control should display in opened mode or collapsed (minimized) mode. By default, the control is closed.
027 * @param opened
028 */
029 public final native void setOpened(boolean opened) /*-{
030 this.opened = opened;
031 }-*/;
032
033 /**
034 * gets Whether the control should display in opened mode or collapsed (minimized) mode. By default, the control is closed.
035 */
036 public final native boolean getOpened() /*-{
037 return this.opened;
038 }-*/;
039
040 }