Class: AbstractMobileController controller

gmf.AbstractMobileController

new AbstractMobileController(config, $scope, $injector)

Mobile application abstract controller.

This file includes goog.require's mobile components/directives used by the HTML page and the controller to provide the configuration.

Parameters:
Name Type Description
config gmfx.Config

A part of the application config.

$scope angular.Scope

Scope.

$injector angular.$injector

Main injector.

Extends

Members

$scope: angular.Scope

Inherited From:

defaultLang: string

Default language

Inherited From:

(non-null) dimensions: Object:.<string:, string:>

Inherited From:

drawFeatureActive: boolean

Inherited From:

drawProfilePanelActive: boolean

Inherited From:

filterSelectorActive: boolean

Inherited From:

getBrowserLanguage: ngeo.GetBrowserLanguage

Inherited From:

gettextCatalog: angularGettext.Catalog

The gettext catalog

Inherited From:

gmfThemeManager: gmf.ThemeManager

Inherited From:

gmfUser: gmfx.User

Inherited From:

hasEditableLayers: boolean

Inherited From:

(non-null) langUrls: Object:.<string:, string:>

Languages URL

Inherited From:

leftNavVisible: boolean

Overrides:

manageResize: boolean

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

Overrides:

map: ol.Map

mapToolsGroup: string

Inherited From:

measureLengthActive: boolean

The active state of the directive responsible of length measurements.

Inherited From:

measurePointActive: boolean

The active state of the directive responsible of point measurements.

Inherited From:

mobileGeolocationOptions: ngeox.MobileGeolocationDirectiveOptions

ngeoLocation: ngeo.Location

Location service

Inherited From:

printActive: boolean

Inherited From:

printPanelActive: boolean

Inherited From:

queryActive: boolean

The active state of the ngeo query directive.

Inherited From:

queryAutoClear: boolean

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

Inherited From:

queryFeatureStyle: ol.style.Style

FeatureStyle used by the displayquerywindow directive

Inherited From:

resizeTransition: number|undefined

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.

Overrides:

rightNavVisible: boolean

Overrides:

searchDatasources: Array:.<gmfx.SearchDirectiveDatasource:>

Inherited From:

searchListeners: ngeox.SearchDirectiveListeners

searchOverlayVisible: boolean

stateManager: ngeo.StateManager

Inherited From:

tmhDynamicLocale: tmhDynamicLocale

Inherited From:

Methods

hideNav()

Hide both navigation menus.

hideSearchOverlay()

Hide search overlay.

initLanguage()

Inherited From:

leftNavIsVisible()

Returns:
boolean

Return true if the left navigation menus is visible, otherwise false.

Returns:
boolean

Return true if one of the navigation menus is visible, otherwise false.

rightNavIsVisible()

Returns:
boolean

Return true if the right navigation menus is visible, otherwise false.

switchLanguage(lang)

Parameters:
Name Type Description
lang string

Language code.

Inherited From:

toggleLeftNavVisibility()

toggleRightNavVisibility()