-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bc 408/feature/417 implementatie brdr api call #422
Bc 408/feature/417 implementatie brdr api call #422
Conversation
…/417_implementatie_BRDR_api_call
src/zoneerder/components/d3.ts
Outdated
data = data.sort((d1, d2) => d1.x - d2.x); | ||
render_data(data); | ||
async function render_area_chart(data: Diffs) { | ||
// const response = {0.0: -0.0, 0.1: 0.0, 0.2: 0.0, 0.3: 0.0, 0.4: 0.0, 0.5: 0.0, 0.6: 0.0, 0.7: 0.0, 0.8: 0.0, 0.9: 0.0, 1.0: 1.7, 1.1: -7.2, 1.2: -7.2, 1.3: -7.2, 1.4: -7.2, 1.5: -7.2, 1.6: -7.2, 1.7: -7.2, 1.8: -7.2, 1.9: -7.2, 2.0: -7.2, 2.1: -7.2, 2.2: -7.2, 2.3: -7.2, 2.4: -7.2, 2.5: 8.5, 2.6: 8.5, 2.7: 8.5, 2.8: 8.5, 2.9: 8.5, 3.0: 8.5, 3.1: 8.5, 3.2: 8.5, 3.3: 8.5, 3.4: 8.5, 3.5: 8.5, 3.6: 8.5, 3.7: 8.5, 3.8: 8.5, 3.9: 8.5, 4.0: 8.5, 4.1: 8.5, 4.2: 8.5, 4.3: 8.5, 4.4: 8.5, 4.5: 8.5, 4.6: 8.5, 4.7: 8.5, 4.8: 8.5, 4.9: 8.5, 5.0: 8.5, 5.1: 8.5, 5.2: 8.5, 5.3: 8.5, 5.4: 8.5, 5.5: 8.5, 5.6: 8.5, 5.7: 8.5, 5.8: 8.5, 5.9: 8.5, 6.0: 8.5}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In comment ffr, of mag deze weg?
@@ -25,8 +23,12 @@ export declare class ReferentielaagAutocorrectie { | |||
private floatMin; | |||
private floatMax; | |||
private increment; | |||
private showHistogram; | |||
private loadingData; | |||
private volledigGealligneerd; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
volledigGealigneerd, typoke
@@ -78,15 +80,15 @@ export class ReferentieLaagMap extends BaseMap { | |||
fill: 'rgba(255, 0, 0, 0.3)', | |||
hashed: true, | |||
}, | |||
geometries: [geometry], | |||
geometries: geometry.type === 'GeometryCollection' ? geometry.geometries : [geometry], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
voor consistentie hier ook simplifieren tot
geometries: geometry['geometries'] || [geometry],
update legend, result fill transparency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just nog diene typo
Issue #417