|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.MapUIOptions
public class MapUIOptions
Wrapper for GMapUIOptions.
Constructor Summary | |
---|---|
protected |
MapUIOptions()
|
Method Summary | |
---|---|
boolean |
getDoubleClick()
Returns whether zooming with double-clicks should be enabled. |
boolean |
getHybridMapType()
Returns whether the satellite MapType (G_HYBRID_MAP) should be added to the map. |
boolean |
getKeyboard()
Returns whether the KeyboardHandler should be enabled for the Map. |
boolean |
getLargeMapControl3d()
Returns whether the LargeMapControl3D should be added to the Map. |
boolean |
getMapTypeControl()
Returns whether a MapTypeControl should be added to the Map. |
boolean |
getMenuMapTypeControl()
Returns whether a MenuMapTypeControl should be added to the Map. |
boolean |
getNormalMapType()
Returns whether the normal MapType (G_NORMAL_MAP) should be added to the map. |
boolean |
getPhysicalMapType()
Returns whether the physical MapType (G_PHYSICAL_MAP) should be added to the map. |
boolean |
getSatelliteMapType()
Returns whether the satellite MapType (G_SATELLITE_MAP) should be added to the map. |
boolean |
getScaleControl()
Returns whether a ScaleControl should be added to the Map. |
boolean |
getScrollwheel()
Returns whether zooming with the scrollwheel should be enabled. |
boolean |
getSmallZoomControl3d()
Returns whether a SmallZoomControl3D should be added to the Map. |
static MapUIOptions |
newInstance(Size optSize)
Returns a new instance of GMapUIOptions with values set to defaults suitable for a map of the given size. |
MapUIOptions |
setDoubleClick(boolean value)
When set to true , this method specifies that zooming with
double-clicks should be enabled. |
MapUIOptions |
setHybridMapType(boolean value)
When set to true , this method specifies that the hybrid
MapType (G_HYBRID_MAP) should be added to the Map. |
MapUIOptions |
setKeyboard(boolean value)
When set to true , this method specifies that KeyboardHandler
should be enabled for the Map. |
MapUIOptions |
setLargeMapControl3d(boolean value)
When set to true , this property specifies that a
LargeMapControl3D should be added to the Map. |
MapUIOptions |
setMapTypeControl(boolean value)
When set to true , this method specifies that a MapTypeControl
should be added to the Map. |
MapUIOptions |
setMenuMapTypeControl(boolean value)
When set to true , this method specifies that a
MenuMapTypeControl should be added to the Map. |
MapUIOptions |
setNormalMapType(boolean value)
When set to true , this method specifies that the normal
MapType (G_NORMAL_MAP) should be added to the Map. |
MapUIOptions |
setPhysicalMapType(boolean value)
When set to true , this method specifies that the physical
MapType (G_PHYSICAL_MAP) should be added to the Map. |
MapUIOptions |
setSatelliteMapType(boolean value)
When set to true , this method specifies that the satellite
MapType (G_SATELLITE_MAP) should be added to the Map. |
MapUIOptions |
setScaleControl(boolean value)
When set to true , this method specifies that a ScaleControl
should be added to the Map. |
MapUIOptions |
setScrollwheel(boolean value)
When set to true , this method specifies that zooming with the
scrollwheel should be enabled. |
MapUIOptions |
setSmallZoomControl3d(boolean value)
When set to true , this method specifies that a
SmallZoomControl3D should be added to the Map. |
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 |
---|
protected MapUIOptions()
Method Detail |
---|
public static final MapUIOptions newInstance(Size optSize)
public final boolean getDoubleClick()
public final boolean getHybridMapType()
true
if the hybrid MapType should be added to the map.public final boolean getKeyboard()
public final boolean getLargeMapControl3d()
public final boolean getMapTypeControl()
public final boolean getMenuMapTypeControl()
public final boolean getNormalMapType()
true
if the Normal MapType should be added to the map.public final boolean getPhysicalMapType()
true
if the physical MapType should be added to the
map.public final boolean getSatelliteMapType()
true
if the satellite MapType should be added to the
map.public final boolean getScaleControl()
public final boolean getScrollwheel()
public final boolean getSmallZoomControl3d()
public final MapUIOptions setDoubleClick(boolean value)
true
, this method specifies that zooming with
double-clicks should be enabled. True by default.
value
- true
to specify that zooming with double-clicks
should be enabled.public final MapUIOptions setHybridMapType(boolean value)
true
, this method specifies that the hybrid
MapType (G_HYBRID_MAP) should be added to the Map. True by default.
value
- true
to specify the Hybrid MapType.public final MapUIOptions setKeyboard(boolean value)
true
, this method specifies that KeyboardHandler
should be enabled for the Map. True by default.
value
- true to specify that KeyboardHandler
should be enabled for the Map.
public final MapUIOptions setLargeMapControl3d(boolean value)
true
, this property specifies that a
LargeMapControl3D should be added to the Map. True by default for "large"
maps.
value
- true
to specify that a LargeMapControl3D should
be added to the Map.public final MapUIOptions setMapTypeControl(boolean value)
true
, this method specifies that a MapTypeControl
should be added to the Map. True by default for "large" maps.
value
- true
to specify that a MapTypeControl should be
added to the Map.public final MapUIOptions setMenuMapTypeControl(boolean value)
true
, this method specifies that a
MenuMapTypeControl should be added to the Map. True by default for "small"
maps.
value
- true
to specify that a MenuMapTypeControl should
be added to the Map.public final MapUIOptions setNormalMapType(boolean value)
true
, this method specifies that the normal
MapType (G_NORMAL_MAP) should be added to the Map. True by default.
value
- true
to specify the normal MapType.public final MapUIOptions setPhysicalMapType(boolean value)
true
, this method specifies that the physical
MapType (G_PHYSICAL_MAP) should be added to the Map. True by default.
value
- true
to specify the Physical MapType.public final MapUIOptions setSatelliteMapType(boolean value)
true
, this method specifies that the satellite
MapType (G_SATELLITE_MAP) should be added to the Map. True by default.
value
- true
to specify the Satellite MapType.public final MapUIOptions setScaleControl(boolean value)
true
, this method specifies that a ScaleControl
should be added to the Map. True by default for "large" maps.
value
- true
to specify that a ScaleControl should be
added to the Map.public final MapUIOptions setScrollwheel(boolean value)
true
, this method specifies that zooming with the
scrollwheel should be enabled. True by default.
value
- Pass true
to enable the scrollwheel zoom.public final MapUIOptions setSmallZoomControl3d(boolean value)
true
, this method specifies that a
SmallZoomControl3D should be added to the Map. True by default for "small"
maps.
value
- true
to specify that a SmallZoomControl3D should
be added to the Map.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |