Package | com.google.maps.overlays |
Class | public class GroundOverlayOptions |
Property | Defined by | ||
---|---|---|---|
rotation : Object
A Number value that specifies the ground overlay rotation
(specified in degrees in the clockwise direction).
| GroundOverlayOptions | ||
rotationContentCenter : Point
Ground overlay rotation center in content coordinates.
| GroundOverlayOptions | ||
strokeStyle : StrokeStyle
Ground overlay stroke style.
| GroundOverlayOptions |
Method | Defined by | ||
---|---|---|---|
GroundOverlayOptions(param:Object = null)
Constructs a new GroundOverlayOptions object, optionally initializing
it from an object.
| GroundOverlayOptions | ||
[static]
Retrieves the GroundOverlayOptions instance that represents the default set
of options that applies to all ground overlays.
| GroundOverlayOptions | ||
setDefaultOptions(defaults:GroundOverlayOptions):void
[static]
Updates the default GroundOverlayOptions.
| GroundOverlayOptions | ||
toString():String
Returns a String representation of this object.
| GroundOverlayOptions |
rotation | property |
rotation:Object
[read-write]A Number value that specifies the ground overlay rotation (specified in degrees in the clockwise direction).
Implementation public function get rotation():Object
public function set rotation(value:Object):void
rotationContentCenter | property |
rotationContentCenter:Point
[read-write]Ground overlay rotation center in content coordinates. This is the point, in the coordinates of the GroundOverlay's content, around which rotation occurs. If not set, then rotation occurs around the content center.
Implementation public function get rotationContentCenter():Point
public function set rotationContentCenter(value:Point):void
strokeStyle | property |
strokeStyle:StrokeStyle
[read-write]Ground overlay stroke style.
Implementation public function get strokeStyle():StrokeStyle
public function set strokeStyle(value:StrokeStyle):void
GroundOverlayOptions | () | constructor |
public function GroundOverlayOptions(param:Object = null)
Constructs a new GroundOverlayOptions object, optionally initializing it from an object.
Parametersparam:Object (default = null ) — An initialization object containing a set of
values that supplement the default set.
|
See also
var options:GroundOverlayOptions = new GroundOverlayOptions({ strokeStyle: { color: 0x987654, alpha: 0.8, thickness: 3, pixelHinting: true }, rotation: 90, });
getDefaultOptions | () | method |
public static function getDefaultOptions():GroundOverlayOptions
Retrieves the GroundOverlayOptions instance that represents the default set of options that applies to all ground overlays.
// Initialization object corresponding to the initial defaults. { strokeStyle: { thickness: 0, alpha: 0.0, // invisible color: Color.BLACK, pixelHinting: false }, rotation: 0 }
GroundOverlayOptions —
Existing default ground overlay options.
|
setDefaultOptions | () | method |
public static function setDefaultOptions(defaults:GroundOverlayOptions):void
Updates the default GroundOverlayOptions. These default will apply to all
ground overlays created after the call to setDefaultOptions
method.
Individual ground overlays can also specify their own sets of options.
Individual options take precedence over the default ones.
The defaults
parameter may specify a complete or partial set
of ground overlay 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:GroundOverlayOptions — The new set of defaults for ground overlay options.
|
toString | () | method |
public function toString():String
Returns a String representation of this object.
ReturnsString — String representation of this object.
|