API Docs for: 7.2
Show:

MQA.StandardMapType Class

Module: MQA

Represents a MapType on the map Display. Allows multiple tile layers to represent a single MapType, and the tile layers will be managed appropriately as the MapType is activated and deactivated.

Constructor

MQA.StandardMapType

(
  • id
  • tileLayers
)

Parameters:

Methods

activate

(
  • map
)

Parameters:

deactivate

(
  • map
)

Parameters:

generateDefaultMapTypes

() Array

Generates the list of default map types that are commonly used on the map (map, sat, hyb). This is what all TileMap instances start with.

Returns <Array>

the collection of the default map types (with tile layers contained)