Skip to content
Snippets Groups Projects
Commit f821ed67 authored by icyrizard's avatar icyrizard
Browse files

worked on report

parent 07df823e
No related branches found
No related tags found
No related merge requests found
\section{Area API} \section{Area API}
\label{sec: area_api} \label{sec:area_api}
\begin{lstlisting} \begin{lstlisting}
# Terms # Terms
......
This diff is collapsed.
...@@ -61,6 +61,5 @@ In this thesis we discuss the design and implementation of a cross platform appl ...@@ -61,6 +61,5 @@ In this thesis we discuss the design and implementation of a cross platform appl
\bibliography{references} \bibliography{references}
\newpage \newpage
\appendix \appendix
\label{appendixA}
\include{area_api} \include{area_api}
\end{document} \end{document}
\ No newline at end of file
...@@ -5,7 +5,6 @@ Ext.define('app.store.FloodDetailStore', { ...@@ -5,7 +5,6 @@ Ext.define('app.store.FloodDetailStore', {
config: { config: {
autoLoad: true, autoLoad: true,
model: 'app.model.SimulationDetails',
fields: ['name', 'center', 'corners', 'size', 'extents', 'visbounds', 'vissize', 'projection', 'dikes'], fields: ['name', 'center', 'corners', 'size', 'extents', 'visbounds', 'vissize', 'projection', 'dikes'],
proxy: { proxy: {
type: 'rest', type: 'rest',
......
...@@ -6,7 +6,7 @@ Ext.define('app.store.SimulationStore', { ...@@ -6,7 +6,7 @@ Ext.define('app.store.SimulationStore', {
config: { config: {
autoLoad: true, autoLoad: true,
model: "app.model.SimulationModel", fields: ['name', 'corners', 'visbounds', 'area_id', 'center'],
proxy: { proxy: {
type: 'rest', type: 'rest',
url: 'http://sangkil.science.uva.nl:8003/area/list.json', url: 'http://sangkil.science.uva.nl:8003/area/list.json',
......
...@@ -14,7 +14,7 @@ Ext.define('app.view.Chart', { ...@@ -14,7 +14,7 @@ Ext.define('app.view.Chart', {
theme: 'Base', theme: 'Base',
animate: true, animate: true,
id: 'flood-chart-id', id: 'flood-chart-id',
store: 'chartStore', store: ',',
left: 20, left: 20,
width: 490, width: 490,
height: 400, height: 400,
...@@ -63,23 +63,6 @@ Ext.define('app.view.Chart', { ...@@ -63,23 +63,6 @@ Ext.define('app.view.Chart', {
top: 0, top: 0,
iconCls: 'delete', iconCls: 'delete',
iconMask: true, iconMask: true,
//style: 'background: url(resources/images/closebutton50.png) no-repeat; background-size: 30px; border: none',
}], }],
// {
// xtype: 'button',
// ui: 'toggle',
// top: 0,
// right: 0,
// text: 'drag'
// },
// {
// xtype: 'button',
// id: 'expand-button',
// bottom: 0,
// right: 0,
// iconCls: 'expand',
// iconMask: true,
// }]
} }
}); });
\ No newline at end of file
...@@ -97,7 +97,7 @@ Ext.define('app.view.Map', { ...@@ -97,7 +97,7 @@ Ext.define('app.view.Map', {
// 'http://sangkil.science.uva.nl:8003/drfsm/199419691/visualization/level/map/600.png' // 'http://sangkil.science.uva.nl:8003/drfsm/199419691/visualization/level/map/600.png'
// 'http://sangkil.science.uva.nl:8003/drfsm/207/visualization/level/map/300.png' ; // 'http://sangkil.science.uva.nl:8003/drfsm/207/visualization/level/map/300.png' ;
/*create overlays with area_id, bounds and timesteps /*create overlays with area_id, bounds and timesteps
* Bounds: array(4) * Bounds: array(4)
*/ */
createOverlayImage: function(bounds, area_id, timesteps, simulationType) { createOverlayImage: function(bounds, area_id, timesteps, simulationType) {
var me = this; var me = this;
...@@ -118,13 +118,10 @@ Ext.define('app.view.Map', { ...@@ -118,13 +118,10 @@ Ext.define('app.view.Map', {
this.bounds = bounds; this.bounds = bounds;
if (this.overlayImages.length > 1) if (this.overlayImages.length > 1)
this.removeImages(); this.removeImages();
//var image = 'http://sangkil.science.uva.nl:8003/lsm/' + area_id +'/visualization/level/map/400.png';
for (i in timesteps) for (i in timesteps)
{ {
//var image = 'http://sangkil.science.uva.nl:8003/drfsm/' + area_id + '/visualization/level/map/' + timesteps[i] + '.png';
var image = new Image(); var image = new Image();
image.src = url + timesteps[i] + '.png'; image.src = url + timesteps[i] + '.png';
console.log(image.src);
this.overlayImages.push(new google.maps.GroundOverlay(image.src, this.imageBounds)); this.overlayImages.push(new google.maps.GroundOverlay(image.src, this.imageBounds));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment