# Class SwipeController

The controller for the Mapswipe component.

- Defined in src/map/swipe.js:73
- Defined in src/map/swipe.js:261

#####
Index

### Properties

layer
map
swipeValue
$inject

### Methods

$onDestroy
$onInit
deactivate

##
Properties

### layer

layer: any

- Defined in src/map/swipe.js:91
- Defined in src/map/swipe.js:163

### map

map: Map

- Defined in src/map/swipe.js:86

### swipeValue

swipeValue: number

- Defined in src/map/swipe.js:102
- Defined in src/map/swipe.js:128
- Defined in src/map/swipe.js:146

### `Static`$inject

$inject: string[]

- Defined in src/map/swipe.js:261

##
Methods

### $onDestroy

- $onDestroy(): void

- #### Returns void

  - Defined in src/map/swipe.js:254

### $onInit

- $onInit(): void

- Init the controller

  #### Returns void

  - Defined in src/map/swipe.js:126

### deactivate

- deactivate(): void

- Allows you to deactivate the swiper on click of the close button.

  #### Returns void

  - Defined in src/map/swipe.js:162