Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/**
* @type {angular.IModule}
* @hidden
*/
const module = angular.module('gmfLayertreeComponent', [
gmfDatasourceDataSourceBeingFiltered.name,
gmfDatasourceExternalDataSourcesManager.name,
gmfPermalinkPermalink.name,
gmfLayertreeDatasourceGroupTreeComponent.name,
gmfLayertreeSyncLayertreeMap.name,
gmfLayertreeTreeManager.name,
gmfThemeThemes.name,
ngeoLayertreeComponent.name,
ngeoLayertreeController.name,
ngeoMapLayerHelper.name,
ngeoMiscWMSTime.name,
gmfLayerBeingSwipe.name
]);
// Overrides the path to the layertree template (used by each node, except
// the root node that path is defined by the gmfLayertreeTemplate value.
module.value('ngeoLayertreeTemplateUrl',
/**
* @param {JQuery} element Element.
* @param {angular.IAttributes} attrs Attributes.
* @return {string} Template URL.
*/
(element, attrs) => 'gmf/layertree');
module.run(
import './datepicker.css';
import ngeoMiscDatepickerComponent from 'ngeo/misc/datepickerComponent.js';
import ngeoMiscWMSTime from 'ngeo/misc/WMSTime.js';
import {TimePropertyWidgetEnum, TimePropertyResolutionEnum, TimePropertyModeEnum}
from 'ngeo/datasource/OGC.js';
/**
* @type {!angular.IModule}
* @hidden
*/
const module = angular.module('gmfapp', [
'gettext',
ngeoMiscDatepickerComponent.name,
ngeoMiscWMSTime.name,
]);
module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');
/**
* @constructor
* @param {!angular.IScope} $scope Angular scope.
* @param {!import("ngeo/misc/WMSTime.js").WMSTime} ngeoWMSTime wmstime service.
* @ngInject
*/
function MainController($scope, ngeoWMSTime) {
/**
* @type {import("ngeo/misc/WMSTime.js").WMSTime}
* @private
export default angular.module('ngeoMiscExtraModule', [
ngeoMiscAutoProjection.name,
ngeoMiscBtnComponent.name,
ngeoMiscControlComponent.name,
ngeoMiscDatepickerComponent.name,
ngeoMiscDebounce.name,
ngeoMiscEventHelper.name,
ngeoMiscFeatureHelper.name,
ngeoMiscFile.name,
ngeoMiscFilereaderComponent.name,
ngeoMiscFilters.name,
ngeoMiscGetBrowserLanguage.name,
ngeoMiscSortableComponent.name,
ngeoMiscTime.name,
ngeoMiscToolActivateMgr.name,
ngeoMiscWMSTime.name,
]);
}
if (!layer) {
throw new Error('Missing layer');
}
return layer;
}
/**
* @type {angular.IModule}
* @hidden
*/
const module = angular.module('gmfSyncLayertreeMap', [
gmfThemeThemes.name,
ngeoLayertreeController.name,
ngeoMiscWMSTime.name,
]);
module.service('gmfSyncLayertreeMap', SyncLayertreeMap);
export default module;
return combinedHash;
}
/**
* @typedef {ngeoDatasourceOGC[][]} CombinedDataSources
*/
/**
* @type {angular.IModule}
* @hidden
*/
const module = angular.module('ngeoQuerent', [
ngeoFilterRuleHelper.name,
ngeoMiscWMSTime.name,
]);
module.service('ngeoQuerent', Querent);
export default module;
import './timeslider.css';
import angular from 'angular';
import gmfLayertreeTimeSliderComponent from 'gmf/layertree/timeSliderComponent.js';
import ngeoMiscWMSTime from 'ngeo/misc/WMSTime.js';
import {TimePropertyWidgetEnum, TimePropertyResolutionEnum, TimePropertyModeEnum}
from 'ngeo/datasource/OGC.js';
/** @type {!angular.IModule} **/
const module = angular.module('gmfapp', [
'gettext',
gmfLayertreeTimeSliderComponent.name,
ngeoMiscWMSTime.name,
]);
module.constant('angularLocaleScript', '../build/angular-locale_{{locale}}.js');
/**
* @constructor
* @param {!angular.IScope} $scope Angular scope.
* @param {!import("ngeo/misc/WMSTime.js").WMSTime} ngeoWMSTime wmstime service.
* @ngInject
*/
function MainController($scope, ngeoWMSTime) {
/**
* @type {import("ngeo/misc/WMSTime.js").WMSTime}
* @private