Class: SavedFilters service:gmfSavedFilters

gmf~gmf.SavedFilters

new SavedFilters($rootScope)

The GeoMapFish service responsible of storing filters that can be applied to data sources. A filter consists of:

  • a condition
  • a list of directed rules
  • a list of custom rules
  • a data source
  • a name

The filters are saved in the browser local storage, if available. Otherwise, they are kept in this service for the duration of the visit.

Parameters:
Name Type Description
$rootScope !angular.Scope

Angular rootScope.