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');
* @type {string}
*/
STOP_EDITING_PENDING: 'stop_editing_pending'
};
/**
* @type {angular.IModule}
* @hidden
*/
const module = angular.module('GmfEditingFeatureComponent', [
gmfEditingEditFeature.name,
gmfEditingSnapping.name,
gmfEditingXSDAttributes.name,
ngeoEditingAttributesComponent.name,
ngeoEditingCreatefeatureComponent.name,
ngeoMapLayerHelper.name,
ngeoMessageModalComponent.name,
ngeoMiscBtnComponent.name,
ngeoMiscEventHelper.name,
ngeoMiscFeatureHelper.name,
ngeoMiscToolActivateMgr.name,
]);
module.run(
/**
* @ngInject
* @param {angular.ITemplateCacheService} $templateCache
*/
($templateCache) => {
// @ts-ignore: webpack
$templateCache.put('gmf/editing/editFeatureComponent', require('./editFeatureComponent.html'));
source.updateParams(updatedDimensions);
source.refresh();
}
}
}
});
}
}
}
/**
* @type {angular.IModule}
* @hidden
*/
const module = angular.module('ngeoBackgroundLayerMgr', [
ngeoLayerHelper.name
]);
module.service('ngeoBackgroundLayerMgr', MapBackgroundLayerManager);
export default module;
/**
*/
import angular from 'angular';
import ngeoMapLayerHelper from 'ngeo/map/LayerHelper.js';
/**
* @type {angular.IModule}
*/
export default angular.module('ngeoMapExtraModule', [
ngeoMapLayerHelper.name,
]);
* @param {Object} layer WMS/WMTS Capability Layer object.
* @return {number} Data source id.
* @private
* @hidden
*/
function getId(layer) {
return Number(olUtilGetUid(layer)) + 1000000;
}
/**
* @type {angular.IModule}
* @hidden
*/
const module = angular.module('gmfExternalDataSourcesManager', [
ngeoMapLayerHelper.name,
ngeoMiscFile.name,
ngeoDatasourceDataSources.name,
]);
module.service('gmfExternalDataSourcesManager', ExternalDatSourcesManager);
export default module;