API Docs for: 7.2
Show:

MQA.Constants Class

Module: MQA

Defines the MQA namespace and the static constants used through out the API.

Properties

BUTTON_MQ_LEFT

Number final

Value for Left Mouse Button Clicks

Default: 0

BUTTON_MQ_MIDDLE

Number final

Value for Middle Mouse Button Clicks

Default: 1

BUTTON_MQ_RIGHT

Number final

Value for Right Mouse Button Clicks

Default: 2

CONTROL_TRANSIT

Number private final

Not sure what this is, marking as private.

Default: 6

CONTROL_TYPE

Number private final

Legacy Controls Constant

Default: 3

CORNER_BOTTOMLEFT

Number final

Definition of BOTTOM LEFT corner of the map viewport.

Default: 2

CORNER_BOTTOMRIGHT

Number final

Definition of BOTTOM RIGHT corner of the map viewport.

Default: 3

CORNER_TOPLEFT

Number final

Definition of TOP LEFT corner of the map viewport.

Default: 0

CORNER_TOPRIGHT

Number final

Definition of TOP Right corner of the map viewport.

Default: 1

MAP_TYPE

Object

Standard tile layers.

Default: { MAP: "map", SAT: "sat", HYB: "hyb", NONE: "none" }

MAXZOOM

Number final

The closest the map can be zoomed in.

Default: 18

MINZOOM

Number final

The farthest the map can be zoomed out.

Our limit is 2, because it directly corresponds to the tile zoom levels.

Default: 2

RESOURCES

String final

http point where dynamic resources live

Default: MQCDN + "images/"

SLIDEDELAY

Number final

The duration of each step in a pan animation.

Default: 11

SLIDESTEPS

Number final

The amount of steps to take in a pan animation.

Default: 9

SN_VIEWPORT

Number final

The size in pixels at which the map viewport is considered "small". Below this threshold logic kicks in to remove unnecessary elements from the map to reduce clutter.

Default: 400

STATICRESOURCES

String final

http point where static resources live

Default: MQSTATICSERVER + "/v4/getmap"

TILE_LAYER_ID

Object private

Index of Layer IDs for map types to names (currently used by transaction log)

TILESIZE

Number final

Number of pixels in a single tile

Default: 256

TN_VIEWPORT

Number final

The size in pixels at which the map viewport is considered "tiny". Below this threshold logic kicks in to remove unnecessary elements from the map to reduce clutter.

Default: 120