@regionerne/gis-komponent 0.0.100 → 0.0.101

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.
@@ -2842,7 +2842,6 @@ class GeometrySearchService extends SearchProviderBase {
2842
2842
  return intersects(layer.geometryField, searchValue);
2843
2843
  }
2844
2844
  map(l, f) {
2845
- console.log("🚀 ~ GeometrySearchService ~ map ~ l:", l);
2846
2845
  const fc = f;
2847
2846
  return {
2848
2847
  title: l.name,
@@ -3162,7 +3161,6 @@ class ToolboxComponent {
3162
3161
  this.drawInteraction.on('drawend', (evt) => {
3163
3162
  this._geometrySearchService.search(evt.feature.getGeometry(), this.profile.searchResultLimit).subscribe({
3164
3163
  next: result => {
3165
- console.log("🚀 ~ ToolboxComponent ~ _enablePolygonSearch ~ result:", result);
3166
3164
  this.geometrySearchResult = result.filter(result => result.total > 0);
3167
3165
  }
3168
3166
  });
@@ -4206,6 +4204,7 @@ class ToolboxComponent {
4206
4204
  ngOnInit() {
4207
4205
  this._originalMapHeight = this.map.getSize()[1];
4208
4206
  this._originalMapWidth = this.map.getSize()[0];
4207
+ this.bufferInMeters = this.settings.defaultBufferInMeters ?? 0.2;
4209
4208
  this._layoutService.mapResizedSubject.subscribe(async (mapResized) => {
4210
4209
  //Map resized, make sure it stays in viewport
4211
4210
  this.dragPosition = await this._layoutService.keepWidgetInViewPort(this.dragPosition, this._POSITION_STORAGE_KEY, WidgetConstants.toolboxHeight, WidgetConstants.toolboxWidth, this.mapHeight, this.mapWidth);
@@ -5803,7 +5802,6 @@ class GisKomponentComponent {
5803
5802
  profileSelected(profileIdentifier) {
5804
5803
  this._profileService.getByIdentifier(profileIdentifier).subscribe({
5805
5804
  next: profile => {
5806
- console.log("🚀 ~ GisKomponentComponent ~ profileSelected ~ profile:", profile);
5807
5805
  this._currentItems.profile = profile;
5808
5806
  this.toolbarCollapsed = profile.toolbarCollapsed;
5809
5807
  this.selectedProfile = profile;
@@ -5819,7 +5817,6 @@ class GisKomponentComponent {
5819
5817
  this.currentZoomLevel = profile.zoom ?? 8;
5820
5818
  this._getCapabilitiesObject(profile).subscribe({
5821
5819
  next: capabilityObject => {
5822
- console.log("🚀 ~ GisKomponentComponent ~ profileSelected ~ capabilityObject:", capabilityObject);
5823
5820
  let allLayergroups = [...profile.layerGroups];
5824
5821
  if (profile.fastSwitchLayerGroup) {
5825
5822
  const mappedFastSwitchGroup = { ...profile.fastSwitchLayerGroup, sortOrder: -1, fastSwitchLayerGroup: true };