Class: DataSourcesManager service:gmfDataSourcesManager


new DataSourcesManager($q, $rootScope, $timeout, gmfThemes, gmfTreeManager, ngeoBackgroundLayerMgr, ngeoDataSources, ngeoLayerHelper, ngeoRuleHelper, ngeoWMSTime)

The GeoMapFish DataSources Manager is responsible of listenening to the c2cgeoportal's themes to create instances of ngeo.DataSource objects with the layer definitions found and push them in the ngeo.DataSources collection.

When changing theme, these data sources are cleared then re-created.

Name Type Description
$q angular.$q

Angular q service

$rootScope !angular.Scope

Angular rootScope.

$timeout angular.$timeout

Angular timeout service.

gmfThemes gmf.Themes

The gmf Themes service.

gmfTreeManager gmf.TreeManager

The gmf TreeManager service.

ngeoBackgroundLayerMgr !ngeo.BackgroundLayerMgr

Background layer manager.

ngeoDataSources ngeo.DataSources

Ngeo collection of data sources objects.

ngeoLayerHelper !ngeo.LayerHelper

Ngeo Layer Helper.

ngeoRuleHelper !ngeo.RuleHelper

Ngeo rule helper service.

ngeoWMSTime !ngeo.WMSTime

wms time service.