# MapMode2D

Scene/MapMode2D.js 6
Describes how the map will operate in 2D.

##### Properties:

Name | Type | Description
--- | --- | ---
`ROTATE` | Number | The 2D map can be rotated about the z axis.
`INFINITE_SCROLL` | Number | The 2D map can be scrolled infinitely in the horizontal direction.

### Members

#### static constant Cesium.MapMode2D.INFINITE_SCROLL : Number
Scene/MapMode2D.js 21

The 2D map can be scrolled infinitely in the horizontal direction.

Default Value: `1`

#### static constant Cesium.MapMode2D.ROTATE : Number
Scene/MapMode2D.js 13

The 2D map can be rotated about the z axis.