diff --git a/dist/commonjs/adres-crab/adres-crab.js.map b/dist/commonjs/adres-crab/adres-crab.js.map index cea61c23..9d3c31fc 100644 --- a/dist/commonjs/adres-crab/adres-crab.js.map +++ b/dist/commonjs/adres-crab/adres-crab.js.map @@ -1 +1 @@ -{"version":3,"sources":["adres-crab/adres-crab.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAqD;AACrD,yDAAwG;AACxG,mHAAgH;AAChH,mFAA6E;AAC7E,8EAA4E;AAE5E,iCAAgC;AAChC,wDAAuD;AAKvD;IAkBE,mBACS,UAAgC,EAC/B,iBAA8C,EAC9C,oBAA0C;QAHpD,iBAqBC;QApBQ,eAAU,GAAV,UAAU,CAAsB;QAC/B,sBAAiB,GAAjB,iBAAiB,CAA6B;QAC9C,yBAAoB,GAApB,oBAAoB,CAAsB;QAlBnC,WAAM,GAAqB;YAC1C,QAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,gBAAgB,EAAE,oCAAgB,CAAC,IAAI,EAAE;YACrE,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,gBAAgB,EAAE,oCAAgB,CAAC,IAAI,EAAE;YACnE,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,gBAAgB,EAAE,oCAAgB,CAAC,IAAI,EAAE;YACvE,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,gBAAgB,EAAE,oCAAgB,CAAC,OAAO,EAAE;SAC3E,CAAC;QAEQ,kBAAa,GAAG,KAAK,CAAC;QAEzB,WAAM,GAAY,EAAE,CAAC;QAEpB,8BAAyB,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QAC1E,YAAO,GAAQ,EAAE,CAAC;QAClB,cAAS,GAAY,KAAK,CAAC;QAOjC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,iBAAiB,CAAC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,EAAE,IAAI,EAAE,CAAC,EAA/D,CAA+D,CAAC,CAAC;IACrF,CAAC;IAEO,8BAAU,GAAlB;QACE,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;IACnG,CAAC;IAEO,mCAAe,GAAvB,UAAwB,CAAmB,EAAE,CAAmB;QAC9D,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IAEO,sCAAkB,GAA1B,UAA2B,SAAS;QAClC,OAAO,IAAI,CAAC,yBAAyB,CAAC,QAAQ,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACpE,CAAC;IAnQgB;QAAhB,4BAAQ;;+CAA0B;IAClB;QAAhB,4BAAQ;;2CAAyB;IACjB;QAAhB,4BAAQ;;6CAKP;IACQ;QAAT,4BAAQ;;kDAAyB;IACxB;QAAT,4BAAQ;;oDAAuB;IAVrB,SAAS;QADrB,IAAA,0BAAM,EAAC,yCAAoB,EAAE,gDAA2B,EAAE,gDAAoB,CAAC;yCAoBzD,yCAAoB;YACZ,gDAA2B;YACxB,gDAAoB;OArBzC,SAAS,CAqQrB;IAAD,gBAAC;CAtQD,AAsQC,IAAA;AArQY,8BAAS","file":"adres-crab.js","sourceRoot":"../../../src/"} \ No newline at end of file diff --git a/dist/commonjs/services/adresregister.api-service.js b/dist/commonjs/services/adresregister.api-service.js index 6261f0f7..92cab691 100644 --- a/dist/commonjs/services/adresregister.api-service.js +++ b/dist/commonjs/services/adresregister.api-service.js @@ -180,32 +180,32 @@ var AdresregisterService = (function () { }); }; AdresregisterService.prototype.getGemeentenPerGewest = function (niscode) { - return this.crabGet("adressenregister/gewesten/".concat(niscode, "/gemeenten")); + return this.crabGet("adressenregister/gewesten/".concat(niscode, "/gemeenten"), { status: 'inGebruik' }); }; AdresregisterService.prototype.getGemeentenByProvincie = function (provincie) { - return this.crabGet("adressenregister/provincies/".concat(provincie, "/gemeenten")); + return this.crabGet("adressenregister/provincies/".concat(provincie, "/gemeenten"), { status: 'inGebruik' }); }; AdresregisterService.prototype.getGemeenteByNiscode = function (niscode) { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { - return [2, this.crabGet("adressenregister/gemeenten/".concat(niscode))]; + return [2, this.crabGet("adressenregister/gemeenten/".concat(niscode), { status: 'inGebruik' })]; }); }); }; AdresregisterService.prototype.getDeelgemeenten = function (gemeente) { - return this.crabGet("adressenregister/gemeenten/".concat(gemeente, "/deelgemeenten")); + return this.crabGet("adressenregister/gemeenten/".concat(gemeente, "/deelgemeenten"), { status: 'inGebruik' }); }; AdresregisterService.prototype.getPostinfo = function (gemeente) { return this.crabGet("adressenregister/gemeenten/".concat(gemeente, "/postinfo")); }; AdresregisterService.prototype.getStraten = function (gemeente) { - return this.crabGet("adressenregister/gemeenten/".concat(gemeente, "/straten")); + return this.crabGet("adressenregister/gemeenten/".concat(gemeente, "/straten"), { status: 'inGebruik' }); }; AdresregisterService.prototype.getAdressen = function (straat, huisnummer) { if (huisnummer) { - return this.crabGet("adressenregister/straten/".concat(straat, "/huisnummers/").concat(huisnummer)); + return this.crabGet("adressenregister/straten/".concat(straat, "/huisnummers/").concat(huisnummer), { status: 'inGebruik' }); } - return this.crabGet("adressenregister/straten/".concat(straat, "/adressen")); + return this.crabGet("adressenregister/straten/".concat(straat, "/adressen"), { status: 'inGebruik' }); }; AdresregisterService.prototype.suggestLocatie = function (value) { return __awaiter(this, void 0, void 0, function () { @@ -220,12 +220,13 @@ var AdresregisterService = (function () { AdresregisterService.prototype.geolocate = function (value) { return this.crabGet('geolocation/' + value); }; - AdresregisterService.prototype.crabGet = function (endpoint) { - return __awaiter(this, void 0, void 0, function () { + AdresregisterService.prototype.crabGet = function (endpoint_1) { + return __awaiter(this, arguments, void 0, function (endpoint, params) { var response; + if (params === void 0) { params = {}; } return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4, this.http.get(endpoint)]; + case 0: return [4, this.http.get(endpoint, params)]; case 1: response = _a.sent(); if (response.isSuccess) { diff --git a/dist/commonjs/services/adresregister.api-service.js.map b/dist/commonjs/services/adresregister.api-service.js.map index e5b52eb4..176846c5 100644 --- a/dist/commonjs/services/adresregister.api-service.js.map +++ b/dist/commonjs/services/adresregister.api-service.js.map @@ -1 +1 @@ -{"version":3,"sources":["services/adresregister.api-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAA2C;AAC3C,2DAAiD;AACjD,gEAA+D;AAC/D,oEAAmE;AACnE,iCAAgC;AAChC,sDAAgD;AAShD;IASE,8BACU,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;QATlB,WAAM,GAAY,EAAE,CAAC;QACrB,eAAU,GAAiB,EAAE,CAAC;QAC9B,cAAS,GAAgB,EAAE,CAAC;QAE5B,0BAAqB,GAAgB,EAAE,CAAC;QACxC,yBAAoB,GAAgB,EAAE,CAAC;QACvC,sBAAiB,GAAgB,EAAE,CAAC;QAK1C,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,UAAA,CAAC;YACnB,CAAC,CAAC,WAAW,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;YACrC,CAAC,CAAC,UAAU,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAC;YAC3C,CAAC,CAAC,UAAU,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;YACrC,CAAC,CAAC,eAAe,CAAC;gBAChB,OAAO,YAAC,GAAG;oBACT,WAAW,CAAC,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;oBACzC,OAAO,GAAG,CAAC;gBACb,CAAC;gBACD,aAAa,YAAC,GAAG;oBACf,IAAI,GAAG,CAAC,UAAU,KAAK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,CAAC;IAEK,6CAAc,GAApB,UAAqB,KAAa;;;gBAChC,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;oBACjB,WAAO,EAAE,EAAC;gBACZ,CAAC;gBACD,WAAO,IAAI,CAAC,OAAO,CAAC,uBAAuB,GAAG,KAAK,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,EAAC;;;KAC1E;IAEM,wCAAS,GAAhB,UAAiB,KAAa;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,cAAc,GAAG,KAAK,CAAC,CAAC;IAC9C,CAAC;IAEa,sCAAO,GAArB,UAAyB,QAAgB;;;;;4BACtB,WAAM,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAA;;wBAAxC,QAAQ,GAAG,SAA6B;wBAE9C,IAAI,QAAQ,CAAC,SAAS,EAAE,CAAC;4BACvB,WAAO,QAAQ,CAAC,OAAO,EAAC;wBAC1B,CAAC;wBACD,WAAmB,EAAE,EAAC;;;;KACvB;IAlJU,oBAAoB;QADhC,IAAA,0BAAM,EAAC,gCAAU,CAAC;yCAWD,gCAAU;OAVf,oBAAoB,CAmJhC;IAAD,2BAAC;CApJD,AAoJC,IAAA;AAnJY,oDAAoB","file":"adresregister.api-service.js","sourceRoot":"../../../src/"} \ No newline at end of file +{"version":3,"sources":["services/adresregister.api-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAA2C;AAC3C,2DAAiD;AACjD,gEAA+D;AAC/D,oEAAmE;AACnE,iCAAgC;AAChC,sDAAgD;AAUhD;IASE,8BACU,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;QATlB,WAAM,GAAY,EAAE,CAAC;QACrB,eAAU,GAAiB,EAAE,CAAC;QAC9B,cAAS,GAAgB,EAAE,CAAC;QAE5B,0BAAqB,GAAgB,EAAE,CAAC;QACxC,yBAAoB,GAAgB,EAAE,CAAC;QACvC,sBAAiB,GAA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;wBAAhD,QAAQ,GAAG,SAAqC;wBAEtD,IAAI,QAAQ,CAAC,SAAS,EAAE,CAAC;4BACvB,WAAO,QAAQ,CAAC,OAAO,EAAC;wBAC1B,CAAC;wBACD,WAAmB,EAAE,EAAC;;;;KACvB;IAlJU,oBAAoB;QADhC,IAAA,0BAAM,EAAC,gCAAU,CAAC;yCAWD,gCAAU;OAVf,oBAAoB,CAmJhC;IAAD,2BAAC;CApJD,AAoJC,IAAA;AAnJY,oDAAoB","file":"adresregister.api-service.js","sourceRoot":"../../../src/"} \ No newline at end of file diff --git a/dist/commonjs/zoneerder/components/d3.d.ts b/dist/commonjs/zoneerder/components/d3.d.ts index e5574e77..f7e6db9a 100644 --- a/dist/commonjs/zoneerder/components/d3.d.ts +++ b/dist/commonjs/zoneerder/components/d3.d.ts @@ -1,4 +1,4 @@ import { Diffs } from 'zoneerder/models/contour'; -export declare function setupD3(container: HTMLElement, data: Diffs, targetX: number): void; +export declare function setupD3(container: HTMLElement, data: Diffs, relevanteAfstanden: number[]): void; export declare function removePoint(): void; -export declare function drawNewCircle(targetX: number): void; +export declare function drawNewCircle(targetX: number, data?: any): void; diff --git a/dist/commonjs/zoneerder/components/d3.js b/dist/commonjs/zoneerder/components/d3.js index a95f014e..9170dc62 100644 --- a/dist/commonjs/zoneerder/components/d3.js +++ b/dist/commonjs/zoneerder/components/d3.js @@ -41,11 +41,10 @@ exports.removePoint = removePoint; exports.drawNewCircle = drawNewCircle; var d3 = require("d3"); var x, y, chartData = undefined; -function setupD3(container, data, targetX) { +function setupD3(container, data, relevanteAfstanden) { if (!container) { return; } - ; container.innerHTML = ''; var width = 350; var height = 200; @@ -67,7 +66,7 @@ function setupD3(container, data, targetX) { }); }); } - render_area_chart(data); + void render_area_chart(data); function render_data(data) { chartData = data; x = d3.scaleLinear() @@ -93,24 +92,8 @@ function setupD3(container, data, targetX) { svg.append("g") .attr("transform", "translate(".concat(marginLeft, ",").concat(height - marginBottom, ")")) .call(xAxis); - drawNewCircle(targetX); - var point = chartData === null || chartData === void 0 ? void 0 : chartData.find(function (d) { return d.x === targetX; }); - if (point) { - svg.append("circle") - .attr("cx", x(point.x)) - .attr("cy", y(point.y)) - .attr("r", 5) - .attr("fill", '#944EA1'); - svg.append("text") - .attr("x", x(point.x) < 50 ? x(point.x) + 10 : x(point.x) - 10) - .attr("y", y(point.y) - 5) - .attr("text-anchor", x(point.x) < 50 ? "start" : "end") - .attr("font-size", "14px") - .attr("fill", '#944EA1') - .attr("class", "circle-label") - .text(point.y + ' m²'); - } container.append(svg.node()); + drawNewCircle(relevanteAfstanden[0], chartData); } } function removePoint() { @@ -119,8 +102,9 @@ function removePoint() { var text = d3.select('svg').selectAll('text.circle-label'); text.remove(); } -function drawNewCircle(targetX) { - var point = chartData === null || chartData === void 0 ? void 0 : chartData.find(function (d) { return d.x === targetX; }); +function drawNewCircle(targetX, data) { + if (data === void 0) { data = chartData; } + var point = data === null || data === void 0 ? void 0 : data.find(function (d) { return d.x === targetX; }); if (!point) { return; } diff --git a/dist/commonjs/zoneerder/components/d3.js.map b/dist/commonjs/zoneerder/components/d3.js.map index 135f7dcb..b4d3e3e4 100644 --- a/dist/commonjs/zoneerder/components/d3.js.map +++ b/dist/commonjs/zoneerder/components/d3.js.map @@ -1 +1 @@ -{"version":3,"sources":["zoneerder/components/d3.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,0BA+EC;AAED,kCAKC;AAED,sCAqBC;AAvHD,uBAAyB;AAQzB,IAAI,CAAC,EAAE,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;AAEhC,SAAgB,OAAO,CAAC,SAAsB,EAAE,IAAW,EAAG,OAAe;IAC3E,IAAI,CAAC,SAAS,EAAE,CAAC;QAAC,OAAM;IAAC,CAAC;IAAA,CAAC;IAC3B,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC;IAEzB,IAAM,KAAK,GAAG,GAAG,CAAC;IAClB,IAAM,MAAM,GAAG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,CAAC;IAEvB,IAAM,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAE7B,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC;SACjB,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACtB,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACtB,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;SACZ,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAEzB,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC;SACjB,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;SAC9D,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;SACzB,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC;SACtD,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC;SACzB,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC;SACvB,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC;SAC7B,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC;AAC3B,CAAC","file":"d3.js","sourceRoot":"../../../../src/"} \ No newline at end of file diff --git a/dist/commonjs/zoneerder/components/ol-map.js b/dist/commonjs/zoneerder/components/ol-map.js index 27c0957b..7726b4a7 100644 --- a/dist/commonjs/zoneerder/components/ol-map.js +++ b/dist/commonjs/zoneerder/components/ol-map.js @@ -70,17 +70,19 @@ var OlMap = (function (_super) { this.element.dispatchEvent(new CustomEvent('loaded', { bubbles: true })); - this.drawLayer.getSource().on('addfeature', function (feature) { + this.drawLayer.getSource().on('addfeature', function (featureEvent) { + var feature = featureEvent.feature; log.debug('olMap::drawLayer::addfeature', feature); - _this.drawLayerToZone(); + var name = feature.get('name'); + _this.drawLayerToZone(name); _this.zoomToExtent(_this.geoJsonFormatter.readGeometry(_this.zone).getExtent()); }); this.addZoneToDrawLayer(); }; - OlMap.prototype.addZoneToDrawLayer = function () { + OlMap.prototype.addZoneToDrawLayer = function (name) { var _this = this; - var _a; - if (!this.drawLayer || ((_a = this.geometryObjectList) === null || _a === void 0 ? void 0 : _a.length) > 0) { + if (name === void 0) { name = 'Zone'; } + if (!this.drawLayer) { return; } var drawSource = this.drawLayer.getSource(); @@ -90,25 +92,18 @@ var OlMap = (function (_super) { if (!this.zone) { return; } + var wktString = ''; this.zone.coordinates.forEach(function (coords) { var polygon = new openlayers_1.default.geom.Polygon(coords); var feature = new openlayers_1.default.Feature({ - name: 'Zone', + name: name, geometry: polygon }); drawSource.addFeature(feature); _this.totalArea += polygon.getArea(); + wktString += _this.wktFormat.writeFeature(feature); }); - if (!this.geometryObjectList.some(function (geometryObject) { return geometryObject.name === 'Zone'; })) { - var polygons = this.zone.coordinates.map(function (coords) { return new openlayers_1.default.geom.Polygon(coords); }); - var multiPolygon = new openlayers_1.default.geom.MultiPolygon(polygons.map(function (polygon) { return polygon.getCoordinates(); })); - var feature = new openlayers_1.default.Feature({ - name: 'Zone', - geometry: multiPolygon - }); - var wktString = this.wktFormat.writeFeature(feature); - this.geometryObjectList.push({ name: 'Zone', wktString: wktString }); - } + this.geometryObjectList = [{ name: name, wktString: wktString }]; }; OlMap.prototype.zoneChanged = function () { this.addZoneToDrawLayer(); @@ -276,8 +271,9 @@ var OlMap = (function (_super) { var coordinates = this.transformLambert72ToWebMercator(center); window.open((this.serviceConfig.crabpyUrl) + '/#zoom=' + zoom * 2 + '&lat=' + coordinates[1] + '&lon=' + coordinates[0]); }; - OlMap.prototype.drawLayerToZone = function () { + OlMap.prototype.drawLayerToZone = function (name) { var _this = this; + if (name === void 0) { name = 'Zone'; } this.totalArea = 0; var multiPolygon = new openlayers_1.default.geom.MultiPolygon([], 'XY'); var features = this.drawLayer.getSource().getFeatures(); @@ -299,8 +295,15 @@ var OlMap = (function (_super) { } }); var contour = this.formatGeoJson(multiPolygon); - !!this.zone ? this.zone.coordinates = contour.coordinates - : this.zone = new contour_1.Contour(contour); + if (this.zone) { + this.zone.coordinates = contour.coordinates; + } + else { + this.zone = new contour_1.Contour(contour); + setTimeout(function () { + _this.addZoneToDrawLayer(name); + }); + } this.laatstGealigneerd = undefined; }; OlMap.prototype.resetSelect = function () { diff --git a/dist/commonjs/zoneerder/components/ol-map.js.map b/dist/commonjs/zoneerder/components/ol-map.js.map index 4b26acfd..e2fac3ea 100644 --- a/dist/commonjs/zoneerder/components/ol-map.js.map +++ b/dist/commonjs/zoneerder/components/ol-map.js.map @@ -1 +1 @@ -{"version":3,"sources":["zoneerder/components/ol-map.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAA+E;AAC/E,yCAA4B;AAC5B,6CAAkH;AAClH,sFAAmF;AACnF,oEAA8D;AAE9D,iEAAwD;AACxD,iDAA+C;AAC/C,uCAAqC;AACrC,mDAA8C;AAE9C,+BAAiC;AACjC,2BAA6B;AAE7B,IAAM,GAAG,GAAG,8BAAU,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;AAG3C;IAA2B,yBAAO;IA8BhC,eACU,OAAgB,EAChB,WAAwB,EACxB,aAA4B;QAEpC,YAAA,MAAK,WAAE,SAAC;QAJA,aAAO,GAAP,OAAO,CAAS;QAChB,iBAAW,GAAX,WAAW,CAAa;QACxB,mBAAa,GAAb,aAAa,CAAe;QA3B5B,iBAAW,GAAG,KAAK,CAAC;QAO9B,wBAAkB,GAAsB,EAAE,CAAC;QAGjC,eAAS,GAAY,K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AO,EAAC,CAAC;YAC5C,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;QAC1D,CAAC;QACD,OAAO,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,SAAS,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED,0BAAU,GAAV,UAAW,IAAI;QACb,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;IACtD,CAAC;IAvZS;QAAT,4BAAQ;;2CAAmB;IAC0B;QAArD,IAAA,4BAAQ,EAAC,EAAE,kBAAkB,EAAE,6BAAW,CAAC,MAAM,EAAE,CAAC;kCAAO,iBAAO;uCAAC;IAC1D;QAAT,4BAAQ;;8CAAyB;IACxB;QAAT,4BAAQ;;8CAAsB;IACrB;QAAT,4BAAQ;;gDAAwC;IACvC;QAAT,4BAAQ;;8CAAqB;IACpB;QAAT,4BAAQ;;2CAA2I;IAC1I;QAAT,4BAAQ;;oDAA4B;IAC3B;QAAT,4BAAQ;;mDAA2B;IAC1B;QAAT,4BAAQ;;mDAA0B;IAWjB;QAAjB,4BAAQ;kCAAqB,mDAAuB;6CAAC;IArB3C,KAAK;QADjB,8BAAU;yCAgCU,OAAO;YACH,8BAAW;YACT,8BAAa;OAjC3B,KAAK,CAyZjB;IAAD,YAAC;CA1ZD,AA0ZC,CAzZ0B,kBAAO,GAyZjC;AAzZY,sBAAK","file":"ol-map.js","sourceRoot":"../../../../src/"} \ No newline at end of file diff --git a/dist/commonjs/zoneerder/components/referentielaag-autocorrectie.d.ts b/dist/commonjs/zoneerder/components/referentielaag-autocorrectie.d.ts index ee1d6f87..e07cdb06 100644 --- a/dist/commonjs/zoneerder/components/referentielaag-autocorrectie.d.ts +++ b/dist/commonjs/zoneerder/components/referentielaag-autocorrectie.d.ts @@ -27,10 +27,11 @@ export declare class ReferentielaagAutocorrectie { private loadingData; private volledigGealigneerd; private histogramData; + private relevanteAfstanden; constructor(dialogService: DialogService); bind(): Promise<void>; openOpenbaarDomeinLegende(): void; onHistogramDataChanged(): Promise<void>; relevanteAfstandChanged(nv: string, ov: string): void; - private getRelevanteAfstand; + private getRelevanteAfstanden; } diff --git a/dist/commonjs/zoneerder/components/referentielaag-autocorrectie.js b/dist/commonjs/zoneerder/components/referentielaag-autocorrectie.js index 079bc1b0..beeffa2d 100644 --- a/dist/commonjs/zoneerder/components/referentielaag-autocorrectie.js +++ b/dist/commonjs/zoneerder/components/referentielaag-autocorrectie.js @@ -131,10 +131,11 @@ var ReferentielaagAutocorrectie = (function () { return [4, this.alignGrb(this.zone, this.referentielaag.value, this.domeinstrategie.value)]; case 2: _a.histogramData = _d.sent(); - this.relevanteAfstand = this.getRelevanteAfstand(this.histogramData.diffs); + this.relevanteAfstanden = this.getRelevanteAfstanden(this.histogramData.predictions); + this.relevanteAfstand = this.relevanteAfstanden[0]; this.laatstGealigneerd = new Date().toISOString(); this.loadingData = false; - (0, d3_1.setupD3)(this.histogram, this.histogramData.diffs, Number(this.relevanteAfstand)); + (0, d3_1.setupD3)(this.histogram, this.histogramData.diffs, this.relevanteAfstanden.map(function (x) { return Number(x); })); floatNumber = Number(this.relevanteAfstand).toFixed(1); this.resultsUpdated(this.histogramData.series[floatNumber]); data = Object.entries(this.histogramData.diffs).map(function (_a) { @@ -165,13 +166,12 @@ var ReferentielaagAutocorrectie = (function () { } this.resultsUpdated(this.histogramData.series[floatNumber]); }; - ReferentielaagAutocorrectie.prototype.getRelevanteAfstand = function (diffs) { - var diffsEntries = Object.entries(diffs).filter(function (_a) { - var key = _a[0], value = _a[1]; - return value !== 0; - }); - var predictedRelevantEntry = diffsEntries.reduce(function (minEntry, currentEntry) { return (currentEntry[1] < minEntry[1] ? currentEntry : minEntry); }, [null, Infinity]); - return predictedRelevantEntry[0] || "0.0"; + ReferentielaagAutocorrectie.prototype.getRelevanteAfstanden = function (predictions) { + var distances = (!predictions || Object.entries(predictions).length == 0) ? ["0.0"] : Object.keys(predictions); + if (distances[0] === "0.0") { + distances.push(distances.shift()); + } + return distances; }; __decorate([ aurelia_framework_1.bindable, diff --git a/dist/commonjs/zoneerder/components/referentielaag-autocorrectie.js.map b/dist/commonjs/zoneerder/components/referentielaag-autocorrectie.js.map index 105531d0..89e81274 100644 --- a/dist/commonjs/zoneerder/components/referentielaag-autocorrectie.js.map +++ b/dist/commonjs/zoneerder/components/referentielaag-autocorrectie.js.map @@ -1 +1 @@ -{"version":3,"sources":["zoneerder/components/referentielaag-autocorrectie.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAA+E;AAC/E,2BAA2D;AAC3D,iDAA+C;AAC/C,6CAQ2B;AAG3B;IAiDE,qCAAoB,aAA4B;QAA5B,kBAAa,GAAb,aAAa,CAAe;QAhDtC,mBAAc,GAAG,UAAC,KAAK,IAAK,OAAA,KAAK,EAAL,CAAK,CAAC;QAInC,oBAAe,GAAG;YACzB;gBACE,KAAK,OAAoC;gBACzC,KAAK,EAAE,0BAA0B;aAClC;YACD;gBACE,KAAK,OAAoC;gBACzC,KAAK,EAAE,wBAAwB;aAChC;SACF,CAAC;QAEO,gBAAW,GAAG;YACrB;gBACE,KAAK,oBAAgC;gBACrC,KAAK,EAAE,uBAAuB;aAC/B;YACD,EAAE,KAAK,iBAAiC,EAAE,KAAK,EAAE,wBAAwB,EAAE;YAC3E,EAAE,KAAK,SAA8B,EAAE,KAAK,EAAE,qBAAqB,EAAE;YACrE,EAAE,KAAK,WAA0B,EAAE,KAAK,EAAE,iBAAiB,EAAE;SAC9D,CAAC;QAKM,mBAAc,GAAmB;YACvC,KAAK,OAAoC;YACzC,KAAK,EAAE,0BAA0B;SAClC,CAAC;QACM,oBAAe,GAAoB;YACzC,KAAK,oBAAgC;YACrC,KAAK,EAAE,uBAAuB;SAC/B,CAAC;QACkB,qBAAgB,GAAW,KAAK,CAAC;QAC7C,QAAG,GAAG,G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MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;QAC1B,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;YAAC,OAAO;QAAC,CAAC;QACpC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;IAC9D,CAAC;IAEO,yDAAmB,GAA3B,UAA4B,KAAY;QAEtC,IAAM,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,UAAC,EAAY;gBAAX,GAAG,QAAA,EAAE,KAAK,QAAA;YAAM,OAAA,KAAK,KAAK,CAAC;QAAX,CAAW,CAAC,CAAC;QACjF,IAAM,sBAAsB,GAAG,YAAY,CAAC,MAAM,CAChD,UAAC,QAAQ,EAAE,YAAY,IAAK,OAAA,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAzD,CAAyD,EACrF,CAAC,IAAI,EAAE,QAAQ,CAAC,CACjB,CAAC;QACF,OAAO,sBAAsB,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC;IAC5C,CAAC;IA5GS;QAAT,4BAAQ;;uEAAmC;IAClC;QAAT,4BAAQ;kCAAO,iBAAO;6DAAC;IACd;QAAT,4BAAQ;;iEAA0I;IAyBzI;QAAT,4BAAQ;;0EAA2B;IAShB;QAAnB,8BAAU;;yEAA0C;IArC1C,2BAA2B;QADvC,8BAAU;yCAkD0B,8BAAa;OAjDrC,2BAA2B,CA8GvC;IAAD,kCAAC;CA/GD,AA+GC,IAAA;AA9GY,kEAA2B","file":"referentielaag-autocorrectie.js","sourceRoot":"../../../../src/"} \ No newline at end of file +{"version":3,"sources":["zoneerder/components/referentielaag-autocorrectie.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAA+E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AAC,WAAW,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACjH,IAAI,SAAS,CAAC,CAAC,CAAC,KAAK,KAAK,EAAE,CAAC;YAC3B,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,CAAC;QACpC,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IA5GS;QAAT,4BAAQ;;uEAAmC;IAClC;QAAT,4BAAQ;kCAAO,iBAAO;6DAAC;IACd;QAAT,4BAAQ;;iEAA0I;IAyBzI;QAAT,4BAAQ;;0EAA2B;IAShB;QAAnB,8BAAU;;yEAA0C;IArC1C,2BAA2B;QADvC,8BAAU;yCAmD0B,8BAAa;OAlDrC,2BAA2B,CA8GvC;IAAD,kCAAC;CA/GD,AA+GC,IAAA;AA9GY,kEAA2B","file":"referentielaag-autocorrectie.js","sourceRoot":"../../../../src/"} \ No newline at end of file diff --git a/dist/commonjs/zoneerder/models/contour.d.ts b/dist/commonjs/zoneerder/models/contour.d.ts index 92159388..bda9a051 100644 --- a/dist/commonjs/zoneerder/models/contour.d.ts +++ b/dist/commonjs/zoneerder/models/contour.d.ts @@ -29,6 +29,7 @@ export interface IAlignerResponse { [key: string]: ISeriesValue; }; }; + predictions: Diffs; } export type Diffs = { [key: string]: number; diff --git a/dist/commonjs/zoneerder/zoneerder.css b/dist/commonjs/zoneerder/zoneerder.css index 2396ccec..adbdcfe2 100644 --- a/dist/commonjs/zoneerder/zoneerder.css +++ b/dist/commonjs/zoneerder/zoneerder.css @@ -210,6 +210,7 @@ zoneerder { margin: 0; list-style: none; overflow-y: auto; + overflow-x: hidden; } .zoneerder-content .sidebar .toegevoegde-zones ul li { font-weight: bold; diff --git a/dist/native-modules/adres-crab/adres-crab.js.map b/dist/native-modules/adres-crab/adres-crab.js.map index 30904548..8c7ec1de 100644 --- a/dist/native-modules/adres-crab/adres-crab.js.map +++ b/dist/native-modules/adres-crab/adres-crab.js.map @@ -1 +1 @@ -{"version":3,"sources":["adres-crab/adres-crab.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACxG,OAAO,EAAE,4BAA4B,EAAE,MAAM,kEAAkE,CAAC;AAChH,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAE5E,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAKvD;IAkBE,mBACS,UAAgC,EAC/B,iBAA8C,EAC9C,oBAA0C;QAHpD,iBAqBC;QApBQ,eAAU,GAAV,UAAU,CAAsB;QAC/B,sBAAiB,GAAjB,iBAAiB,CAA6B;QAC9C,yBAAoB,GAApB,oBAAoB,CAAsB;QAlBnC,WAAM,GAAqB;YAC1C,QAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,IAAI,EAAE;YACrE,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,IAAI,EAAE;YACnE,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,IAAI,EAAE;YACvE,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,OAAO,EAAE;SAC3E,CAAC;QAEQ,kBAAa,GAAG,KAAK,CAAC;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,MAAM,CAAC,oBAAoB,EAAE,2BAA2B,EAAE,oBAAoB,CAAC;yCAoBzD,oBAAoB;YACZ,2BAA2B;YACxB,oBAAoB;OArBzC,SAAS,CAqQrB;IAAD,gBAAC;CAtQD,AAsQC,IAAA;SArQY,SAAS","file":"adres-crab.js","sourceRoot":"../../../src/"} \ No newline at end of file diff --git a/dist/native-modules/services/adresregister.api-service.js b/dist/native-modules/services/adresregister.api-service.js index 05a646f0..f82c9ed5 100644 --- a/dist/native-modules/services/adresregister.api-service.js +++ b/dist/native-modules/services/adresregister.api-service.js @@ -177,32 +177,32 @@ var AdresregisterService = (function () { }); }; AdresregisterService.prototype.getGemeentenPerGewest = function (niscode) { - return this.crabGet("adressenregister/gewesten/".concat(niscode, "/gemeenten")); + return this.crabGet("adressenregister/gewesten/".concat(niscode, "/gemeenten"), { status: 'inGebruik' }); }; AdresregisterService.prototype.getGemeentenByProvincie = function (provincie) { - return this.crabGet("adressenregister/provincies/".concat(provincie, "/gemeenten")); + return this.crabGet("adressenregister/provincies/".concat(provincie, "/gemeenten"), { status: 'inGebruik' }); }; AdresregisterService.prototype.getGemeenteByNiscode = function (niscode) { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { - return [2, this.crabGet("adressenregister/gemeenten/".concat(niscode))]; + return [2, this.crabGet("adressenregister/gemeenten/".concat(niscode), { status: 'inGebruik' })]; }); }); }; AdresregisterService.prototype.getDeelgemeenten = function (gemeente) { - return this.crabGet("adressenregister/gemeenten/".concat(gemeente, "/deelgemeenten")); + return this.crabGet("adressenregister/gemeenten/".concat(gemeente, "/deelgemeenten"), { status: 'inGebruik' }); }; AdresregisterService.prototype.getPostinfo = function (gemeente) { return this.crabGet("adressenregister/gemeenten/".concat(gemeente, "/postinfo")); }; AdresregisterService.prototype.getStraten = function (gemeente) { - return this.crabGet("adressenregister/gemeenten/".concat(gemeente, "/straten")); + return this.crabGet("adressenregister/gemeenten/".concat(gemeente, "/straten"), { status: 'inGebruik' }); }; AdresregisterService.prototype.getAdressen = function (straat, huisnummer) { if (huisnummer) { - return this.crabGet("adressenregister/straten/".concat(straat, "/huisnummers/").concat(huisnummer)); + return this.crabGet("adressenregister/straten/".concat(straat, "/huisnummers/").concat(huisnummer), { status: 'inGebruik' }); } - return this.crabGet("adressenregister/straten/".concat(straat, "/adressen")); + return this.crabGet("adressenregister/straten/".concat(straat, "/adressen"), { status: 'inGebruik' }); }; AdresregisterService.prototype.suggestLocatie = function (value) { return __awaiter(this, void 0, void 0, function () { @@ -217,12 +217,13 @@ var AdresregisterService = (function () { AdresregisterService.prototype.geolocate = function (value) { return this.crabGet('geolocation/' + value); }; - AdresregisterService.prototype.crabGet = function (endpoint) { - return __awaiter(this, void 0, void 0, function () { + AdresregisterService.prototype.crabGet = function (endpoint_1) { + return __awaiter(this, arguments, void 0, function (endpoint, params) { var response; + if (params === void 0) { params = {}; } return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4, this.http.get(endpoint)]; + case 0: return [4, this.http.get(endpoint, params)]; case 1: response = _a.sent(); if (response.isSuccess) { diff --git a/dist/native-modules/services/adresregister.api-service.js.map b/dist/native-modules/services/adresregister.api-service.js.map index fbb17ceb..d2415a15 100644 --- a/dist/native-modules/services/adresregister.api-service.js.map +++ b/dist/native-modules/services/adresregister.api-service.js.map @@ -1 +1 @@ -{"version":3,"sources":["services/adresregister.api-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAShD;IASE,8B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AO,EAAC;wBAC1B,CAAC;wBACD,WAAmB,EAAE,EAAC;;;;KACvB;IAlJU,oBAAoB;QADhC,MAAM,CAAC,UAAU,CAAC;yCAWD,UAAU;OAVf,oBAAoB,CAmJhC;IAAD,2BAAC;CApJD,AAoJC,IAAA;SAnJY,oBAAoB","file":"adresregister.api-service.js","sourceRoot":"../../../src/"} \ No newline at end of file +{"version":3,"sources":["services/adresregister.api-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAUhD;IASE,8BACU,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;QATlB,WAAM,GAAY,EAAE,CAAC;QACrB,eAAU,GAAiB,EAAE,CAAC;QAC9B,cAAS,GAAgB,EAAE,CAAC;QAE5B,0BAAqB,GAAgB,EAAE,CAAC;QACxC,yBAAoB,GAAgB,EAAE,CAAC;QACvC,sBAAiB,GAAgB,EAAE,CAAC;QAK1C,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,UAAA,CAAC;YACnB,CAAC,CAAC,WAAW,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;YACrC,CAAC,CAAC,UAAU,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAC;YAC3C,CAAC,CAAC,UAAU,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;YACrC,CAAC,CAAC,eAAe,CAAC;gBAChB,OAAO,YAAC,GAAG;oBACT,WAAW,CAAC,EAAE,CAAC,OAAO,CAAC,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AAE,CAAC,CAAC;IAC5G,CAAC;IAED,0CAAW,GAAX,UAAY,MAAc,EAAE,UAAmB;QAC7C,IAAI,UAAU,EAAE,CAAC;YACf,OAAO,IAAI,CAAC,OAAO,CAAwB,mCAA4B,MAAM,0BAAgB,UAAU,CAAE,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;QACtI,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAwB,mCAA4B,MAAM,cAAW,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;IACrH,CAAC;IAEK,6CAAc,GAApB,UAAqB,KAAa;;;gBAChC,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;oBACjB,WAAO,EAAE,EAAC;gBACZ,CAAC;gBACD,WAAO,IAAI,CAAC,OAAO,CAAC,uBAAuB,GAAG,KAAK,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,EAAC;;;KAC1E;IAEM,wCAAS,GAAhB,UAAiB,KAAa;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,cAAc,GAAG,KAAK,CAAC,CAAC;IAC9C,CAAC;IAEa,sCAAO,GAArB;4DAAyB,QAAgB,EAAE,MAAuB;;YAAvB,uBAAA,EAAA,WAAuB;;;4BAC/C,WAAM,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAA;;wBAAhD,QAAQ,GAAG,SAAqC;wBAEtD,IAAI,QAAQ,CAAC,SAAS,EAAE,CAAC;4BACvB,WAAO,QAAQ,CAAC,OAAO,EAAC;wBAC1B,CAAC;wBACD,WAAmB,EAAE,EAAC;;;;KACvB;IAlJU,oBAAoB;QADhC,MAAM,CAAC,UAAU,CAAC;yCAWD,UAAU;OAVf,oBAAoB,CAmJhC;IAAD,2BAAC;CApJD,AAoJC,IAAA;SAnJY,oBAAoB","file":"adresregister.api-service.js","sourceRoot":"../../../src/"} \ No newline at end of file diff --git a/dist/native-modules/zoneerder/components/d3.d.ts b/dist/native-modules/zoneerder/components/d3.d.ts index e5574e77..f7e6db9a 100644 --- a/dist/native-modules/zoneerder/components/d3.d.ts +++ b/dist/native-modules/zoneerder/components/d3.d.ts @@ -1,4 +1,4 @@ import { Diffs } from 'zoneerder/models/contour'; -export declare function setupD3(container: HTMLElement, data: Diffs, targetX: number): void; +export declare function setupD3(container: HTMLElement, data: Diffs, relevanteAfstanden: number[]): void; export declare function removePoint(): void; -export declare function drawNewCircle(targetX: number): void; +export declare function drawNewCircle(targetX: number, data?: any): void; diff --git a/dist/native-modules/zoneerder/components/d3.js b/dist/native-modules/zoneerder/components/d3.js index d85874c8..c51c5ceb 100644 --- a/dist/native-modules/zoneerder/components/d3.js +++ b/dist/native-modules/zoneerder/components/d3.js @@ -36,11 +36,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) { }; import * as d3 from 'd3'; var x, y, chartData = undefined; -export function setupD3(container, data, targetX) { +export function setupD3(container, data, relevanteAfstanden) { if (!container) { return; } - ; container.innerHTML = ''; var width = 350; var height = 200; @@ -62,7 +61,7 @@ export function setupD3(container, data, targetX) { }); }); } - render_area_chart(data); + void render_area_chart(data); function render_data(data) { chartData = data; x = d3.scaleLinear() @@ -88,24 +87,8 @@ export function setupD3(container, data, targetX) { svg.append("g") .attr("transform", "translate(".concat(marginLeft, ",").concat(height - marginBottom, ")")) .call(xAxis); - drawNewCircle(targetX); - var point = chartData === null || chartData === void 0 ? void 0 : chartData.find(function (d) { return d.x === targetX; }); - if (point) { - svg.append("circle") - .attr("cx", x(point.x)) - .attr("cy", y(point.y)) - .attr("r", 5) - .attr("fill", '#944EA1'); - svg.append("text") - .attr("x", x(point.x) < 50 ? x(point.x) + 10 : x(point.x) - 10) - .attr("y", y(point.y) - 5) - .attr("text-anchor", x(point.x) < 50 ? "start" : "end") - .attr("font-size", "14px") - .attr("fill", '#944EA1') - .attr("class", "circle-label") - .text(point.y + ' m²'); - } container.append(svg.node()); + drawNewCircle(relevanteAfstanden[0], chartData); } } export function removePoint() { @@ -114,8 +97,9 @@ export function removePoint() { var text = d3.select('svg').selectAll('text.circle-label'); text.remove(); } -export function drawNewCircle(targetX) { - var point = chartData === null || chartData === void 0 ? void 0 : chartData.find(function (d) { return d.x === targetX; }); +export function drawNewCircle(targetX, data) { + if (data === void 0) { data = chartData; } + var point = data === null || data === void 0 ? void 0 : data.find(function (d) { return d.x === targetX; }); if (!point) { return; } diff --git a/dist/native-modules/zoneerder/components/d3.js.map b/dist/native-modules/zoneerder/components/d3.js.map index bf54d8e3..d152077b 100644 --- a/dist/native-modules/zoneerder/components/d3.js.map +++ b/dist/native-modules/zoneerder/components/d3.js.map @@ -1 +1 @@ -{"version":3,"sources":["zoneerder/components/d3.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AAQzB,IAAI,CAAC,EAAE,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;AAEhC,MAAM,UAAU,OAAO,CAAC,SAAsB,EAAE,IAAW,EAAG,OAAe;IAC3E,IAAI,CAAC,SAAS,EAAE,CAAC;QAAC,OAAM;IAAC,CAAC;IAAA,CAAC;IAC3B,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC;IAEzB,IAAM,KAAK,GAAG,GAAG,CAAC;IAClB,IAAM,MAAM,GAAG,GAAG,CAAC;IACnB,IAAM,SAAS,GAAG,EAAE,CAAC;IACrB,IAAM,WAAW,GAAG,CAAC,CAAC;IACtB,IAAM,YAAY,GAAG,EAAE,CAAC;IACxB,IAAM,UAAU,GAAG,CAAC,CAAC;IAErB,SAAe,iBAAiB,CAAC,IAAW;;;;gBACtC,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,UAAC,EAAM;wBAAL,CAAC,QAAA,EAAE,CAAC,QAAA;oBAAM,OAAA,CAAC,EAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,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AAM,CAAC;SACjB,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;SAC9D,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;SACzB,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC;SACtD,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC;SACzB,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC;SACvB,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC;SAC7B,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC;AAC3B,CAAC","file":"d3.js","sourceRoot":"../../../../src/"} \ No newline at end of file diff --git a/dist/native-modules/zoneerder/components/ol-map.js b/dist/native-modules/zoneerder/components/ol-map.js index b1c2df3b..93fad234 100644 --- a/dist/native-modules/zoneerder/components/ol-map.js +++ b/dist/native-modules/zoneerder/components/ol-map.js @@ -67,17 +67,19 @@ var OlMap = (function (_super) { this.element.dispatchEvent(new CustomEvent('loaded', { bubbles: true })); - this.drawLayer.getSource().on('addfeature', function (feature) { + this.drawLayer.getSource().on('addfeature', function (featureEvent) { + var feature = featureEvent.feature; log.debug('olMap::drawLayer::addfeature', feature); - _this.drawLayerToZone(); + var name = feature.get('name'); + _this.drawLayerToZone(name); _this.zoomToExtent(_this.geoJsonFormatter.readGeometry(_this.zone).getExtent()); }); this.addZoneToDrawLayer(); }; - OlMap.prototype.addZoneToDrawLayer = function () { + OlMap.prototype.addZoneToDrawLayer = function (name) { var _this = this; - var _a; - if (!this.drawLayer || ((_a = this.geometryObjectList) === null || _a === void 0 ? void 0 : _a.length) > 0) { + if (name === void 0) { name = 'Zone'; } + if (!this.drawLayer) { return; } var drawSource = this.drawLayer.getSource(); @@ -87,25 +89,18 @@ var OlMap = (function (_super) { if (!this.zone) { return; } + var wktString = ''; this.zone.coordinates.forEach(function (coords) { var polygon = new ol.geom.Polygon(coords); var feature = new ol.Feature({ - name: 'Zone', + name: name, geometry: polygon }); drawSource.addFeature(feature); _this.totalArea += polygon.getArea(); + wktString += _this.wktFormat.writeFeature(feature); }); - if (!this.geometryObjectList.some(function (geometryObject) { return geometryObject.name === 'Zone'; })) { - var polygons = this.zone.coordinates.map(function (coords) { return new ol.geom.Polygon(coords); }); - var multiPolygon = new ol.geom.MultiPolygon(polygons.map(function (polygon) { return polygon.getCoordinates(); })); - var feature = new ol.Feature({ - name: 'Zone', - geometry: multiPolygon - }); - var wktString = this.wktFormat.writeFeature(feature); - this.geometryObjectList.push({ name: 'Zone', wktString: wktString }); - } + this.geometryObjectList = [{ name: name, wktString: wktString }]; }; OlMap.prototype.zoneChanged = function () { this.addZoneToDrawLayer(); @@ -273,8 +268,9 @@ var OlMap = (function (_super) { var coordinates = this.transformLambert72ToWebMercator(center); window.open((this.serviceConfig.crabpyUrl) + '/#zoom=' + zoom * 2 + '&lat=' + coordinates[1] + '&lon=' + coordinates[0]); }; - OlMap.prototype.drawLayerToZone = function () { + OlMap.prototype.drawLayerToZone = function (name) { var _this = this; + if (name === void 0) { name = 'Zone'; } this.totalArea = 0; var multiPolygon = new ol.geom.MultiPolygon([], 'XY'); var features = this.drawLayer.getSource().getFeatures(); @@ -296,8 +292,15 @@ var OlMap = (function (_super) { } }); var contour = this.formatGeoJson(multiPolygon); - !!this.zone ? this.zone.coordinates = contour.coordinates - : this.zone = new Contour(contour); + if (this.zone) { + this.zone.coordinates = contour.coordinates; + } + else { + this.zone = new Contour(contour); + setTimeout(function () { + _this.addZoneToDrawLayer(name); + }); + } this.laatstGealigneerd = undefined; }; OlMap.prototype.resetSelect = function () { diff --git a/dist/native-modules/zoneerder/components/ol-map.js.map b/dist/native-modules/zoneerder/components/ol-map.js.map index 8a6430be..730fab27 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,EAAwE,MAAM,mBAAmB,CAAC;AAClH,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,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,IAAM,GAAG,GAAG,UAAU,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;AAG3C;IAA2B,yBAAO;IA8BhC,eACU,OAAgB,EAChB,WAAwB,EACxB,aAA4B;QAEpC,YAAA,MAAK,WAAE,SAAC;QAJA,aAAO,GAAP,OAAO,CAAS;QAChB,iBAAW,GAAX,WAAW,CAAa;QACxB,mBAAa,GAAb,aAAa,CAAe;QA3B5B,iBAAW,GAAG,KAAK,CAAC;QAO9B,wBAAkB,GAAsB,EAAE,CAAC;QAGjC,eAAS,GAAY,KAAK,CAAC;QAC3B,qBAAe,GAAY,KAAK,CAAC;QAC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native-modules/zoneerder/components/referentielaag-autocorrectie.d.ts b/dist/native-modules/zoneerder/components/referentielaag-autocorrectie.d.ts index ee1d6f87..e07cdb06 100644 --- a/dist/native-modules/zoneerder/components/referentielaag-autocorrectie.d.ts +++ b/dist/native-modules/zoneerder/components/referentielaag-autocorrectie.d.ts @@ -27,10 +27,11 @@ export declare class ReferentielaagAutocorrectie { private loadingData; private volledigGealigneerd; private histogramData; + private relevanteAfstanden; constructor(dialogService: DialogService); bind(): Promise<void>; openOpenbaarDomeinLegende(): void; onHistogramDataChanged(): Promise<void>; relevanteAfstandChanged(nv: string, ov: string): void; - private getRelevanteAfstand; + private getRelevanteAfstanden; } diff --git a/dist/native-modules/zoneerder/components/referentielaag-autocorrectie.js b/dist/native-modules/zoneerder/components/referentielaag-autocorrectie.js index 437674cb..dff1dc58 100644 --- a/dist/native-modules/zoneerder/components/referentielaag-autocorrectie.js +++ b/dist/native-modules/zoneerder/components/referentielaag-autocorrectie.js @@ -128,10 +128,11 @@ var ReferentielaagAutocorrectie = (function () { return [4, this.alignGrb(this.zone, this.referentielaag.value, this.domeinstrategie.value)]; case 2: _a.histogramData = _d.sent(); - this.relevanteAfstand = this.getRelevanteAfstand(this.histogramData.diffs); + this.relevanteAfstanden = this.getRelevanteAfstanden(this.histogramData.predictions); + this.relevanteAfstand = this.relevanteAfstanden[0]; this.laatstGealigneerd = new Date().toISOString(); this.loadingData = false; - setupD3(this.histogram, this.histogramData.diffs, Number(this.relevanteAfstand)); + setupD3(this.histogram, this.histogramData.diffs, this.relevanteAfstanden.map(function (x) { return Number(x); })); floatNumber = Number(this.relevanteAfstand).toFixed(1); this.resultsUpdated(this.histogramData.series[floatNumber]); data = Object.entries(this.histogramData.diffs).map(function (_a) { @@ -162,13 +163,12 @@ var ReferentielaagAutocorrectie = (function () { } this.resultsUpdated(this.histogramData.series[floatNumber]); }; - ReferentielaagAutocorrectie.prototype.getRelevanteAfstand = function (diffs) { - var diffsEntries = Object.entries(diffs).filter(function (_a) { - var key = _a[0], value = _a[1]; - return value !== 0; - }); - var predictedRelevantEntry = diffsEntries.reduce(function (minEntry, currentEntry) { return (currentEntry[1] < minEntry[1] ? currentEntry : minEntry); }, [null, Infinity]); - return predictedRelevantEntry[0] || "0.0"; + ReferentielaagAutocorrectie.prototype.getRelevanteAfstanden = function (predictions) { + var distances = (!predictions || Object.entries(predictions).length == 0) ? ["0.0"] : Object.keys(predictions); + if (distances[0] === "0.0") { + distances.push(distances.shift()); + } + return distances; }; __decorate([ bindable, diff --git a/dist/native-modules/zoneerder/components/referentielaag-autocorrectie.js.map b/dist/native-modules/zoneerder/components/referentielaag-autocorrectie.js.map index daaa149a..593b98a5 100644 --- a/dist/native-modules/zoneerder/components/referentielaag-autocorrectie.js.map +++ b/dist/native-modules/zoneerder/components/referentielaag-autocorrectie.js.map @@ -1 +1 @@ -{"version":3,"sources":["zoneerder/components/referentielaag-autocorrectie.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EACL,OAAO,EAOR,MAAM,mBAAmB,CAAC;AAG3B;IAiDE,qCAAoB,aAA4B;QAA5B,kBAAa,GAAb,aAAa,CAAe;QAhDtC,mBAAc,GAAG,UAAC,KAAK,IAAK,OAAA,KAAK,EAAL,CAAK,CAAC;QAInC,oBAAe,GAAG;YACzB;gBACE,KAAK,OAAoC;gBACzC,KAAK,EAAE,0BAA0B;aAClC;YACD;gBACE,KAAK,OAAoC;gBACzC,KAAK,EAAE,wBAAwB;aAChC;SACF,CAAC;QAEO,gBAAW,GAAG;YACrB;gBACE,KAAK,oBAAgC;gBACrC,K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;6DAAC;IACd;QAAT,QAAQ;;iEAA0I;IAyBzI;QAAT,QAAQ;;0EAA2B;IAShB;QAAnB,UAAU;;yEAA0C;IArC1C,2BAA2B;QADvC,UAAU;yCAkD0B,aAAa;OAjDrC,2BAA2B,CA8GvC;IAAD,kCAAC;CA/GD,AA+GC,IAAA;SA9GY,2BAA2B","file":"referentielaag-autocorrectie.js","sourceRoot":"../../../../src/"} \ No newline at end of file +{"version":3,"sources":["zoneerder/components/referentielaag-autocorrectie.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EACL,OAAO,EAOR,MAAM,mBAAmB,CAAC;AAG3B;IAkDE,qCAAoB,aAA4B;QAA5B,kBAAa,GAAb,aAAa,CAAe;QAjDtC,mBAAc,GAAG,UAAC,KAAK,IAAK,OAAA,KAAK,EAAL,CAAK,CAAC;QAInC,oBAAe,GAAG;YACzB;gBACE,KAAK,OAAoC;gBACzC,KAAK,EAAE,0BAA0B;aAClC;YACD;gBACE,KAAK,OAAoC;gBACzC,KAAK,EAAE,wBAAwB;aAChC;SACF,CAAC;QAEO,gBAAW,GAAG;YACrB;gBACE,KAAK,oBAAgC;gBACrC,KAAK,EAAE,uBAAuB;aAC/B;YACD,EAAE,KAAK,iBAAiC,EAAE,KAAK,EAAE,wBAAwB,EAAE;YAC3E,EAAE,KAAK,SAA8B,EAAE,KAAK,EAAE,qBAAqB,EAAE;YACrE,EAAE,KAAK,WAA0B,EAAE,KAAK,EAAE,iBAAiB,EAAE;SAC9D,CAAC;QAKM,mBAAc,GAAmB;YACvC,KAAK,OAAoC;YACz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../../../src/"} \ No newline at end of file diff --git a/dist/native-modules/zoneerder/models/contour.d.ts b/dist/native-modules/zoneerder/models/contour.d.ts index 92159388..bda9a051 100644 --- a/dist/native-modules/zoneerder/models/contour.d.ts +++ b/dist/native-modules/zoneerder/models/contour.d.ts @@ -29,6 +29,7 @@ export interface IAlignerResponse { [key: string]: ISeriesValue; }; }; + predictions: Diffs; } export type Diffs = { [key: string]: number; diff --git a/dist/native-modules/zoneerder/zoneerder.css b/dist/native-modules/zoneerder/zoneerder.css index 2396ccec..adbdcfe2 100644 --- a/dist/native-modules/zoneerder/zoneerder.css +++ b/dist/native-modules/zoneerder/zoneerder.css @@ -210,6 +210,7 @@ zoneerder { margin: 0; list-style: none; overflow-y: auto; + overflow-x: hidden; } .zoneerder-content .sidebar .toegevoegde-zones ul li { font-weight: bold; diff --git a/package.json b/package.json index caedc04a..2bdccee2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "oerelia", "description": "Onroerend Erfgoed Aurelia component library", - "version": "0.31.0", + "version": "0.33.0", "repository": { "type": "git", "url": "https://github.com/OnroerendErfgoed/oerelia.git" diff --git a/src/adres-crab/adres-crab.ts b/src/adres-crab/adres-crab.ts index 8c1cc87c..6cc7f0ac 100644 --- a/src/adres-crab/adres-crab.ts +++ b/src/adres-crab/adres-crab.ts @@ -7,7 +7,8 @@ import { IAdresCrabConfig } from './types/adres-crab-config'; import { uniqBy } from 'lodash'; import { Message } from '../utilities/message/message'; import { IAdresregisterAdres, ICrabAdres, IGemeente, - ILand, IPostcode } from '../models/public-models'; + ILand, IPostcode, + ParamsType} from '../models/public-models'; @inject(ValidationController, ValidationControllerFactory, AdresregisterService) export class AdresCrab { diff --git a/src/services/adresregister.api-service.ts b/src/services/adresregister.api-service.ts index b05ecba1..f99d2c2d 100644 --- a/src/services/adresregister.api-service.ts +++ b/src/services/adresregister.api-service.ts @@ -6,7 +6,8 @@ import { sortBy } from 'lodash'; import { Niscode } from './models/niscode.enum'; import { IAdresregisterAdres, IDeelgemeente, IGemeente, IGeolocationResponse, IGewest, - ILand, ILocatieSuggest, IPostinfo, IProvincie, IStraat + ILand, ILocatieSuggest, IPostinfo, IProvincie, IStraat, + ParamsType } from '../models/public-models'; declare const oeAppConfig: any; @@ -110,19 +111,19 @@ export class AdresregisterService { } getGemeentenPerGewest(niscode: Niscode): Promise<IGemeente[]> { - return this.crabGet<IGemeente[]>(`adressenregister/gewesten/${niscode}/gemeenten`); + return this.crabGet<IGemeente[]>(`adressenregister/gewesten/${niscode}/gemeenten`, { status: 'inGebruik' }); } public getGemeentenByProvincie(provincie: string): Promise<IGemeente[]> { - return this.crabGet<IGemeente[]>(`adressenregister/provincies/${provincie}/gemeenten`); + return this.crabGet<IGemeente[]>(`adressenregister/provincies/${provincie}/gemeenten`, { status: 'inGebruik' }); } public async getGemeenteByNiscode(niscode: string): Promise<IGemeente> { - return this.crabGet<IGemeente>(`adressenregister/gemeenten/${niscode}`); + return this.crabGet<IGemeente>(`adressenregister/gemeenten/${niscode}`, { status: 'inGebruik' }); } getDeelgemeenten(gemeente: string): Promise<IDeelgemeente[]> { - return this.crabGet<IDeelgemeente[]>(`adressenregister/gemeenten/${gemeente}/deelgemeenten`); + return this.crabGet<IDeelgemeente[]>(`adressenregister/gemeenten/${gemeente}/deelgemeenten`, { status: 'inGebruik' }); } getPostinfo(gemeente: string): Promise<IPostinfo[]> { @@ -130,14 +131,14 @@ export class AdresregisterService { } getStraten(gemeente: string): Promise<IStraat[]> { - return this.crabGet<IStraat[]>(`adressenregister/gemeenten/${gemeente}/straten`); + return this.crabGet<IStraat[]>(`adressenregister/gemeenten/${gemeente}/straten`, { status: 'inGebruik' }); } getAdressen(straat: string, huisnummer?: string): Promise<IAdresregisterAdres[]> { if (huisnummer) { - return this.crabGet<IAdresregisterAdres[]>(`adressenregister/straten/${straat}/huisnummers/${huisnummer}`); + return this.crabGet<IAdresregisterAdres[]>(`adressenregister/straten/${straat}/huisnummers/${huisnummer}`, { status: 'inGebruik' }); } - return this.crabGet<IAdresregisterAdres[]>(`adressenregister/straten/${straat}/adressen`); + return this.crabGet<IAdresregisterAdres[]>(`adressenregister/straten/${straat}/adressen`, { status: 'inGebruik' }); } async suggestLocatie(value: string): Promise<ILocatieSuggest[]> { @@ -151,8 +152,8 @@ export class AdresregisterService { return this.crabGet('geolocation/' + value); } - private async crabGet<T>(endpoint: string): Promise<T> { - const response = await this.http.get(endpoint); + private async crabGet<T>(endpoint: string, params: ParamsType = {}): Promise<T> { + const response = await this.http.get(endpoint, params); if (response.isSuccess) { return response.content; diff --git a/src/zoneerder/components/d3.ts b/src/zoneerder/components/d3.ts index 23400400..48acd9f5 100644 --- a/src/zoneerder/components/d3.ts +++ b/src/zoneerder/components/d3.ts @@ -8,8 +8,8 @@ interface Datapoint { let x, y, chartData = undefined; -export function setupD3(container: HTMLElement, data: Diffs, targetX: number) { - if (!container) { return }; +export function setupD3(container: HTMLElement, data: Diffs, relevanteAfstanden: number[]) { + if (!container) { return } container.innerHTML = ''; // Declare the chart dimensions and margins. const width = 350; @@ -25,7 +25,7 @@ export function setupD3(container: HTMLElement, data: Diffs, targetX: number) { render_data(floatedData); } - render_area_chart(data); + void render_area_chart(data); function render_data(data: Datapoint[]) { // Declare the x (horizontal position) scale. @@ -40,10 +40,10 @@ export function setupD3(container: HTMLElement, data: Diffs, targetX: number) { .range([height - marginBottom, marginTop]); const area = d3.area<Datapoint>() - .x(d => x(d.x)) - .y0(y(0)) // Set y0 to the minimum value of your y scale - .y1(d => y(d.y)) - .curve(d3.curveStepAfter); + .x(d => x(d.x)) + .y0(y(0)) // Set y0 to the minimum value of your y scale + .y1(d => y(d.y)) + .curve(d3.curveStepAfter); // Create the SVG container. const svg = d3.create("svg") @@ -51,7 +51,7 @@ export function setupD3(container: HTMLElement, data: Diffs, targetX: number) { .attr("height", height) .attr("viewBox", [0, 0, width, height]) .attr("style", "max-width: 100%;"); - // height: auto; + // height: auto; // Append a path for the area (under the axes). svg.append("path") @@ -64,28 +64,9 @@ export function setupD3(container: HTMLElement, data: Diffs, targetX: number) { .attr("transform", `translate(${marginLeft},${height - marginBottom})`) .call(xAxis); - drawNewCircle(targetX); - - const point = chartData?.find((d: Datapoint) => d.x === targetX); - // Add a marker for the point. - if (point) { - svg.append("circle") - .attr("cx", x(point.x)) - .attr("cy", y(point.y)) - .attr("r", 5) - .attr("fill", '#944EA1'); - - svg.append("text") - .attr("x", x(point.x) < 50 ? x(point.x) + 10 : x(point.x) - 10) // Adjust position based on x value - .attr("y", y(point.y) - 5) // Adjust this value to center the text vertically - .attr("text-anchor", x(point.x) < 50 ? "start" : "end") // Adjust text-anchor based on x value - .attr("font-size", "14px") // Set the font size - .attr("fill", '#944EA1') // Set the fill color - .attr("class", "circle-label") - .text(point.y + ' m²'); - } - container.append(svg.node()!); + + drawNewCircle(relevanteAfstanden[0], chartData); } } @@ -96,8 +77,8 @@ export function removePoint() { text.remove(); } -export function drawNewCircle(targetX: number) { - const point = chartData?.find((d: Datapoint) => d.x === targetX); +export function drawNewCircle(targetX: number, data = chartData) { + const point = data?.find((d: Datapoint) => d.x === targetX); if (!point) { return; } diff --git a/src/zoneerder/components/ol-map.ts b/src/zoneerder/components/ol-map.ts index e7f519f8..e1e27f45 100644 --- a/src/zoneerder/components/ol-map.ts +++ b/src/zoneerder/components/ol-map.ts @@ -69,18 +69,21 @@ export class OlMap extends BaseMap { bubbles: true })); - this.drawLayer.getSource().on('addfeature', (feature: any) => { + this.drawLayer.getSource().on('addfeature', (featureEvent: any) => { + const feature = featureEvent.feature; log.debug('olMap::drawLayer::addfeature', feature); - this.drawLayerToZone(); + const name = feature.get('name'); + this.drawLayerToZone(name); this.zoomToExtent(this.geoJsonFormatter.readGeometry(this.zone).getExtent()); }); this.addZoneToDrawLayer(); } - private addZoneToDrawLayer() { - if (!this.drawLayer || this.geometryObjectList?.length > 0) { + private addZoneToDrawLayer(name= 'Zone') { + if (!this.drawLayer) { return; } + const drawSource = (this.drawLayer.getSource() as ol.source.Vector); drawSource.getFeatures().forEach((f: any) => { drawSource.removeFeature(f); @@ -90,26 +93,18 @@ export class OlMap extends BaseMap { return; } + let wktString = ''; this.zone.coordinates.forEach((coords) => { const polygon = new ol.geom.Polygon(coords); const feature = new ol.Feature({ - name: 'Zone', + name, geometry: polygon }); drawSource.addFeature(feature); this.totalArea += polygon.getArea(); + wktString += this.wktFormat.writeFeature(feature); }); - - if (!this.geometryObjectList.some((geometryObject) => geometryObject.name === 'Zone')) { - const polygons = this.zone.coordinates.map((coords) => new ol.geom.Polygon(coords)); - const multiPolygon = new ol.geom.MultiPolygon(polygons.map(polygon => polygon.getCoordinates())); - const feature = new ol.Feature({ - name: 'Zone', - geometry: multiPolygon - }); - const wktString = this.wktFormat.writeFeature(feature); - this.geometryObjectList.push({ name: 'Zone', wktString }); - } + this.geometryObjectList = [{ name, wktString }]; } zoneChanged() { @@ -290,7 +285,7 @@ export class OlMap extends BaseMap { window.open((this.serviceConfig.crabpyUrl) + '/#zoom=' + zoom * 2 + '&lat=' + coordinates[1] + '&lon=' + coordinates[0]); } - private drawLayerToZone() { + private drawLayerToZone(name='Zone') { this.totalArea = 0; const multiPolygon = new ol.geom.MultiPolygon([], 'XY'); const features: ol.Feature[] = (this.drawLayer.getSource() as ol.source.Vector).getFeatures(); @@ -312,8 +307,15 @@ export class OlMap extends BaseMap { }); const contour = this.formatGeoJson(multiPolygon); - !!this.zone ? this.zone.coordinates = contour.coordinates - : this.zone = new Contour(contour); + if (this.zone) { + this.zone.coordinates = contour.coordinates; + } else { + this.zone = new Contour(contour); + setTimeout(()=>{ + //make sure the zone is added using the original name + this.addZoneToDrawLayer(name); + }) + } this.laatstGealigneerd = undefined; } diff --git a/src/zoneerder/components/referentielaag-autocorrectie.ts b/src/zoneerder/components/referentielaag-autocorrectie.ts index ee780664..88d4832e 100644 --- a/src/zoneerder/components/referentielaag-autocorrectie.ts +++ b/src/zoneerder/components/referentielaag-autocorrectie.ts @@ -60,6 +60,7 @@ export class ReferentielaagAutocorrectie { private loadingData = false; private volledigGealigneerd = false; private histogramData: IAlignerResponse; + private relevanteAfstanden: string[]; constructor(private dialogService: DialogService) { } @@ -88,10 +89,11 @@ export class ReferentielaagAutocorrectie { try { this.loadingData = true; this.histogramData = await this.alignGrb(this.zone, this.referentielaag.value, this.domeinstrategie.value); - this.relevanteAfstand = this.getRelevanteAfstand(this.histogramData.diffs); + this.relevanteAfstanden = this.getRelevanteAfstanden(this.histogramData.predictions); + this.relevanteAfstand = this.relevanteAfstanden[0]; this.laatstGealigneerd = new Date().toISOString(); this.loadingData = false; - setupD3(this.histogram, this.histogramData.diffs, Number(this.relevanteAfstand)); + setupD3(this.histogram, this.histogramData.diffs, this.relevanteAfstanden.map((x) => Number(x))); const floatNumber = Number(this.relevanteAfstand).toFixed(1); this.resultsUpdated(this.histogramData.series[floatNumber]); const data = Object.entries(this.histogramData.diffs).map(([x, y]) => ({ x: parseFloat(x), y: Math.abs(y) })); @@ -113,13 +115,11 @@ export class ReferentielaagAutocorrectie { this.resultsUpdated(this.histogramData.series[floatNumber]); } - private getRelevanteAfstand(diffs: Diffs) { - // Set relevante afstand to minimum predicted relevant distance. - const diffsEntries = Object.entries(diffs).filter(([key, value]) => value !== 0); - const predictedRelevantEntry = diffsEntries.reduce( - (minEntry, currentEntry) => (currentEntry[1] < minEntry[1] ? currentEntry : minEntry), - [null, Infinity] - ); - return predictedRelevantEntry[0] || "0.0"; + private getRelevanteAfstanden(predictions: Diffs) { + const distances = (!predictions || Object.entries(predictions).length == 0) ? ["0.0"] : Object.keys(predictions); + if (distances[0] === "0.0") { + distances.push(distances.shift()); + } + return distances; } } diff --git a/src/zoneerder/models/contour.ts b/src/zoneerder/models/contour.ts index 144621d3..5c9379f1 100644 --- a/src/zoneerder/models/contour.ts +++ b/src/zoneerder/models/contour.ts @@ -37,6 +37,7 @@ export const enum StrategieEnum { export interface IAlignerResponse { diffs: Diffs; series: { [key: string]: { [key: string]: ISeriesValue } }; + predictions: Diffs; } export type Diffs = { [key: string]: number }; diff --git a/src/zoneerder/zoneerder.scss b/src/zoneerder/zoneerder.scss index e12f7cd0..40597b7e 100644 --- a/src/zoneerder/zoneerder.scss +++ b/src/zoneerder/zoneerder.scss @@ -134,6 +134,7 @@ zoneerder { margin: 0; list-style: none; overflow-y: auto; + overflow-x: hidden; li { font-weight: bold;