Java com.google.gwt.maps.client MapOptions fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.maps.client MapOptions fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.maps.client MapOptions.

The text is from its open source code.

Constructor

MapOptions()
This will tell the map how to render and with with what features
Use newInstance();

Method

MapOptionsnewInstance()
Create a new Instance of the MapOptions This will also create a defaults center, mapTypeId and Zoom
MapOptionsnewInstance(boolean withdefaults)
Create a new Instance of the MapOptions
voidsetBackgroundColor(String backgroundColor)
set Color used for the background of the Map div.
voidsetCenter(LatLng center)
set The initial Map center.
voidsetDisableDoubleClickZoom(boolean disableDoubleClickZoom)
set Enables/disables zoom and center on double click.
voidsetDraggable(boolean draggable)
set If false, prevents the map from being dragged.
voidsetDraggableCursor(String draggableCursor)
set The name or url of the cursor to display on a draggable object.
voidsetDraggingCursor(String draggingCursor)
set The name or url of the cursor to display when an object is dragging.
voidsetKeyboardShortcuts(boolean keyboardShortcuts)
set If false, prevents the map from being controlled by the keyboard.
voidsetMapMaker(boolean mapMaker)
Sets Map Maker usage.
voidsetMapTypeControl(boolean mapTypeControl)
set The initial enabled/disabled state of the Map type control.
voidsetMapTypeControlOptions(MapTypeControlOptions mapTypeControlOptions)
set The initial display options for the Map type control.
voidsetMapTypeId(MapTypeId mapTypeId)
The initial Map MapTypeId .
voidsetMapTypeId(String mapTypeId)
The initial Map MapTypeId .
voidsetMapTypeStyles(MapTypeStyle[] styles)
voidsetMapTypeStyles(JsArray styles)
set Styles to apply to each of the default map types.
voidsetMaxZoom(int maxZoom)
set The maximum zoom level which will be displayed on the map.
voidsetMinZoom(int minZoom)
set The minimum zoom level which will be displayed on the map.
voidsetNoClear(boolean noClear)
set If true, do not clear the contents of the Map div.
voidsetOverviewMapControl(boolean overviewMapControl)
set The enabled/disabled state of the Overview Map control.
voidsetPanControl(boolean panControl)
The enabled/disabled state of the Pan control.
voidsetRotateControl(boolean rotateControl)
set The enabled/disabled state of the Rotate control.
voidsetScaleControl(boolean scaleControl)
set The initial enabled/disabled state of the Scale control.
voidsetScrollWheel(boolean scrollWheel)
set If false, disables scrollwheel zooming on the map.
voidsetStreetViewControl(boolean streetViewControl)
set A StreetViewPanorama to display when the Street View Pegman is dropped on the map.
voidsetZoom(int zoom)
The initial Map zoom level.
voidsetZoomControl(boolean zoomControl)
sets The enabled/disabled state of the Zoom control.
voidsetZoomControlOptions(ZoomControlOptions zoomControlOptions)
sets The display options for the Zoom control.