|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.MapOptions
public class MapOptions
THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Constructor Summary | |
---|---|
protected |
MapOptions()
Protected constructor avoids default public constructor. |
Method Summary | |
---|---|
static MapOptions |
create()
|
void |
setBackgroundColor(java.lang.String backgroundColor)
Color used for the background of the Map div. |
void |
setCenter(LatLng center)
The initial Map center. |
void |
setDisableDefaultUi(boolean disableDefaultUI)
Enables/disables all default UI. |
void |
setDisableDoubleClickZoom(boolean disableDoubleClickZoom)
Enables/disables zoom and center on double click. |
void |
setDraggable(boolean draggable)
If false, prevents the map from being dragged. |
void |
setDraggableCursor(java.lang.String draggableCursor)
The name or url of the cursor to display on a draggable object. |
void |
setDraggingCursor(java.lang.String draggingCursor)
The name or url of the cursor to display when an object is dragging. |
void |
setHeading(double heading)
The heading for aerial imagery in degrees measured clockwise from cardinal direction North. |
void |
setKeyboardShortcuts(boolean keyboardShortcuts)
If false, prevents the map from being controlled by the keyboard. |
void |
setMapMaker(boolean mapMaker)
True if Map Maker tiles should be used instead of regular tiles. |
void |
setMapTypeControl(boolean mapTypeControl)
The initial enabled/disabled state of the Map type control. |
void |
setMapTypeControlOptions(MapTypeControlOptions mapTypeControlOptions)
The initial display options for the Map type control. |
void |
setMapTypeId(MapTypeId mapTypeId)
The initial Map mapTypeId. |
void |
setMaxZoom(double maxZoom)
The maximum zoom level which will be displayed on the map. |
void |
setMinZoom(double minZoom)
The minimum zoom level which will be displayed on the map. |
void |
setNoClear(boolean noClear)
If true, do not clear the contents of the Map div. |
void |
setOverviewMapControl(boolean overviewMapControl)
The enabled/disabled state of the Overview Map control. |
void |
setOverviewMapControlOptions(OverviewMapControlOptions overviewMapControlOptions)
The display options for the Overview Map control. |
void |
setPanControl(boolean panControl)
The enabled/disabled state of the Pan control. |
void |
setPanControlOptions(PanControlOptions panControlOptions)
The display options for the Pan control. |
void |
setRotateControl(boolean rotateControl)
The enabled/disabled state of the Rotate control. |
void |
setRotateControlOptions(RotateControlOptions rotateControlOptions)
The display options for the Rotate control. |
void |
setScaleControl(boolean scaleControl)
The initial enabled/disabled state of the Scale control. |
void |
setScaleControlOptions(ScaleControlOptions scaleControlOptions)
The initial display options for the Scale control. |
void |
setScrollwheel(boolean scrollwheel)
If false, disables scrollwheel zooming on the map. |
void |
setStreetView(StreetViewPanorama streetView)
A StreetViewPanorama
to display when the Street View pegman is dropped on the map. |
void |
setStreetViewControl(boolean streetViewControl)
The initial enabled/disabled state of the Street View Pegman control. |
void |
setStreetViewControlOptions(StreetViewControlOptions streetViewControlOptions)
The initial display options for the Street View Pegman control. |
void |
setStyles(
Styles to apply to each of the default map types. |
void |
setTilt(double tilt)
The angle of incidence of the map as measured in degrees from the viewport plane to the map plane. |
void |
setZoom(double zoom)
The initial Map zoom level. |
void |
setZoomControl(boolean zoomControl)
The enabled/disabled state of the Zoom control. |
void |
setZoomControlOptions(ZoomControlOptions zoomControlOptions)
The display options for the Zoom control. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MapOptions()
Method Detail |
---|
public static final MapOptions create()
public final void setBackgroundColor(java.lang.String backgroundColor)
public final void setCenter(LatLng center)
public final void setDisableDefaultUi(boolean disableDefaultUI)
public final void setDisableDoubleClickZoom(boolean disableDoubleClickZoom)
public final void setDraggable(boolean draggable)
public final void setDraggableCursor(java.lang.String draggableCursor)
public final void setDraggingCursor(java.lang.String draggingCursor)
public final void setHeading(double heading)
public final void setKeyboardShortcuts(boolean keyboardShortcuts)
public final void setMapMaker(boolean mapMaker)
public final void setMapTypeControl(boolean mapTypeControl)
public final void setMapTypeControlOptions(MapTypeControlOptions mapTypeControlOptions)
public final void setMapTypeId(MapTypeId mapTypeId)
public final void setMaxZoom(double maxZoom)
public final void setMinZoom(double minZoom)
public final void setNoClear(boolean noClear)
public final void setOverviewMapControl(boolean overviewMapControl)
public final void setOverviewMapControlOptions(OverviewMapControlOptions overviewMapControlOptions)
public final void setPanControl(boolean panControl)
public final void setPanControlOptions(PanControlOptions panControlOptions)
public final void setRotateControl(boolean rotateControl)
public final void setRotateControlOptions(RotateControlOptions rotateControlOptions)
public final void setScaleControl(boolean scaleControl)
public final void setScaleControlOptions(ScaleControlOptions scaleControlOptions)
public final void setScrollwheel(boolean scrollwheel)
public final void setStreetView(StreetViewPanorama streetView)
StreetViewPanorama
to display when the Street View pegman is dropped on the map. If no
panorama is specified, a default
StreetViewPanorama
will be displayed in the map's
div
when the pegman is dropped.
public final void setStreetViewControl(boolean streetViewControl)
false
when displaying a map type on which the Street View road overlay
should not appear (e.g. a non-Earth map type).
public final void setStreetViewControlOptions(StreetViewControlOptions streetViewControlOptions)
public final void setStyles(styles)
public final void setTilt(double tilt)
0
, indicating no angle of incidence (no tilt), and
45
, indicating a tilt of 45deg;. 45deg; imagery is only available for
SATELLITE
and
HYBRID
map types, within some locations, and at some zoom levels.
public final void setZoom(double zoom)
public final void setZoomControl(boolean zoomControl)
public final void setZoomControlOptions(ZoomControlOptions zoomControlOptions)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |