Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import olMap from 'ol/Map.js';
import olView from 'ol/View.js';
import olLayerImage from 'ol/layer/Image.js';
import olLayerTile from 'ol/layer/Tile.js';
import olSourceImageWMS from 'ol/source/ImageWMS.js';
import olSourceOSM from 'ol/source/OSM.js';
/** @type {angular.IModule} **/
const module = angular.module('app', [
'gettext',
ngeoDatasourceDataSources.name,
ngeoMapModule.name,
ngeoMiscBtnComponent.name,
ngeoMiscToolActivateMgr.name,
ngeoQueryComponent.name,
ngeoQueryPanelComponent.name,
ngeoQueryModule.name,
]);
module.run(
/**
* @ngInject
* @param {angular.ITemplateCacheService} $templateCache
*/
($templateCache) => {
// @ts-ignore: webpack
$templateCache.put('partials/queryresult', require('./partials/queryresult.html'));
});
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'));
});
/**
* Directive used to create, modify and delete vector features on a map with
import olMap from 'ol/Map.js';
import olView from 'ol/View.js';
import olLayerImage from 'ol/layer/Image.js';
import olLayerTile from 'ol/layer/Tile.js';
import olSourceImageWMS from 'ol/source/ImageWMS.js';
import olSourceOSM from 'ol/source/OSM.js';
/** @type {!angular.IModule} **/
const module = angular.module('app', [
'gettext',
ngeoDatasourceDataSources.name,
ngeoMapModule.name,
ngeoMiscBtnComponent.name,
ngeoMiscToolActivateMgr.name,
ngeoQueryMapQueryComponent.name,
ngeoQueryModule.name,
]);
module.run(/* @ngInject */ ($templateCache) => {
// @ts-ignore: webpack
$templateCache.put('partials/queryresult', require('./partials/queryresult.html'));
});
module.value('ngeoQueryOptions', {
'limit': 20
});
/**
* @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'));
});
/**
* Directive used to insert, modify and delete features from a single layer.
import ngeoDownloadCsv from 'ngeo/download/Csv.js';
import ngeoMiscToolActivate from 'ngeo/misc/ToolActivate.js';
import ngeoMiscToolActivateMgr from 'ngeo/misc/ToolActivateMgr.js';
/**
* @type {!angular.IModule}
* @hidden
*/
const module = angular.module('gmfLidarprofilePanel', [
gmfLidarprofileConfig.name,
gmfLidarprofileManager.name,
gmfProfileDrawLineComponent.name,
ngeoMiscBtnComponent.name,
ngeoDownloadCsv.name,
ngeoMiscToolActivateMgr.name,
]);
module.value('gmfLidarprofilePanelTemplateUrl',
/**
* @param {!JQuery} $element Element.
* @param {!angular.IAttributes} $attrs Attributes.
* @return {string} Template.
*/
($element, $attrs) => {
const templateUrl = $attrs['gmfLidarprofilePanelTemplateUrl'];
return templateUrl !== undefined ? templateUrl :
'gmf/lidarprofilePanel';
});
module.run(/* @ngInject */ ($templateCache) => {
import ngeoMiscToolActivate from 'ngeo/misc/ToolActivate.js';
import ngeoMiscToolActivateMgr from 'ngeo/misc/ToolActivateMgr.js';
import olMap from 'ol/Map.js';
import olView from 'ol/View.js';
import olLayerTile from 'ol/layer/Tile.js';
import olLayerVector from 'ol/layer/Vector.js';
import olSourceOSM from 'ol/source/OSM.js';
import olSourceVector from 'ol/source/Vector.js';
/** @type {!angular.IModule} **/
const module = angular.module('app', [
'gettext',
ngeoDrawModule.name,
ngeoMapModule.name,
ngeoMiscToolActivateMgr.name,
]);
/**
* @param {!angular.IScope} $scope Angular scope.
* @param {import("ol/Collection.js").default.} ngeoFeatures Collection
* of features.
* @param {import("ngeo/misc/ToolActivateMgr.js").ToolActivateMgr} ngeoToolActivateMgr Ngeo ToolActivate
* manager service.
* @ngInject
* @constructor
*/
function MainController($scope, ngeoFeatures, ngeoToolActivateMgr) {
/**
* @type {!angular.IScope}
import olStyleFill from 'ol/style/Fill.js';
import olStyleStroke from 'ol/style/Stroke.js';
import olStyleStyle from 'ol/style/Style.js';
import olStyleText from 'ol/style/Text.js';
import ngeoGooglestreetviewModule from 'ngeo/googlestreetview/module.js';
import ngeoMapModule from 'ngeo/map/module.js';
import ngeoMiscToolActivate from 'ngeo/misc/ToolActivate.js';
import ngeoMiscToolActivateMgr from 'ngeo/misc/ToolActivateMgr.js';
/** @type {angular.IModule} **/
const module = angular.module('app', [
'gettext',
ngeoMapModule.name,
ngeoGooglestreetviewModule.name,
ngeoMiscToolActivateMgr.name
]);
/**
* @param {import("ngeo/map/FeatureOverlayMgr.js").FeatureOverlayMgr} ngeoFeatureOverlayMgr
* Ngeo FeatureOverlay manager.
* @param {import("ngeo/misc/ToolActivateMgr.js").ToolActivateMgr} ngeoToolActivateMgr
* Ngeo ToolActivate manager service.
* @constructor
* @ngInject
*/
function MainController(ngeoFeatureOverlayMgr, ngeoToolActivateMgr) {
/**
* @type {number}
*/
*/
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,
]);
import olCollection from 'ol/Collection.js';
import olMap from 'ol/Map.js';
import olView from 'ol/View.js';
import olLayerTile from 'ol/layer/Tile.js';
import olLayerVector from 'ol/layer/Vector.js';
import olSourceOSM from 'ol/source/OSM.js';
import olSourceVector from 'ol/source/Vector.js';
import ngeoMapModule from 'ngeo/map/module.js';
/** @type {!angular.IModule} **/
const module = angular.module('app', [
'gettext',
ngeoMapModule.name,
ngeoMiscBtnComponent.name,
ngeoMiscToolActivateMgr.name,
ngeoEditingCreatefeatureComponent.name,
]);
/**
* @param {import("ngeo/misc/ToolActivateMgr.js").ToolActivateMgr} ngeoToolActivateMgr Ngeo ToolActivate
* manager service.
* @constructor
* @ngInject
*/
function MainController(ngeoToolActivateMgr) {
/**
* @type {import("ol/Collection.js").default}
*/
this.features = new olCollection();