Commit f821ed67 authored by icyrizard's avatar icyrizard

worked on report

parent 07df823e
\section{Area API}
\label{sec: area_api}
\label{sec:area_api}
\begin{lstlisting}
# Terms
......
This diff is collapsed.
......@@ -61,6 +61,5 @@ In this thesis we discuss the design and implementation of a cross platform appl
\bibliography{references}
\newpage
\appendix
\label{appendixA}
\include{area_api}
\end{document}
\ No newline at end of file
......@@ -5,7 +5,6 @@ Ext.define('app.store.FloodDetailStore', {
config: {
autoLoad: true,
model: 'app.model.SimulationDetails',
fields: ['name', 'center', 'corners', 'size', 'extents', 'visbounds', 'vissize', 'projection', 'dikes'],
proxy: {
type: 'rest',
......
......@@ -6,7 +6,7 @@ Ext.define('app.store.SimulationStore', {
config: {
autoLoad: true,
model: "app.model.SimulationModel",
fields: ['name', 'corners', 'visbounds', 'area_id', 'center'],
proxy: {
type: 'rest',
url: 'http://sangkil.science.uva.nl:8003/area/list.json',
......
......@@ -14,7 +14,7 @@ Ext.define('app.view.Chart', {
theme: 'Base',
animate: true,
id: 'flood-chart-id',
store: 'chartStore',
store: ',',
left: 20,
width: 490,
height: 400,
......@@ -63,23 +63,6 @@ Ext.define('app.view.Chart', {
top: 0,
iconCls: 'delete',
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', {
// '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' ;
/*create overlays with area_id, bounds and timesteps
* Bounds: array(4)
* Bounds: array(4)
*/
createOverlayImage: function(bounds, area_id, timesteps, simulationType) {
var me = this;
......@@ -118,13 +118,10 @@ Ext.define('app.view.Map', {
this.bounds = bounds;
if (this.overlayImages.length > 1)
this.removeImages();
//var image = 'http://sangkil.science.uva.nl:8003/lsm/' + area_id +'/visualization/level/map/400.png';
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();
image.src = url + timesteps[i] + '.png';
console.log(image.src);
this.overlayImages.push(new google.maps.GroundOverlay(image.src, this.imageBounds));
}
......
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