Commit e3407ee0 authored by Tomas Pettersson's avatar Tomas Pettersson 🏸

added domain

parent abc5daf8
...@@ -176,6 +176,7 @@ ...@@ -176,6 +176,7 @@
locationoptions['polygon']['show'] = true; locationoptions['polygon']['show'] = true;
// locationoptions['polygon']['name'] = 'Area'; // locationoptions['polygon']['name'] = 'Area';
locationoptions['circle'] = false; locationoptions['circle'] = false;
locationoptions['domain'] = domainname;
locationoptions['type'] = type; locationoptions['type'] = type;
locationoptions['subtype'] = subtype; locationoptions['subtype'] = subtype;
// locationoptions['outlettype'] = false; // locationoptions['outlettype'] = false;
...@@ -184,6 +185,7 @@ ...@@ -184,6 +185,7 @@
this.cardMap[locationid] = new STWkit.LocationCard(locationid, 'Specify location', this.accordionDiv, this.lang, this.langData, map, this.forcing, locationoptions); this.cardMap[locationid] = new STWkit.LocationCard(locationid, 'Specify location', this.accordionDiv, this.lang, this.langData, map, this.forcing, locationoptions);
this.cardMap[locationid].show(); this.cardMap[locationid].show();
var periodoptions = {}; var periodoptions = {};
periodoptions['domain'] = domainname;
periodoptions['type'] = type; periodoptions['type'] = type;
periodoptions['subtype'] = subtype; periodoptions['subtype'] = subtype;
periodoptions['initials'] = initials; periodoptions['initials'] = initials;
...@@ -191,6 +193,7 @@ ...@@ -191,6 +193,7 @@
var periodid = 'periodCard'; var periodid = 'periodCard';
this.cardMap[periodid] = new STWkit.PeriodCard(periodid, 'Simulation period', this.accordionDiv, this.lang, map, this.domain, this.forcingmodel, periodoptions); this.cardMap[periodid] = new STWkit.PeriodCard(periodid, 'Simulation period', this.accordionDiv, this.lang, map, this.domain, this.forcingmodel, periodoptions);
var oiltypeoptions = {}; var oiltypeoptions = {};
oiltypeoptions['domain'] = domainname;
oiltypeoptions['type'] = type; oiltypeoptions['type'] = type;
oiltypeoptions['subtype'] = subtype; oiltypeoptions['subtype'] = subtype;
oiltypeoptions['initials'] = initials; oiltypeoptions['initials'] = initials;
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
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