# Class AbstractDesktopController

Desktop application abstract controller.

This file includes `import`'s for desktop components/directives used by the HTML page and the controller to provide the configuration.

#### Hierarchy (view full)

- AbstractAPIController
  - AbstractDesktopController

- Defined in src/controllers/AbstractDesktopController.js:62
- Defined in src/controllers/AbstractDesktopController.js:604

#####
Index

### Constructors

constructor

### Properties

$scope
backgroundLayerMgr_
contextdataActive
dataPanelActive
defaultLang
dimensions
displaywindowContent
displaywindowDraggableContainment
displaywindowHeight
displaywindowOpen
displaywindowTitle
displaywindowUrl
displaywindowWidth
drawFeatureActive
drawFeatureLayer
drawLidarprofilePanelActive
drawProfilePanelActive
editFeatureActivate
editFeatureActive
editFeatureVectorLayer
filterSelectorActive
filterSelectorEnabled
gettextCatalog
gmfDataSourceBeingFiltered
gmfLayerBeingSwipe
gmfThemeManager
gmfThemes
gmfTreeManager_
gmfUser
googleStreetViewActive
hasEditableLayers
hasPrivateLayers
importDataSourceActive
lang
langUrls
loading
loginActive
loginRedirectUrl
manageResize
map
mapToolsGroup
mapillaryStreetViewActive
modalShareShown
ngeoLocation
ngeoMapQuerent_
ngeoToolActivateMgr
options
permalink_
postLoading
printActive
printPanelActive
profileLine
queryActive
queryAutoClear
queryGrid
queryGridActive
queryPanelActive
resizeTransition
routingPanelActive
searchListeners
stateManager
streetViewStyle
tmhDynamicLocale
toolsActive
updateHasEditableLayers_
$inject

### Methods

initLanguage
setDefaultBackground_
switchLanguage

##
Constructors

### constructor

- new AbstractDesktopController($scope, $injector): AbstractDesktopController

- #### Parameters

  - $scope: IScope

    Scope.

  - $injector: IInjectorService

    Main injector.

  #### Returns AbstractDesktopController

  Overrides AbstractAPIController.constructor

  - Defined in src/controllers/AbstractDesktopController.js:67

##
Properties

### $scope

$scope: IScope

Inherited from AbstractAPIController.$scope

- Defined in src/controllers/AbstractAppController.js:481

### backgroundLayerMgr_

backgroundLayerMgr_: MapBackgroundLayerManager

Inherited from AbstractAPIController.backgroundLayerMgr_

- Defined in src/controllers/AbstractAppController.js:438

### contextdataActive

contextdataActive: boolean

- Defined in src/controllers/AbstractDesktopController.js:138

### dataPanelActive

dataPanelActive: boolean

- Defined in src/controllers/AbstractDesktopController.js:85
- Defined in src/controllers/AbstractDesktopController.js:396

### defaultLang

defaultLang: string

Default language

Inherited from AbstractAPIController.defaultLang

- Defined in src/controllers/AbstractAppController.js:493

### dimensions

dimensions: {}

Inherited from AbstractAPIController.dimensions

- Defined in src/controllers/AbstractAppController.js:414

### displaywindowContent

displaywindowContent: string

Inherited from AbstractAPIController.displaywindowContent

- Defined in src/controllers/AbstractAppController.js:588
- Defined in src/controllers/AbstractAppController.js:628

### displaywindowDraggableContainment

displaywindowDraggableContainment: string

Inherited from AbstractAPIController.displaywindowDraggableContainment

- Defined in src/controllers/AbstractAppController.js:633

### displaywindowHeight

displaywindowHeight: string

Inherited from AbstractAPIController.displaywindowHeight

- Defined in src/controllers/AbstractAppController.js:550
- Defined in src/controllers/AbstractAppController.js:638

### displaywindowOpen

displaywindowOpen: boolean

Inherited from AbstractAPIController.displaywindowOpen

- Defined in src/controllers/AbstractAppController.js:545
- Defined in src/controllers/AbstractAppController.js:643

### displaywindowTitle

displaywindowTitle: string

Inherited from AbstractAPIController.displaywindowTitle

- Defined in src/controllers/AbstractAppController.js:544
- Defined in src/controllers/AbstractAppController.js:648

### displaywindowUrl

displaywindowUrl: string

Inherited from AbstractAPIController.displaywindowUrl

- Defined in src/controllers/AbstractAppController.js:574
- Defined in src/controllers/AbstractAppController.js:653

### displaywindowWidth

displaywindowWidth: string

Inherited from AbstractAPIController.displaywindowWidth

- Defined in src/controllers/AbstractAppController.js:547
- Defined in src/controllers/AbstractAppController.js:658

### drawFeatureActive

drawFeatureActive: boolean

- Defined in src/controllers/AbstractDesktopController.js:153
- Defined in src/controllers/AbstractDesktopController.js:168
- Defined in src/controllers/AbstractDesktopController.js:481

### drawFeatureLayer

drawFeatureLayer: FeatureOverlay

Inherited from AbstractAPIController.drawFeatureLayer

- Defined in src/controllers/AbstractAppController.js:233

### drawLidarprofilePanelActive

drawLidarprofilePanelActive: boolean

- Defined in src/controllers/AbstractDesktopController.js:489

### drawProfilePanelActive

drawProfilePanelActive: boolean

- Defined in src/controllers/AbstractDesktopController.js:158
- Defined in src/controllers/AbstractDesktopController.js:169
- Defined in src/controllers/AbstractDesktopController.js:484

### editFeatureActivate

editFeatureActivate: boolean

- Defined in src/controllers/AbstractDesktopController.js:171

### editFeatureActive

editFeatureActive: boolean

- Defined in src/controllers/AbstractDesktopController.js:105
- Defined in src/controllers/AbstractDesktopController.js:483

### editFeatureVectorLayer

editFeatureVectorLayer: VectorLayer<VectorSource<Geometry>, never>

- Defined in src/controllers/AbstractDesktopController.js:265

### filterSelectorActive

filterSelectorActive: boolean

Inherited from AbstractAPIController.filterSelectorActive

- Defined in src/controllers/AbstractAppController.js:367

### filterSelectorEnabled

filterSelectorEnabled: boolean

Inherited from AbstractAPIController.filterSelectorEnabled

- Defined in src/controllers/AbstractAppController.js:360
- Defined in src/controllers/AbstractAppController.js:454

### gettextCatalog

gettextCatalog: gettextCatalog

The gettext catalog

Inherited from AbstractAPIController.gettextCatalog

- Defined in src/controllers/AbstractAppController.js:507

### gmfDataSourceBeingFiltered

gmfDataSourceBeingFiltered: DataSourceBeingFiltered

- Defined in src/controllers/AbstractDesktopController.js:286

### gmfLayerBeingSwipe

gmfLayerBeingSwipe: LayerBeingSwipe

The gmf layer being swipe.

- Defined in src/controllers/AbstractDesktopController.js:293

### gmfThemeManager

gmfThemeManager: ThemeManagerService

Inherited from AbstractAPIController.gmfThemeManager

- Defined in src/controllers/AbstractAppController.js:247

### gmfThemes

gmfThemes: ThemesService

Themes service

Inherited from AbstractAPIController.gmfThemes

- Defined in src/controllers/AbstractAppController.js:259

### gmfTreeManager_

gmfTreeManager_: LayertreeTreeManager

Inherited from AbstractAPIController.gmfTreeManager_

- Defined in src/controllers/AbstractAppController.js:252

### gmfUser

gmfUser: any

Inherited from AbstractAPIController.gmfUser

- Defined in src/controllers/AbstractAppController.js:387
- Defined in src/controllers/AbstractAppController.js:394
- Defined in src/controllers/AbstractAppController.js:397

