Packagecom.google.maps.controls
Classpublic class ZoomControlOptions

Class ZoomControlOptions specifies a set of options for the zoom control.



Public Properties
 PropertyDefined by
  buttonSize : Point
Button size.
ZoomControlOptions
  buttonSpacing : Point
Button spacing.
ZoomControlOptions
  buttonStyle : ButtonStyle
Button style.
ZoomControlOptions
  hasScrollTrack : Object
A Boolean value that specifies whether we have a scroll track.
ZoomControlOptions
  position : ControlPosition
Control's position on the map.
ZoomControlOptions
Public Methods
 MethodDefined by
  
ZoomControlOptions(param:Object = null)
Constructs an ZoomControlOptions object, optionally initializing it from an object.
ZoomControlOptions
  
toString():String
Returns a String representation of this object.
ZoomControlOptions
Property detail
buttonSizeproperty
buttonSize:Point  [read-write]

Button size.

Implementation
    public function get buttonSize():Point
    public function set buttonSize(value:Point):void
buttonSpacingproperty 
buttonSpacing:Point  [read-write]

Button spacing.

Implementation
    public function get buttonSpacing():Point
    public function set buttonSpacing(value:Point):void
buttonStyleproperty 
buttonStyle:ButtonStyle  [read-write]

Button style.

Implementation
    public function get buttonStyle():ButtonStyle
    public function set buttonStyle(value:ButtonStyle):void
hasScrollTrackproperty 
hasScrollTrack:Object  [read-write]

A Boolean value that specifies whether we have a scroll track.

Implementation
    public function get hasScrollTrack():Object
    public function set hasScrollTrack(value:Object):void
positionproperty 
position:ControlPosition  [read-write]

Control's position on the map.

Implementation
    public function get position():ControlPosition
    public function set position(value:ControlPosition):void
Constructor detail
ZoomControlOptions()constructor
public function ZoomControlOptions(param:Object = null)

Constructs an ZoomControlOptions object, optionally initializing it from an object.

Parameters
param:Object (default = null) — An initialization object containing a set of values that supplement the default set.
   // Initialization object corresponding to the default set.
   { buttonSize: new Point(17, 17),
     buttonStyle: new ButtonStyle({
       allStates: {
         bevelThickness: 1.5,
         bevelAlpha: 0.5
       }
     }),
     buttonSpacing: new Point(4, 4),
     hasScrollTrack: true,
     position: new ControlPosition(ControlPosition.ANCHOR_TOP_LEFT, 31, 76)
   }
Method detail
toString()method
public function toString():String

Returns a String representation of this object.

Returns
String — String representation of this object.