Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.featureHelper_.setStyle(feature);
// push in collection
features.push(feature);
}
}
/**
* @type {angular.IModule}
* @hidden
*/
const module = angular.module('ngeoDrawfeatureController', [
ngeoDrawFeatures.name,
ngeoMiscBtnComponent.name,
ngeoMiscFeatureHelper.name,
]);
module.controller('ngeoDrawfeatureController', DrawController);
export default module;
/**
* @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'));
});
/**
import Feature from 'ol/Feature.js';
import 'bootstrap/js/src/dropdown.js';
/**
* @type {angular.IModule}
* @hidden
*/
const module = angular.module('GmfDrawFeatureComponent', [
gmfDrawingDrawFeatureOptionsComponent.name,
gmfDrawingFeatureStyleComponent.name,
ngeoEditingExportfeaturesComponent.name,
ngeoMiscBtnComponent.name,
ngeoDrawComponent.name,
ngeoMiscFeatureHelper.name,
ngeoMiscToolActivateMgr.name,
]);
module.run(
/**
* @ngInject
* @param {angular.ITemplateCacheService} $templateCache
*/
($templateCache) => {
// @ts-ignore: webpack
$templateCache.put('gmf/drawing/drawFeatureComponent', require('./drawFeatureComponent.html'));
});
/**
import 'jquery-ui/ui/widgets/resizable.js';
import 'ngeo/sass/jquery-ui.scss';
import 'angular-animate';
import 'angular-touch';
import 'bootstrap/js/src/collapse.js';
import 'bootstrap/js/src/dropdown.js';
/**
* @type {angular.IModule}
* @hidden
*/
const module = angular.module('gmfQueryWindowComponent', [
ngeoMapFeatureOverlayMgr.name,
ngeoMiscFeatureHelper.name,
ngeoMiscSwipe.name,
ngeoQueryMapQuerent.name,
'ngAnimate',
'ngTouch',
]);
module.config(['$animateProvider',
/**
* For performance reason, only perform animation on elements that have the
* `gmf-animatable` css class.
* @param {angular.animate.IAnimateProvider} $animateProvider animate provider.
*/
function($animateProvider) {
$animateProvider.classNameFilter(/gmf-animatable/);
}
import ngeoMiscSortableComponent from 'ngeo/misc/sortableComponent.js';
import ngeoMiscTime from 'ngeo/misc/Time.js';
import ngeoMiscToolActivateMgr from 'ngeo/misc/ToolActivateMgr.js';
import ngeoMiscWMSTime from 'ngeo/misc/WMSTime.js';
/**
* @type {!angular.IModule}
*/
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,
]);