### googleStreetViewActive

googleStreetViewActive: boolean

- Defined in src/controllers/AbstractDesktopController.js:115
- Defined in src/controllers/AbstractDesktopController.js:172
- Defined in src/controllers/AbstractDesktopController.js:485

### hasEditableLayers

hasEditableLayers: boolean

Inherited from AbstractAPIController.hasEditableLayers

- Defined in src/controllers/AbstractAppController.js:289
- Defined in src/controllers/AbstractAppController.js:296

### hasPrivateLayers

hasPrivateLayers: boolean

Inherited from AbstractAPIController.hasPrivateLayers

- Defined in src/controllers/AbstractAppController.js:336
- Defined in src/controllers/AbstractAppController.js:339

### importDataSourceActive

importDataSourceActive: boolean

- Defined in src/controllers/AbstractDesktopController.js:238
- Defined in src/controllers/AbstractDesktopController.js:488

### lang

lang: string

Inherited from AbstractAPIController.lang

- Defined in src/controllers/AbstractAppController.js:486
- Defined in src/controllers/AbstractAppController.js:713

### langUrls

langUrls: {}

Languages URL

Inherited from AbstractAPIController.langUrls

- Defined in src/controllers/AbstractAppController.js:500

### loading

loading: boolean

Checks if the themes are loaded

Inherited from AbstractAPIController.loading

- Defined in src/controllers/AbstractAppController.js:266
- Defined in src/controllers/AbstractAppController.js:268

### loginActive

loginActive: boolean

Inherited from AbstractAPIController.loginActive

- Defined in src/controllers/AbstractAppController.js:325
- Defined in src/controllers/AbstractAppController.js:402

### loginRedirectUrl

loginRedirectUrl: string

URL to redirect to after login success.

Inherited from AbstractAPIController.loginRedirectUrl

- Defined in src/controllers/AbstractAppController.js:305
- Defined in src/controllers/AbstractAppController.js:324
- Defined in src/controllers/AbstractAppController.js:330

### manageResize

manageResize: boolean

Whether to update the size of the map on browser window resize.

Inherited from AbstractAPIController.manageResize

- Defined in src/controllers/AbstractAppController.js:597

### map

map: Map

Inherited from AbstractAPIController.map

- Defined in src/controllers/AbstractAppController.js:218

### mapToolsGroup

mapToolsGroup: string

Inherited from AbstractAPIController.mapToolsGroup

- Defined in src/controllers/AbstractAppController.js:513

### mapillaryStreetViewActive

mapillaryStreetViewActive: boolean

- Defined in src/controllers/AbstractDesktopController.js:120
- Defined in src/controllers/AbstractDesktopController.js:173
- Defined in src/controllers/AbstractDesktopController.js:486

### modalShareShown

modalShareShown: boolean

- Defined in src/controllers/AbstractDesktopController.js:100

### ngeoLocation

ngeoLocation: StatemanagerLocation

Location service

Inherited from AbstractAPIController.ngeoLocation

- Defined in src/controllers/AbstractAppController.js:208

### ngeoMapQuerent_

ngeoMapQuerent_: MapQuerent

Inherited from AbstractAPIController.ngeoMapQuerent_

- Defined in src/controllers/AbstractAppController.js:466

### ngeoToolActivateMgr

ngeoToolActivateMgr: ToolActivateMgr

The ngeo ToolActivate manager service.

- Defined in src/controllers/AbstractDesktopController.js:281

### options

options: gmfOptions

Inherited from AbstractAPIController.options

- Defined in src/controllers/AbstractAppController.js:85

### permalink_

permalink_: PermalinkService

Permalink service

Inherited from AbstractAPIController.permalink_

- Defined in src/controllers/AbstractAppController.js:284

### postLoading

postLoading: boolean

This property is set to `true` when the themes change after a successful login

Inherited from AbstractAPIController.postLoading

- Defined in src/controllers/AbstractDesktopController.js:322
- Defined in src/controllers/AbstractDesktopController.js:324

