@igo2/integration 1.12.0 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/bundles/igo2-integration.umd.js +33 -31
  2. package/bundles/igo2-integration.umd.js.map +1 -1
  3. package/esm2015/lib/about/about-tool/about-tool.component.js +1 -1
  4. package/esm2015/lib/about/about-tool/index.js +1 -1
  5. package/esm2015/lib/about/about.module.js +1 -1
  6. package/esm2015/lib/about/index.js +1 -1
  7. package/esm2015/lib/analytics/analytics-listener.service.js +1 -1
  8. package/esm2015/lib/analytics/analytics.module.js +1 -1
  9. package/esm2015/lib/analytics/index.js +1 -1
  10. package/esm2015/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.js +1 -1
  11. package/esm2015/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.js +1 -1
  12. package/esm2015/lib/catalog/catalog-library-tool/catalog-library-tool.component.js +1 -1
  13. package/esm2015/lib/catalog/catalog-library-tool/catalog-library-tool.module.js +1 -1
  14. package/esm2015/lib/catalog/catalog.module.js +1 -1
  15. package/esm2015/lib/catalog/catalog.state.js +1 -1
  16. package/esm2015/lib/catalog/index.js +1 -1
  17. package/esm2015/lib/context/context-editor-tool/context-editor-tool.component.js +1 -1
  18. package/esm2015/lib/context/context-manager-tool/context-manager-tool.component.js +1 -1
  19. package/esm2015/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.js +1 -1
  20. package/esm2015/lib/context/context-share-tool/context-share-tool.component.js +1 -1
  21. package/esm2015/lib/context/context.module.js +1 -1
  22. package/esm2015/lib/context/context.state.js +1 -1
  23. package/esm2015/lib/context/index.js +1 -1
  24. package/esm2015/lib/directions/directions-tool/directions-tool.component.js +1 -1
  25. package/esm2015/lib/directions/directions-tool/index.js +1 -1
  26. package/esm2015/lib/directions/directions.module.js +1 -1
  27. package/esm2015/lib/directions/directions.state.js +1 -1
  28. package/esm2015/lib/directions/index.js +1 -1
  29. package/esm2015/lib/draw/draw.module.js +1 -1
  30. package/esm2015/lib/draw/draw.state.js +1 -1
  31. package/esm2015/lib/draw/drawing-tool/drawing-tool.component.js +1 -1
  32. package/esm2015/lib/draw/index.js +1 -1
  33. package/esm2015/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.js +1 -1
  34. package/esm2015/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.js +1 -1
  35. package/esm2015/lib/filter/active-ogc-filter-tool/index.js +1 -1
  36. package/esm2015/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.js +1 -1
  37. package/esm2015/lib/filter/active-time-filter-tool/active-time-filter-tool.component.js +1 -1
  38. package/esm2015/lib/filter/active-time-filter-tool/index.js +1 -1
  39. package/esm2015/lib/filter/filter.module.js +1 -1
  40. package/esm2015/lib/filter/index.js +1 -1
  41. package/esm2015/lib/filter/ogc-filter-tool/index.js +1 -1
  42. package/esm2015/lib/filter/ogc-filter-tool/ogc-filter-tool.component.js +1 -1
  43. package/esm2015/lib/filter/spatial-filter-tool/index.js +1 -1
  44. package/esm2015/lib/filter/spatial-filter-tool/spatial-filter-tool.component.js +29 -28
  45. package/esm2015/lib/filter/time-filter-tool/index.js +1 -1
  46. package/esm2015/lib/filter/time-filter-tool/time-filter-tool.component.js +1 -1
  47. package/esm2015/lib/import-export/import-export-tool/import-export-tool.component.js +1 -1
  48. package/esm2015/lib/import-export/import-export-tool/index.js +1 -1
  49. package/esm2015/lib/import-export/import-export.module.js +1 -1
  50. package/esm2015/lib/import-export/import-export.state.js +1 -1
  51. package/esm2015/lib/import-export/index.js +1 -1
  52. package/esm2015/lib/integration.module.js +1 -1
  53. package/esm2015/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.js +1 -1
  54. package/esm2015/lib/map/advanced-map-tool/advanced-map-tool.component.js +1 -1
  55. package/esm2015/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.js +1 -1
  56. package/esm2015/lib/map/advanced-map-tool/index.js +1 -1
  57. package/esm2015/lib/map/index.js +1 -1
  58. package/esm2015/lib/map/layer-list-tool.state.js +1 -1
  59. package/esm2015/lib/map/map-details-tool/index.js +1 -1
  60. package/esm2015/lib/map/map-details-tool/map-details-tool.component.js +1 -1
  61. package/esm2015/lib/map/map-legend/index.js +1 -1
  62. package/esm2015/lib/map/map-legend/map-legend-tool.component.js +1 -1
  63. package/esm2015/lib/map/map-proximity-tool/index.js +1 -1
  64. package/esm2015/lib/map/map-proximity-tool/map-proximity-tool.component.js +1 -1
  65. package/esm2015/lib/map/map-proximity.state.js +1 -1
  66. package/esm2015/lib/map/map-tool/index.js +1 -1
  67. package/esm2015/lib/map/map-tool/map-tool.component.js +1 -1
  68. package/esm2015/lib/map/map-tools/index.js +1 -1
  69. package/esm2015/lib/map/map-tools/map-tools.component.js +1 -1
  70. package/esm2015/lib/map/map.module.js +1 -1
  71. package/esm2015/lib/map/map.state.js +6 -5
  72. package/esm2015/lib/measure/index.js +1 -1
  73. package/esm2015/lib/measure/measure.module.js +1 -1
  74. package/esm2015/lib/measure/measure.state.js +1 -1
  75. package/esm2015/lib/measure/measurer-tool/measurer-tool.component.js +1 -1
  76. package/esm2015/lib/measure/measurer-tool/measurer-tool.module.js +1 -1
  77. package/esm2015/lib/print/index.js +1 -1
  78. package/esm2015/lib/print/print-tool/index.js +1 -1
  79. package/esm2015/lib/print/print-tool/print-tool.component.js +1 -1
  80. package/esm2015/lib/print/print.module.js +1 -1
  81. package/esm2015/lib/search/index.js +1 -1
  82. package/esm2015/lib/search/query.state.js +1 -1
  83. package/esm2015/lib/search/search-bar/search-bar-binding.directive.js +1 -1
  84. package/esm2015/lib/search/search-bar/search-bar.module.js +1 -1
  85. package/esm2015/lib/search/search-results-tool/search-results-tool.component.js +1 -1
  86. package/esm2015/lib/search/search-results-tool/search-results-tool.module.js +1 -1
  87. package/esm2015/lib/search/search.module.js +1 -1
  88. package/esm2015/lib/search/search.state.js +1 -1
  89. package/esm2015/lib/storage/index.js +1 -1
  90. package/esm2015/lib/storage/storage.module.js +1 -1
  91. package/esm2015/lib/storage/storage.state.js +1 -1
  92. package/esm2015/lib/tool/index.js +1 -1
  93. package/esm2015/lib/tool/tool.module.js +1 -1
  94. package/esm2015/lib/tool/tool.state.js +1 -1
  95. package/esm2015/lib/workspace/index.js +1 -1
  96. package/esm2015/lib/workspace/shared/edition-actions.service.js +1 -1
  97. package/esm2015/lib/workspace/shared/feature-actions.service.js +1 -1
  98. package/esm2015/lib/workspace/shared/index.js +1 -1
  99. package/esm2015/lib/workspace/shared/wfs-actions.service.js +1 -1
  100. package/esm2015/lib/workspace/shared/workspace.utils.js +1 -1
  101. package/esm2015/lib/workspace/workspace-button/index.js +1 -1
  102. package/esm2015/lib/workspace/workspace-button/workspace-button.component.js +1 -1
  103. package/esm2015/lib/workspace/workspace.module.js +1 -1
  104. package/esm2015/lib/workspace/workspace.state.js +1 -1
  105. package/esm2015/public_api.js +1 -1
  106. package/fesm2015/igo2-integration.js +33 -31
  107. package/fesm2015/igo2-integration.js.map +1 -1
  108. package/lib/filter/spatial-filter-tool/spatial-filter-tool.component.d.ts +2 -0
  109. package/lib/map/map.state.d.ts +3 -2
  110. package/ngcc.config.js +3 -3
  111. package/package.json +3 -3
