Package | com.google.maps |
Class | public class MapTypeOptions |
Property | Defined by | ||
---|---|---|---|
alt : String
Alternative text.
| MapTypeOptions | ||
errorMessage : String
Error message.
| MapTypeOptions | ||
linkColor : Object
A Number value that specifies the link color.
| MapTypeOptions | ||
maxResolution : Object
A Number value that specifies the maximum zoom level of this map type.
| MapTypeOptions | ||
minResolution : Object
A Number value that specifies the minimum zoom level of this map type.
| MapTypeOptions | ||
radius : Object
A Number value that specifies the radius of the map type measured
in meters.
| MapTypeOptions | ||
shortName : String
Short name of the map type.
| MapTypeOptions | ||
textColor : Object
A Number value that specifies the text color.
| MapTypeOptions | ||
tileSize : Object
A Number value that specifies the tile size.
| MapTypeOptions | ||
urlArg : String
URL argument of the map type.
| MapTypeOptions |
Method | Defined by | ||
---|---|---|---|
MapTypeOptions(param:Object = null)
Constructs a new MapTypeOptions object, optionally initializing it from an
object.
| MapTypeOptions | ||
[static]
Retrieves the MapTypeOptions instance that represents the default set of
options that applies to all map types.
| MapTypeOptions | ||
setDefaultOptions(defaults:MapTypeOptions):void
[static]
Sets the default set of options that applies when new map types
are created.
| MapTypeOptions | ||
toString():String
Returns a String representation of this object.
| MapTypeOptions |
alt | property |
alt:String
[read-write]Alternative text.
Implementation public function get alt():String
public function set alt(value:String):void
errorMessage | property |
errorMessage:String
[read-write]Error message.
Implementation public function get errorMessage():String
public function set errorMessage(value:String):void
linkColor | property |
linkColor:Object
[read-write]A Number value that specifies the link color.
Implementation public function get linkColor():Object
public function set linkColor(value:Object):void
maxResolution | property |
maxResolution:Object
[read-write]A Number value that specifies the maximum zoom level of this map type.
Implementation public function get maxResolution():Object
public function set maxResolution(value:Object):void
minResolution | property |
minResolution:Object
[read-write]A Number value that specifies the minimum zoom level of this map type.
Implementation public function get minResolution():Object
public function set minResolution(value:Object):void
radius | property |
radius:Object
[read-write]A Number value that specifies the radius of the map type measured in meters.
Implementation public function get radius():Object
public function set radius(value:Object):void
shortName | property |
shortName:String
[read-write]Short name of the map type.
Implementation public function get shortName():String
public function set shortName(value:String):void
textColor | property |
textColor:Object
[read-write]A Number value that specifies the text color.
Implementation public function get textColor():Object
public function set textColor(value:Object):void
tileSize | property |
tileSize:Object
[read-write]A Number value that specifies the tile size.
Implementation public function get tileSize():Object
public function set tileSize(value:Object):void
urlArg | property |
urlArg:String
[read-write]URL argument of the map type.
Implementation public function get urlArg():String
public function set urlArg(value:String):void
MapTypeOptions | () | constructor |
public function MapTypeOptions(param:Object = null)
Constructs a new MapTypeOptions object, optionally initializing it from an object.
Parametersparam:Object (default = null ) — An initialization object that contains a set of initial
values for the MapTypeOptions instance.
|
See also
var options:MapTypeOptions = new MapTypeOptions({ shortName: "sea", urlArg: "s", maxResolution: 16, minResolution: 4, tileSize: 256, textColor: Color.BLACK, linkColor: Color.RED, errorMessage: "This sea tile could not be loaded", alt: "Sea images", radius: 51118000 });
getDefaultOptions | () | method |
public static function getDefaultOptions():MapTypeOptions
Retrieves the MapTypeOptions instance that represents the default set of options that applies to all map types.
// Initialization object corresponding to the initial defaults. { shortName: new String(""), urlArg: new String("c"), tileSize: 256, textColor: Color.BLACK, linkColor: Color.DEFAULTLINK, errorMessage: new String(""), alt: new String(""), radius: LatLng.EARTH_RADIUS }
MapTypeOptions —
Default map type options.
|
setDefaultOptions | () | method |
public static function setDefaultOptions(defaults:MapTypeOptions):void
Sets the default set of options that applies when new map types
are created.
Options may also be set for each individual map type.
If that is the case, options specified for an individual map type
will take precedence over the default options.
The defaults
parameter may specify a complete or partial set
of map type options. If a partial set of options is specified, it will
supplement the existing defaults, overriding only the values that were
set explicitly and leaving the rest unchanged.
defaults:MapTypeOptions — New default full or partial set of map type options.
|
toString | () | method |
public function toString():String
Returns a String representation of this object.
ReturnsString — String representation of this object.
|