### printActive

printActive: boolean

- Defined in src/controllers/AbstractDesktopController.js:148
- Defined in src/controllers/AbstractDesktopController.js:200
- Defined in src/controllers/AbstractDesktopController.js:479

### printPanelActive

printPanelActive: boolean

- Defined in src/controllers/AbstractDesktopController.js:143
- Defined in src/controllers/AbstractDesktopController.js:167
- Defined in src/controllers/AbstractDesktopController.js:480

### profileLine

profileLine: LineString

- Defined in src/controllers/AbstractDesktopController.js:314

### queryActive

queryActive: boolean

The active state of the ngeo query directive.

Inherited from AbstractAPIController.queryActive

- Defined in src/controllers/AbstractAppController.js:461

### queryAutoClear

queryAutoClear: boolean

Set the clearing of the ngeoQuery after the deactivation of the query

- Defined in src/controllers/AbstractDesktopController.js:133
- Defined in src/controllers/AbstractDesktopController.js:199

### queryGrid

queryGrid: boolean

- Defined in src/controllers/AbstractDesktopController.js:73
- Defined in src/controllers/AbstractDesktopController.js:241

### queryGridActive

queryGridActive: boolean

To toggle the activation query grid in the HTML, shouldn't be touch (it's managed by angular).

- Defined in src/controllers/AbstractDesktopController.js:80

### queryPanelActive

queryPanelActive: boolean

- Defined in src/controllers/AbstractDesktopController.js:110
- Defined in src/controllers/AbstractDesktopController.js:487

### resizeTransition

resizeTransition: number

The duration (milliseconds) of the animation that may occur on the div containing the map. Used to smoothly resize the map while the animation is in progress.

Inherited from AbstractAPIController.resizeTransition

- Defined in src/controllers/AbstractAppController.js:606

### routingPanelActive

routingPanelActive: boolean

- Defined in src/controllers/AbstractDesktopController.js:163
- Defined in src/controllers/AbstractDesktopController.js:170

### searchListeners

searchListeners: any

Listeners passed to searchDirective.

Inherited from AbstractAPIController.searchListeners

- Defined in src/controllers/AbstractAppController.js:312

### stateManager

stateManager: StatemanagerService

Inherited from AbstractAPIController.stateManager

- Defined in src/controllers/AbstractAppController.js:471

### streetViewStyle

streetViewStyle: Style

- Defined in src/controllers/AbstractDesktopController.js:220

### tmhDynamicLocale

tmhDynamicLocale: IDynamicLocale

Inherited from AbstractAPIController.tmhDynamicLocale

- Defined in src/controllers/AbstractAppController.js:476

### toolsActive

toolsActive: boolean

- Defined in src/controllers/AbstractDesktopController.js:95
- Defined in src/controllers/AbstractDesktopController.js:477

### updateHasEditableLayers_

updateHasEditableLayers_: (() => void)

Check editable layers

Inherited from AbstractAPIController.updateHasEditableLayers_

- Defined in src/controllers/AbstractAppController.js:294

### `Static`$inject

$inject: string[]

Inherited from AbstractAPIController.$inject

- Defined in src/controllers/AbstractDesktopController.js:604

##
Methods

### initLanguage

- initLanguage(): void

- #### Returns void

  Inherited from AbstractAPIController.initLanguage

  - Defined in src/controllers/AbstractAppController.js:718

### setDefaultBackground_

- setDefaultBackground_(theme): void

- #### Parameters

  - theme: GmfTheme

    Theme.

  #### Returns void

  Inherited from AbstractAPIController.setDefaultBackground_

  - Defined in src/controllers/AbstractAppController.js:747

### switchLanguage

- switchLanguage(lang): void

- #### Parameters

  - lang: string

    Language code.

  #### Returns void

  Inherited from AbstractAPIController.switchLanguage

  - Defined in src/controllers/AbstractAppController.js:706