Class: module:Service

ngeo.statemanager.module:Service.ngeo.statemanager.module:Service

new module:Service(ngeoLocation, ngeoUsedKeyRegexp)

Provides a service for managing the application state. The application state is written to both the URL and the local storage.

Parameters:
Name Type Description
ngeoLocation !ngeo.statemanager.Location

ngeo location service.

ngeoUsedKeyRegexp !Array.

regexp used to identify the used keys.

Members

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

Object representing the application's initial state.

(non-null) ngeoLocation: ngeo.statemanager.Location

(non-null) usedKeyRegexp: Array:.<!RegExp:>