diff --git a/contribs/gmf/apps/desktop/Controller.js b/contribs/gmf/apps/desktop/Controller.js index cef2a8bf4b9b..75374f2f29ef 100644 --- a/contribs/gmf/apps/desktop/Controller.js +++ b/contribs/gmf/apps/desktop/Controller.js @@ -124,9 +124,6 @@ exports.module = angular.module('Appdesktop', [ gmfControllersAbstractDesktopController.module.name, ]); -exports.module.value('ngeoSnappingTolerance', 20); -exports.module.value('ngeoSnappingSource', new olSourceVector()); - exports.module.value('gmfContextualdatacontentTemplateUrl', 'gmf/contextualdata'); exports.module.run(/* @ngInject */ ($templateCache) => { $templateCache.put('gmf/contextualdata', require('./contextualdata.html')); diff --git a/contribs/gmf/src/controllers/AbstractDesktopController.js b/contribs/gmf/src/controllers/AbstractDesktopController.js index 5e0e7ee3e423..617668eee9cd 100644 --- a/contribs/gmf/src/controllers/AbstractDesktopController.js +++ b/contribs/gmf/src/controllers/AbstractDesktopController.js @@ -251,6 +251,9 @@ exports.module.value('ngeoQueryOptions', { 'limit': 20 }); +exports.module.value('ngeoSnappingTolerance', 20); +exports.module.value('ngeoSnappingSource', new olSourceVector()); + exports.module.value('ngeoMeasurePrecision', 3); exports.module.value('ngeoMeasureDecimals', 0);