new module:Mode(ngeoOfflineConfiguration)
Parameters:
Name | Type | Description |
---|---|---|
ngeoOfflineConfiguration |
ngeo.offline.Configuration | ngeo offline configuration service. |
Methods
activateOfflineMode()
enable()
Enable offline mode. ATM we cannot escape from the offline mode.
hasData()
Returns:
boolean
True if data are accessible offline.
isEnabled()
Return if we are in offline mode.
Returns:
boolean
whether offline mode is enabled
registerComponent(component)
Parameters:
Name | Type | Description |
---|---|---|
component |
ngeo.offline.component.Controller | Offline component. |