API Docs for: 7.2
Show:

MQA.ViewOptions Class

Extends MQA.Control
Module: MQA

ViewOptions control constructor.

Constructor

MQA.ViewOptions

()

Properties

controlVersion

String

Inherited from MQA.Control

The version of the control.

Methods

dispose

()

Disposes of the control

getHeight

() Number

Inherited from MQA.Control

Control uses this function while calculating the top position of this control in the placeControl function. Refer placeControl function in mqa.module.controlbase.js for further details.

Returns <Number>

getHeightInternal

() private

Inherited from MQA.Control

Get the height of the control.

getMsg

(
  • key
  • defaultMsg
)
String

Inherited from MQA.Control

Provides localization support for controls with text labels.

Parameters:

  • key String

    The unique key for the message.

  • defaultMsg String

    The default message to use if the message isn't found for the localization.

Returns <String>

The localized message.

getPosition

() MQA.CornerPlacement

Inherited from MQA.Control

Returns the position of the control. A default position is set when instantiated.

Returns <MQA.CornerPlacement>

The position of the control.

getWidth

() Number

Inherited from MQA.Control

Control uses this function while calculating the left position of this control in the placeControl function. Refer placeControl function in mqa.module.controlbase.js for further details.

Returns <Number>

getWidthInternal

(
  • parent
)
Number private

Inherited from MQA.Control

Get the width of the control.

Parameters:

Returns <Number>

width

initialize

(
  • map
)

Inherited from MQA.Control

initializes the control

Parameters:

logOmniture

(
  • action
  • prop23
)

Parameters:

onDOMEvent

(
  • evt
)

Handles dom events that occur over the view control

Parameters:

  • evt Event

refreshAds

(
  • action
)

Refresh ads

Parameters:

setMapType

(
  • mapType
)

Sets the map type

Parameters:

update

()

Updates the control's view. The listener on map type change will update these controls