@@ -529,10 +529,11 @@
529
529
  */
530
530
  var MapState = /** @class */ (function () {
531
531
  function MapState(mapService, projectionService, // Don't remove this or it'll never be injected,
532
- storageService) {
532
+ storageService, configService) {
533
533
  this.mapService = mapService;
534
534
  this.projectionService = projectionService;
535
535
  this.storageService = storageService;
536
+ this.configService = configService;
536
537
  this._map = new i1$1.IgoMap({
537
538
  controls: {
538
539
  scaleLine: true,
@@ -540,7 +541,7 @@
540
541
  collapsed: true
541
542
  }
542
543
  }
543
- }, this.storageService);
544
+ }, this.storageService, this.configService);
544
545
  this.mapService.setMap(this.map);
545
546
  }
546
547
  Object.defineProperty(MapState.prototype, "showAllLegendsValue", {
@@ -564,7 +565,7 @@
564
565
  });
565
566
  return MapState;
566
567
  }());
567
- MapState.ɵfac = function MapState_Factory(t) { return new (t || MapState)(i0__namespace.ɵɵinject(i1__namespace$1.MapService), i0__namespace.ɵɵinject(i1__namespace$1.ProjectionService), i0__namespace.ɵɵinject(i2__namespace.StorageService)); };
568
+ MapState.ɵfac = function MapState_Factory(t) { return new (t || MapState)(i0__namespace.ɵɵinject(i1__namespace$1.MapService), i0__namespace.ɵɵinject(i1__namespace$1.ProjectionService), i0__namespace.ɵɵinject(i2__namespace.StorageService), i0__namespace.ɵɵinject(i2__namespace.ConfigService)); };
568
569
  MapState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: MapState, factory: MapState.ɵfac, providedIn: 'root' });
569
570
  (function () {
570
571
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MapState, [{
@@ -572,7 +573,7 @@
572
573
  args: [{
573
574
  providedIn: 'root'
574
575
  }]
575
- }], function () { return [{ type: i1__namespace$1.MapService }, { type: i1__namespace$1.ProjectionService }, { type: i2__namespace.StorageService }]; }, null);
576
+ }], function () { return [{ type: i1__namespace$1.MapService }, { type: i1__namespace$1.ProjectionService }, { type: i2__namespace.StorageService }, { type: i2__namespace.ConfigService }]; }, null);
576
577
  })();
577
578
 
578
579
  exports.ContextManagerToolComponent = /** @class */ (function () {
@@ -6830,6 +6831,32 @@
6830
6831
  }
6831
6832
  finally { if (e_7) throw e_7.error; }
6832
6833
  }
6834
+ this_1.defaultStyle = function (_feature, resolution) {
6835
+ var coordinates = features[0].coordinates;
6836
+ return new olstyle__namespace.Style({
6837
+ image: new olstyle__namespace.Circle({
6838
+ radius: coordinates
6839
+ ? _this.buffer /
6840
+ Math.cos((Math.PI / 180) * coordinates[1]) /
6841
+ resolution
6842
+ : undefined,
6843
+ fill: new olstyle__namespace.Fill({
6844
+ color: 'rgba(200, 200, 20, 0.2)'
6845
+ }),
6846
+ stroke: new olstyle__namespace.Stroke({
6847
+ width: 1,
6848
+ color: 'orange'
6849
+ })
6850
+ }),
6851
+ stroke: new olstyle__namespace.Stroke({
6852
+ width: 1,
6853
+ color: 'orange'
6854
+ }),
6855
+ fill: new olstyle__namespace.Fill({
6856
+ color: 'rgba(200, 200, 20, 0.2)'
6857
+ })
6858
+ });
6859
+ };
6833
6860
  this_1.dataSourceService
6834
6861
  .createAsyncDataSource({
6835
6862
  type: 'vector',
@@ -6847,33 +6874,7 @@
6847
6874
  : undefined
6848
6875
  },
6849
6876
  source: dataSource,
6850
- visible: true,
6851
- style: function (_feature, resolution) {
6852
- var coordinates = features[0].coordinates;
6853
- return new olstyle__namespace.Style({
6854
- image: new olstyle__namespace.Circle({
6855
- radius: coordinates
6856
- ? _this.buffer /
6857
- Math.cos((Math.PI / 180) * coordinates[1]) /
6858
- resolution
6859
- : undefined,
6860
- fill: new olstyle__namespace.Fill({
6861
- color: 'rgba(200, 200, 20, 0.2)'
6862
- }),
6863
- stroke: new olstyle__namespace.Stroke({
6864
- width: 1,
6865
- color: 'orange'
6866
- })
6867
- }),
6868
- stroke: new olstyle__namespace.Stroke({
6869
- width: 1,
6870
- color: 'orange'
6871
- }),
6872
- fill: new olstyle__namespace.Fill({
6873
- color: 'rgba(200, 200, 20, 0.2)'
6874
- })
6875
- });
6876
- }
6877
+ visible: true
6877
6878
  });
6878
6879
  var featuresOl = features.map(function (f) {
6879
6880
  return i1$1.featureToOl(f, _this.map.projection);
@@ -6885,6 +6886,7 @@
6885
6886
  }
6886
6887
  var ol = dataSource.ol;
6887
6888
  ol.addFeatures(featuresOl);
6889
+ olLayer.ol.setStyle(_this.defaultStyle);
6888
6890
  _this.map.addLayer(olLayer);
6889
6891
  _this.layers.push(olLayer);
6890
6892
  _this.activeLayers.push(olLayer);