Deze functionaliteit laat toe om de geometrie van de zone automatisch te verleggen op naburige grenzen van een referentielaag. Door de 'relevante afstand'-schuifbalk te verplaatsen, zal de geometrie van de zone zich automatisch aanpassen. Contacteer je GIS beheerder indien de gewenste geometrie niet bekomen kan worden via deze tool.
\ No newline at end of file
+
Vergelijk zone met referentielaag
Deze functionaliteit laat toe om de geometrie van de zone automatisch te verleggen op naburige grenzen van een referentielaag. Door de 'relevante afstand'-schuifbalk te verplaatsen, zal de geometrie van de zone zich automatisch aanpassen. Contacteer je GIS beheerder indien de gewenste geometrie niet bekomen kan worden via deze tool.
\ No newline at end of file
diff --git a/dist/commonjs/zoneerder/components/zone-vergelijking-dialog.js b/dist/commonjs/zoneerder/components/zone-vergelijking-dialog.js
index 00d52da4..0da72a09 100644
--- a/dist/commonjs/zoneerder/components/zone-vergelijking-dialog.js
+++ b/dist/commonjs/zoneerder/components/zone-vergelijking-dialog.js
@@ -1,9 +1,21 @@
"use strict";
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
+};
+var __metadata = (this && this.__metadata) || function (k, v) {
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
+};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ZoneVergelijkingDialog = void 0;
+var aurelia_framework_1 = require("aurelia-framework");
+var aurelia_dialog_1 = require("aurelia-dialog");
var layerConfig_referentielaag_1 = require("../models/layerConfig.referentielaag");
var ZoneVergelijkingDialog = (function () {
- function ZoneVergelijkingDialog() {
+ function ZoneVergelijkingDialog(controller) {
+ this.controller = controller;
this.layerConfig = layerConfig_referentielaag_1.refentielaagLayerConfig;
}
ZoneVergelijkingDialog.prototype.activate = function (model) {
@@ -18,6 +30,13 @@ var ZoneVergelijkingDialog = (function () {
};
this.alignGrb = model.alignGrb;
};
+ ZoneVergelijkingDialog.prototype.neemResultaatOverVanZone = function () {
+ this.controller.ok(this.resultaat);
+ };
+ ZoneVergelijkingDialog = __decorate([
+ aurelia_framework_1.autoinject,
+ __metadata("design:paramtypes", [aurelia_dialog_1.DialogController])
+ ], ZoneVergelijkingDialog);
return ZoneVergelijkingDialog;
}());
exports.ZoneVergelijkingDialog = ZoneVergelijkingDialog;
diff --git a/dist/commonjs/zoneerder/components/zone-vergelijking-dialog.js.map b/dist/commonjs/zoneerder/components/zone-vergelijking-dialog.js.map
index 343e17c7..bcc84268 100644
--- a/dist/commonjs/zoneerder/components/zone-vergelijking-dialog.js.map
+++ b/dist/commonjs/zoneerder/components/zone-vergelijking-dialog.js.map
@@ -1 +1 @@
-{"version":3,"sources":["zoneerder/components/zone-vergelijking-dialog.ts"],"names":[],"mappings":";;;AAEA,mFAA+E;AAE/E;IAAA;QAGE,gBAAW,GAAG,oDAAuB,CAAC;IAexC,CAAC;IAZC,yCAAQ,GAAR,UAAS,KAAmK;QAC1K,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;QACvB,IAAI,CAAC,YAAY,GAAG;YAClB,cAAc,EAAE,IAAI;YACpB,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,IAAI;SAChB,CAAC;QACF,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;IACjC,CAAC;IACH,6BAAC;AAAD,CAlBA,AAkBC,IAAA;AAlBY,wDAAsB","file":"zone-vergelijking-dialog.js","sourceRoot":"../../../../src/"}
\ No newline at end of file
+{"version":3,"sources":["zoneerder/components/zone-vergelijking-dialog.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAA+C;AAC/C,iDAAkD;AAGlD,mFAA+E;AAI/E;IAOE,gCAAmB,UAA4B;QAA5B,eAAU,GAAV,UAAU,CAAkB;QAJ/C,gBAAW,GAAG,oDAAuB,CAAC;IAIa,CAAC;IAEpD,yCAAQ,GAAR,UAAS,KAAmK;QAC1K,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;QACvB,IAAI,CAAC,YAAY,GAAG;YAClB,cAAc,EAAE,IAAI;YACpB,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,IAAI;SAChB,CAAC;QACF,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;IACjC,CAAC;IAED,yDAAwB,GAAxB;QACE,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC;IAxBU,sBAAsB;QADlC,8BAAU;yCAQsB,iCAAgB;OAPpC,sBAAsB,CAyBlC;IAAD,6BAAC;CA1BD,AA0BC,IAAA;AAzBY,wDAAsB","file":"zone-vergelijking-dialog.js","sourceRoot":"../../../../src/"}
\ No newline at end of file
diff --git a/dist/native-modules/zoneerder/components/ol-map.d.ts b/dist/native-modules/zoneerder/components/ol-map.d.ts
index c2daa124..27f243e7 100644
--- a/dist/native-modules/zoneerder/components/ol-map.d.ts
+++ b/dist/native-modules/zoneerder/components/ol-map.d.ts
@@ -46,4 +46,5 @@ export declare class OlMap extends BaseMap {
private _createInteractions;
private _createDrawLayer;
showZoneVergelijkingDialog(): void;
+ private createMultiPolygon;
}
diff --git a/dist/native-modules/zoneerder/components/ol-map.js b/dist/native-modules/zoneerder/components/ol-map.js
index 8e00353a..0d2eb0c0 100644
--- a/dist/native-modules/zoneerder/components/ol-map.js
+++ b/dist/native-modules/zoneerder/components/ol-map.js
@@ -303,14 +303,29 @@ var OlMap = (function (_super) {
this.map.addLayer(this.drawLayer);
};
OlMap.prototype.showZoneVergelijkingDialog = function () {
+ var _this = this;
void this.dialogService.open({
viewModel: PLATFORM.moduleName('oerelia/zoneerder/components/zone-vergelijking-dialog'),
model: { zone: this.zone, alignGrb: this.alignGrb }
}).whenClosed(function (response) {
if (!response.wasCancelled) {
- var data = response.output.data;
+ var geom = response.output;
+ var multiPolygon = _this.createMultiPolygon(geom['geometries'] || [geom]);
+ var contour = _this.formatGeoJson(multiPolygon);
+ _this.zone = contour;
+ }
+ });
+ };
+ OlMap.prototype.createMultiPolygon = function (geometries) {
+ var _this = this;
+ var multiPolygon = new ol.geom.MultiPolygon([]);
+ geometries.forEach(function (geom) {
+ if (geom.type === 'Polygon' || geom.type === 'MultiPolygon') {
+ var polygon = _this.geoJsonFormatter.readGeometry(geom);
+ multiPolygon.appendPolygon(polygon);
}
});
+ return multiPolygon;
};
__decorate([
bindable,
diff --git a/dist/native-modules/zoneerder/components/ol-map.js.map b/dist/native-modules/zoneerder/components/ol-map.js.map
index ae949226..023d6e0d 100644
--- a/dist/native-modules/zoneerder/components/ol-map.js.map
+++ b/dist/native-modules/zoneerder/components/ol-map.js.map
@@ -1 +1 @@
-{"version":3,"sources":["zoneerder/components/ol-map.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAuD,MAAM,mBAAmB,CAAC;AACjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAE9D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C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gBAAgB,CAAC,YAAY,CAAC,IAAI,CAAoB,CAAC;gBAC5E,YAAY,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YACtC,CAAC;QACH,CAAC,CAAC,CAAC;QAEH,OAAO,YAAY,CAAC;IACtB,CAAC;IA3UgB;QAAhB,QAAQ;;2CAA0B;IAC0B;QAA5D,QAAQ,CAAC,EAAE,kBAAkB,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC;kCAAc,OAAO;uCAAC;IAC1D;QAAhB,QAAQ;;8CAAgC;IACxB;QAAhB,QAAQ;;8CAA6B;IACrB;QAAhB,QAAQ;;gDAA+C;IACvC;QAAhB,QAAQ;;8CAA4B;IACpB;QAAhB,QAAQ;;2CAAkJ;IASzI;QAAjB,QAAQ;kCAAqB,uBAAuB;6CAAC;IAhB3C,KAAK;QADjB,UAAU;yCA0BU,OAAO;YACH,WAAW;YACT,aAAa;OA3B3B,KAAK,CA6UjB;IAAD,YAAC;CA9UD,AA8UC,CA7U0B,OAAO,GA6UjC;SA7UY,KAAK","file":"ol-map.js","sourceRoot":"../../../../src/"}
\ No newline at end of file
diff --git a/dist/native-modules/zoneerder/components/referentielaag-map.d.ts b/dist/native-modules/zoneerder/components/referentielaag-map.d.ts
index 6e40e45f..d3454ab9 100644
--- a/dist/native-modules/zoneerder/components/referentielaag-map.d.ts
+++ b/dist/native-modules/zoneerder/components/referentielaag-map.d.ts
@@ -5,6 +5,7 @@ import { type Geometry } from 'geojson';
export declare class ReferentieLaagMap extends BaseMap {
zone: Contour;
alignGrb: (contour: Contour, referentielaagType: ReferentielaagEnum, openbaardomeinStrategy: StrategieEnum) => Promise;
+ resultaat: Geometry;
private resultLayer;
private verschilPlusLayer;
private verschilMinLayer;
diff --git a/dist/native-modules/zoneerder/components/referentielaag-map.js b/dist/native-modules/zoneerder/components/referentielaag-map.js
index 7896832d..633e01e9 100644
--- a/dist/native-modules/zoneerder/components/referentielaag-map.js
+++ b/dist/native-modules/zoneerder/components/referentielaag-map.js
@@ -107,6 +107,7 @@ var ReferentieLaagMap = (function (_super) {
this.zoomToExtent(this.geoJsonFormatter.readGeometry(this.zone).getExtent());
return;
}
+ this.resultaat = results['result'];
this.resultLayer = this.createResultLayer(results['result']);
this.verschilPlusLayer = this.createVerschilPlusLayer(results['result_diff_plus']);
this.verschilMinLayer = this.createVerschilMinLayer(results['result_diff_min']);
@@ -120,6 +121,10 @@ var ReferentieLaagMap = (function (_super) {
bindable,
__metadata("design:type", Function)
], ReferentieLaagMap.prototype, "alignGrb", void 0);
+ __decorate([
+ bindable,
+ __metadata("design:type", Object)
+ ], ReferentieLaagMap.prototype, "resultaat", void 0);
return ReferentieLaagMap;
}(BaseMap));
export { ReferentieLaagMap };
diff --git a/dist/native-modules/zoneerder/components/referentielaag-map.js.map b/dist/native-modules/zoneerder/components/referentielaag-map.js.map
index 7c2a0b88..4015e6d3 100644
--- a/dist/native-modules/zoneerder/components/referentielaag-map.js.map
+++ b/dist/native-modules/zoneerder/components/referentielaag-map.js.map
@@ -1 +1 @@
-{"version":3,"sources":["zoneerder/components/referentielaag-map.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,OAAO,EAAuD,MAAM,mBAAmB,CAAC;AACjG,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAGxD;IAAuC,qCAAO;IAQ5C;QACE,YAAA,MAAK,WAAE,SAAA;QACP,KAAI,CAAC,kBAAkB,EAAE,CAAC;;IAC5B,CAAC;IAED,oCAAQ,GAAR;QACE,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACzB,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,IAAM,UAAU,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE;YAC5C,IAAI,E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,CAAC,CAAC;QAC7D,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;QACnF,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;QAChF,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC;IACvF,CAAC;IA9FS;QAAT,QAAQ;kCAAO,OAAO;mDAAC;IACd;QAAT,QAAQ;;uDAA0I;IA8FrJ,wBAAC;CAhGD,AAgGC,CAhGsC,OAAO,GAgG7C;SAhGY,iBAAiB","file":"referentielaag-map.js","sourceRoot":"../../../../src/"}
\ No newline at end of file
+{"version":3,"sources":["zoneerder/components/referentielaag-map.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,OAAO,EAAuD,MAAM,mBAAmB,CAAC;AACjG,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAGxD;IAAuC,qCAAO;IAS5C;QACE,YAAA,MAAK,WAAE,SAAA;QACP,KAAI,CAAC,kBAAkB,EAAE,CAAC;;IAC5B,CAAC;IAED,oCAAQ,GAAR;QACE,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACzB,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,IAAM,UAAU,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE;YAC5C,IAAI,EAAE,SAAS,CAAC,MAAM;YACtB,KAAK,EAAE,kBAAkB;YACzB,KAAK,EAAE;gBACL,MAAM,EAAE,mBAAmB;gBAC3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B,GAAG,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;QACnF,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;QAChF,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC;IACvF,CAAC;IAhGS;QAAT,QAAQ;kCAAO,OAAO;mDAAC;IACd;QAAT,QAAQ;;uDAA0I;IACzI;QAAT,QAAQ;;wDAAqB;IA+FhC,wBAAC;CAlGD,AAkGC,CAlGsC,OAAO,GAkG7C;SAlGY,iBAAiB","file":"referentielaag-map.js","sourceRoot":"../../../../src/"}
\ No newline at end of file
diff --git a/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.d.ts b/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.d.ts
index 9ce92a4e..1f04e04d 100644
--- a/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.d.ts
+++ b/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.d.ts
@@ -1,12 +1,18 @@
+import { DialogController } from 'aurelia-dialog';
import { Contour, IAlignerResponse, ReferentielaagEnum, StrategieEnum } from '../models/contour';
import { ButtonConfig } from '../models/buttonConfig';
+import { type Geometry } from 'geojson';
export declare class ZoneVergelijkingDialog {
+ controller: DialogController;
zone: Contour;
buttonConfig: ButtonConfig;
layerConfig: import("exports").LayerConfig;
alignGrb: (contour: Contour, referentielaagType: ReferentielaagEnum, openbaardomeinStrategy: StrategieEnum) => Promise;
+ resultaat: Geometry;
+ constructor(controller: DialogController);
activate(model: {
zone: Contour;
alignGrb: (contour: Contour, referentielaagType: ReferentielaagEnum, openbaardomeinStrategy: StrategieEnum) => Promise;
}): void;
+ neemResultaatOverVanZone(): void;
}
diff --git a/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.html b/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.html
index 9615fc03..94518512 100644
--- a/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.html
+++ b/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.html
@@ -1 +1 @@
-
Vergelijk zone met referentielaag
Deze functionaliteit laat toe om de geometrie van de zone automatisch te verleggen op naburige grenzen van een referentielaag. Door de 'relevante afstand'-schuifbalk te verplaatsen, zal de geometrie van de zone zich automatisch aanpassen. Contacteer je GIS beheerder indien de gewenste geometrie niet bekomen kan worden via deze tool.
\ No newline at end of file
+
Vergelijk zone met referentielaag
Deze functionaliteit laat toe om de geometrie van de zone automatisch te verleggen op naburige grenzen van een referentielaag. Door de 'relevante afstand'-schuifbalk te verplaatsen, zal de geometrie van de zone zich automatisch aanpassen. Contacteer je GIS beheerder indien de gewenste geometrie niet bekomen kan worden via deze tool.
\ No newline at end of file
diff --git a/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.js b/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.js
index 214d1a13..906b0027 100644
--- a/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.js
+++ b/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.js
@@ -1,6 +1,18 @@
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
+};
+var __metadata = (this && this.__metadata) || function (k, v) {
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
+};
+import { autoinject } from 'aurelia-framework';
+import { DialogController } from 'aurelia-dialog';
import { refentielaagLayerConfig } from '../models/layerConfig.referentielaag';
var ZoneVergelijkingDialog = (function () {
- function ZoneVergelijkingDialog() {
+ function ZoneVergelijkingDialog(controller) {
+ this.controller = controller;
this.layerConfig = refentielaagLayerConfig;
}
ZoneVergelijkingDialog.prototype.activate = function (model) {
@@ -15,6 +27,13 @@ var ZoneVergelijkingDialog = (function () {
};
this.alignGrb = model.alignGrb;
};
+ ZoneVergelijkingDialog.prototype.neemResultaatOverVanZone = function () {
+ this.controller.ok(this.resultaat);
+ };
+ ZoneVergelijkingDialog = __decorate([
+ autoinject,
+ __metadata("design:paramtypes", [DialogController])
+ ], ZoneVergelijkingDialog);
return ZoneVergelijkingDialog;
}());
export { ZoneVergelijkingDialog };
diff --git a/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.js.map b/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.js.map
index feb23014..a7d434a2 100644
--- a/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.js.map
+++ b/dist/native-modules/zoneerder/components/zone-vergelijking-dialog.js.map
@@ -1 +1 @@
-{"version":3,"sources":["zoneerder/components/zone-vergelijking-dialog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAE/E;IAAA;QAGE,gBAAW,GAAG,uBAAuB,CAAC;IAexC,CAAC;IAZC,yCAAQ,GAAR,UAAS,KAAmK;QAC1K,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;QACvB,IAAI,CAAC,YAAY,GAAG;YAClB,cAAc,EAAE,IAAI;YACpB,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,IAAI;SAChB,CAAC;QACF,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;IACjC,CAAC;IACH,6BAAC;AAAD,CAlBA,AAkBC,IAAA","file":"zone-vergelijking-dialog.js","sourceRoot":"../../../../src/"}
\ No newline at end of file
+{"version":3,"sources":["zoneerder/components/zone-vergelijking-dialog.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGlD,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAI/E;IAOE,gCAAmB,UAA4B;QAA5B,eAAU,GAAV,UAAU,CAAkB;QAJ/C,gBAAW,GAAG,uBAAuB,CAAC;IAIa,CAAC;IAEpD,yCAAQ,GAAR,UAAS,KAAmK;QAC1K,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;QACvB,IAAI,CAAC,YAAY,GAAG;YAClB,cAAc,EAAE,IAAI;YACpB,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,IAAI;SAChB,CAAC;QACF,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;IACjC,CAAC;IAED,yDAAwB,GAAxB;QACE,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC;IAxBU,sBAAsB;QADlC,UAAU;yCAQsB,gBAAgB;OAPpC,sBAAsB,CAyBlC;IAAD,6BAAC;CA1BD,AA0BC,IAAA;SAzBY,sBAAsB","file":"zone-vergelijking-dialog.js","sourceRoot":"../../../../src/"}
\ No newline at end of file
diff --git a/src/zoneerder/components/ol-map.ts b/src/zoneerder/components/ol-map.ts
index 14eb3a21..a64ce8ca 100644
--- a/src/zoneerder/components/ol-map.ts
+++ b/src/zoneerder/components/ol-map.ts
@@ -8,6 +8,7 @@ import { LayerType } from '../models/layerConfig.enums';
import { DialogService } from 'aurelia-dialog';
import { BaseMap } from './base-map';
import { bindingMode } from 'aurelia-binding';
+import { type Geometry } from 'geojson'
const log = LogManager.getLogger('ol-map');
@@ -325,8 +326,24 @@ export class OlMap extends BaseMap {
model: { zone: this.zone, alignGrb: this.alignGrb }
}).whenClosed((response) => {
if (!response.wasCancelled) {
- const data = response.output.data;
+ const geom = response.output as Geometry;
+ const multiPolygon = this.createMultiPolygon(geom['geometries'] || [geom]);
+ const contour = this.formatGeoJson(multiPolygon);
+ this.zone = contour;
}
});
}
+
+ private createMultiPolygon(geometries: Geometry[]) {
+ const multiPolygon = new ol.geom.MultiPolygon([]);
+
+ geometries.forEach((geom: Geometry) => {
+ if (geom.type === 'Polygon' || geom.type === 'MultiPolygon') {
+ const polygon = this.geoJsonFormatter.readGeometry(geom) as ol.geom.Polygon;
+ multiPolygon.appendPolygon(polygon);
+ }
+ });
+
+ return multiPolygon;
+ }
}
diff --git a/src/zoneerder/components/referentielaag-map.ts b/src/zoneerder/components/referentielaag-map.ts
index 459e5cf3..98a355b1 100644
--- a/src/zoneerder/components/referentielaag-map.ts
+++ b/src/zoneerder/components/referentielaag-map.ts
@@ -8,7 +8,8 @@ import { type Geometry } from 'geojson'
export class ReferentieLaagMap extends BaseMap {
@bindable zone: Contour;
@bindable alignGrb: (contour: Contour, referentielaagType: ReferentielaagEnum, openbaardomeinStrategy: StrategieEnum) => Promise;
-
+ @bindable resultaat: Geometry;
+
private resultLayer: ol.layer.Layer;
private verschilPlusLayer: ol.layer.Layer;
private verschilMinLayer: ol.layer.Layer;
@@ -96,6 +97,7 @@ export class ReferentieLaagMap extends BaseMap {
this.zoomToExtent(this.geoJsonFormatter.readGeometry(this.zone).getExtent());
return;
}
+ this.resultaat = results['result'];
this.resultLayer = this.createResultLayer(results['result']);
this.verschilPlusLayer = this.createVerschilPlusLayer(results['result_diff_plus']);
this.verschilMinLayer = this.createVerschilMinLayer(results['result_diff_min']);
diff --git a/src/zoneerder/components/zone-vergelijking-dialog.html b/src/zoneerder/components/zone-vergelijking-dialog.html
index 1b827a20..4ab8b630 100644
--- a/src/zoneerder/components/zone-vergelijking-dialog.html
+++ b/src/zoneerder/components/zone-vergelijking-dialog.html
@@ -15,8 +15,12 @@
zone zich automatisch aanpassen. Contacteer je GIS beheerder indien de gewenste geometrie niet bekomen kan
worden via deze tool.