Skip to content

Commit

Permalink
v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
eflowbeach committed Sep 11, 2016
1 parent de19a48 commit 1728701
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8" />
<title>Mobile EDD v2.0.1</title>
<title>Mobile EDD v2.1</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
19 changes: 4 additions & 15 deletions source/class/mobileedd/page/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -2175,21 +2175,8 @@ qx.Class.define("mobileedd.page.Map",
}
if (selectedItem.indexOf("Monitor") !== -1)
{
//var ll = ol.proj.transform(e.coordinate, 'EPSG:3857', 'EPSG:4326');
me.setMyPosition(e.coordinate);
me.checkWwaAtLocation();

//var myPosition = ol.proj.transform([-82.9, 29.28], 'EPSG:4326', 'EPSG:3857');

// mobileedd.page.Forecast.getInstance();

// var text = new qx.event.message.Message("edd.forecast");

// text.setData(ll);

// qx.core.Init.getApplication().getRouting().executeGet("/forecast");

// me.bus.dispatch(text);
return;
}
if (selectedItem == "Set Travel Destination")
Expand All @@ -2216,7 +2203,7 @@ qx.Class.define("mobileedd.page.Map",
}
if (selectedItem.indexOf("Hydrograph") !== -1)
{
var key = selectedItem; //.split('Hydrograph - ')[1];
var key = selectedItem;
var text = new qx.event.message.Message("edd.hydrograph");
text.setData(hydrographs[key]);
qx.core.Init.getApplication().getRouting().executeGet("/hydrograph");
Expand All @@ -2225,7 +2212,7 @@ qx.Class.define("mobileedd.page.Map",
}
if (selectedItem.indexOf("Ob - ") !== -1)
{
var key = selectedItem; //.split('Hydrograph - ')[1];
var key = selectedItem;
var text = new qx.event.message.Message("edd.observation");
text.setData(observations[key]);
qx.core.Init.getApplication().getRouting().executeGet("/observation");
Expand Down Expand Up @@ -2339,6 +2326,8 @@ qx.Class.define("mobileedd.page.Map",
}
})
}

// Make Hazard options for menu
var hsplit = selectedItem.split(' - ');
var htype1 = hsplit[0];
var hetn = hsplit[1].replace('#', '');
Expand Down
2 changes: 1 addition & 1 deletion source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8" />
<title>Mobile EDD v2.0.1</title>
<title>Mobile EDD v2.1</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down

0 comments on commit 1728701

Please sign in to comment.