|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.maps.client.MapTypeOptions
public final class MapTypeOptions
A container object for building a set of options to create a custom
MapType
.
Constructor Summary | |
---|---|
MapTypeOptions()
|
Method Summary | |
---|---|
void |
setAlt(java.lang.String alt)
Sets the alternative text to the map type returned by MapType.getAlt() . |
void |
setErrorMessage(java.lang.String errorMessage)
Sets the error message returned by MapType.getErrorMessage() . |
void |
setLinkColor(java.lang.String linkColor)
Sets the text color returned by MapType.getLinkColor() . |
void |
setMaxResolution(int maxResolution)
Sets the maximum zoom level of this map type, returned by MapType.getMaximumResolution() . |
void |
setMinResolution(int minResolution)
Sets the minimum zoom level of this map type, returned by MapType.getMinimumResolution() . |
void |
setRadius(int radius)
Sets the radius of the map type given the passed Number measured in meters. |
void |
setShortName(java.lang.String shortName)
Sets the short name of the map type that is returned from MapType.getName(boolean) . |
void |
setTextColor(java.lang.String textColor)
Sets the text color returned by MapType.getTextColor() . |
void |
setTileSize(int tileSize)
Set the tile size returned by MapType.getTileSize() . |
void |
setUrlArg(java.lang.String urlArg)
Sets the url argument of the map type that is returned from MapType.getUrlArg() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapTypeOptions()
Method Detail |
---|
public void setAlt(java.lang.String alt)
MapType.getAlt()
. Default is the empty string.
alt
- The alternative text to display for the MapType in a User
Interface componentpublic void setErrorMessage(java.lang.String errorMessage)
MapType.getErrorMessage()
.
Default is the empty string.
errorMessage
- message to displaypublic void setLinkColor(java.lang.String linkColor)
MapType.getLinkColor()
. Default is
"#7777cc".
linkColor
- CSS specification of the text color to use for linkspublic void setMaxResolution(int maxResolution)
MapType.getMaximumResolution()
. Default is the maximum of all tile
layers.
maxResolution
- the maximum zoom level to use for this map type.public void setMinResolution(int minResolution)
MapType.getMinimumResolution()
. Default is the minimum of all tile
layers.
minResolution
- the minimum zoom level to use for this map type.public void setRadius(int radius)
radius
- radius value in meters to use for this map.public void setShortName(java.lang.String shortName)
MapType.getName(boolean)
. Default is the same as the name.
shortName
- the short name to use for this map type.public void setTextColor(java.lang.String textColor)
MapType.getTextColor()
. Default is
"black".
textColor
- CSS specification of text color to use.public void setTileSize(int tileSize)
MapType.getTileSize()
. Default is
256.
tileSize
- the size of tiles in pixels for this map type.public void setUrlArg(java.lang.String urlArg)
MapType.getUrlArg()
. Default is the empty string.
urlArg
- url argument to use for this map type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |