consolidate php second batch
This commit is contained in:
@@ -69,11 +69,11 @@ var elevbottom = getUrlVars()["elevbottom"];
|
||||
var elevtop = getUrlVars()["elevtop"];
|
||||
|
||||
if (querytype == "bbox") {
|
||||
var camurl = "camobs.php?camstatic=bbox&lat1=" + lat1 + "&lon1=" + lon1 + "&lat2=" + lat2 + "&lon2=" + lon2 + "&elevbottom=" + elevbottom + "&elevtop=" + elevtop;
|
||||
var camurl = "main.php?service=camobs&camstatic=bbox&lat1=" + lat1 + "&lon1=" + lon1 + "&lat2=" + lat2 + "&lon2=" + lon2 + "&elevbottom=" + elevbottom + "&elevtop=" + elevtop;
|
||||
}
|
||||
|
||||
if (querytype == "radius") {
|
||||
var camurl = "camobs.php?camstatic=radius&lat1=" + lat1 + "&lon1=" + lon1 + "&radius=" + radius;
|
||||
var camurl = "main.php?service=camobs&camstatic=radius&lat1=" + lat1 + "&lon1=" + lon1 + "&radius=" + radius;
|
||||
}
|
||||
|
||||
console.log(camurl);
|
||||
|
||||
Reference in New Issue
Block a user