Commit 8d8d2300 authored by Pettersson Tomas's avatar Pettersson Tomas

testing

parent 983792c8
This diff is collapsed.
......@@ -578,9 +578,15 @@ var EXTrajectory = (function (_super) {
var wantedTimeIncrementlength = Math.round(((Math.abs(this.from - this.to) / 1000) / 60) / timeIncrement);
var coords = self.drawnfeature.geometry.coordinates.slice(0);
while (coords.length < wantedTimeIncrementlength) {
// too small, add points
// too small, add random points
var index = self.getRandomInt(1, currentlength - 1);
coords.splice(index, 0, [coords[index][0], coords[index][1]]);
var newpoint = [(coords[index][0] + coords[index + 1][0]) / 2, (coords[index][1] + coords[index + 1][1]) / 2];
coords.splice(index + 1, 0, newpoint);
}
while (coords.length > wantedTimeIncrementlength) {
// too big, remove random points
var index = self.getRandomInt(1, currentlength - 1);
coords.splice(index, 1);
}
self.time = [];
var t = self.from.clone();
......
This diff is collapsed.
......@@ -673,11 +673,19 @@ class EXTrajectory extends STWkit.AccordionCard {
var coords = self.drawnfeature.geometry.coordinates.slice(0);
while(coords.length < wantedTimeIncrementlength) {
// too small, add points
// too small, add random points
var index = self.getRandomInt(1, currentlength-1);
coords.splice(index, 0, [coords[index][0], coords[index][1]]);
var newpoint = [(coords[index][0]+coords[index+1][0])/2,(coords[index][1]+coords[index+1][1])/2];
coords.splice(index+1, 0, newpoint);
}
while(coords.length > wantedTimeIncrementlength) {
// too big, remove random points
var index = self.getRandomInt(1, currentlength-1);
coords.splice(index, 1);
}
self.time = [];
var t = self.from.clone();
for (var i = 0; i < coords.length; i++) {
......
......@@ -43,7 +43,7 @@ var L;
this.accordionDiv = L.DomUtil.create('div', 'uk-accordion', this.container);
var locationid = self.initials + 'locationCard';
self.cardMap[locationid] = new EXLocation(locationid, this.accordionDiv, self.lang, self.langData, map, self.forcing, self.obs, self.type, self.subtype, self.initials);
// self.cardMap[locationid].show();
self.cardMap[locationid].show();
var periodid = self.initials + 'periodCard';
var periodoptions = {};
periodoptions['type'] = this.type;
......@@ -63,11 +63,11 @@ var L;
self.cardMap[trajectoryid] = new EXTrajectory(trajectoryid, this.accordionDiv, self.lang, self.langData, map, self.domain, self.type, self.subtype, self.initials);
this.cardMap[periodid].addChangeFnListener(this.cardMap[trajectoryid]);
this.cardMap[trajectoryid].addChangeFnListener(this.cardMap[periodid]);
self.cardMap[trajectoryid].show(); // comment out
// self.cardMap[trajectoryid].show(); // comment out
_super.prototype.setup.call(this, map);
var chain = [];
// chain[locationid] = periodid;
chain[trajectoryid] = periodid; // comment out
chain[locationid] = periodid;
// chain[trajectoryid] = periodid; // comment out
chain[periodid] = oiltypeid;
chain[oiltypeid] = amountid;
chain[amountid] = trajectoryid;
......
{"version":3,"file":"leaflet-exercise-control.js","sourceRoot":"","sources":["leaflet-exercise-control.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,yCAAyC;AACzC,yCAAyC;AACzC,wCAAwC;AACxC,wCAAwC;AACxC,yCAAyC;AACzC,kDAAkD;;;;;;;;;;;AAKlD,IAAO,CAAC,CAwGP;AAxGD,WAAO,CAAC;IAAC,IAAA,OAAO,CAwGf;IAxGQ,WAAA,OAAO;QACZ;YAA8B,4BAAkB;YAgB5C,kBAAY,OAAO;gBAAnB,YACI,kBAAM,OAAO,CAAC,SAcjB;gBAbG,KAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;gBACvB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;oBACjB,KAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;gBACjC,CAAC;gBAED,KAAI,CAAC,IAAI,GAAG,UAAU,CAAC;gBACvB,KAAI,CAAC,OAAO,GAAG,SAAS,CAAC;gBACzB,KAAI,CAAC,IAAI,GAAG,UAAU,CAAC;gBACvB,KAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;gBACrB,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;oBAChB,KAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;gBACzB,CAAC;;YAEL,CAA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AC,CAAC;gBAC5C,CAAC,CAAC;gBACF,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,UAAU,GAAG,UAAC,MAAM;oBACxC,iBAAM,QAAQ,aAAC,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACF,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,UAAU,GAAG,UAAC,MAAM;oBACvC,iBAAM,QAAQ,aAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;gBAC5C,CAAC,CAAC;gBACF,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,UAAU,GAAG,UAAC,MAAM;oBAC3C,iBAAM,QAAQ,aAAC,KAAK,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;gBAChD,CAAC,CAAC;YAIN,CAAC;YAEM,wBAAK,GAAZ,UAAa,IAAI;gBACb,iBAAM,KAAK,YAAC,IAAI,CAAC,CAAC;YACtB,CAAC;YAEO,wBAAK,GAAb;gBACI,iBAAM,KAAK,WAAE,CAAC;YAClB,CAAC;YACO,uBAAI,GAAZ;YACA,CAAC;YACO,uBAAI,GAAZ;YACA,CAAC;YAEL,eAAC;QAAD,CAAC,AAtGD,CAA8B,MAAM,CAAC,WAAW,GAsG/C;QAtGY,gBAAQ,WAsGpB,CAAA;IACL,CAAC,EAxGQ,OAAO,GAAP,SAAO,KAAP,SAAO,QAwGf;AAAD,CAAC,EAxGM,CAAC,KAAD,CAAC,QAwGP"}
\ No newline at end of file
......@@ -49,7 +49,7 @@ module L.Control {
this.accordionDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-accordion', this.container);
var locationid = self.initials+'locationCard';
self.cardMap[locationid] = new EXLocation(locationid, this.accordionDiv, self.lang, self.langData, map, self.forcing, self.obs, self.type, self.subtype, self.initials);
// self.cardMap[locationid].show();
self.cardMap[locationid].show();
var periodid = self.initials+'periodCard';
var periodoptions = {};
periodoptions['type'] = this.type;
......@@ -70,11 +70,11 @@ module L.Control {
self.cardMap[trajectoryid] = new EXTrajectory(trajectoryid, this.accordionDiv, self.lang, self.langData, map, self.domain, self.type, self.subtype, self.initials);
this.cardMap[periodid].addChangeFnListener(this.cardMap[trajectoryid]);
this.cardMap[trajectoryid].addChangeFnListener(this.cardMap[periodid]);
self.cardMap[trajectoryid].show(); // comment out
// self.cardMap[trajectoryid].show(); // comment out
super.setup(map);
var chain = [];
// chain[locationid] = periodid;
chain[trajectoryid] = periodid; // comment out
chain[locationid] = periodid;
// chain[trajectoryid] = periodid; // comment out
chain[periodid] = oiltypeid;
chain[oiltypeid] = amountid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment