require_once("assets/mapfunctions.php");
$latitude = " ";
ereg("([NS])[ ]([0-9]{3})\°\;[ ]([0-9]{2})'[ ]([0-9\.]{5})\"\;", $latitude, $latitudeparts);
$longitude = " ";
ereg("([EW])[ ]([0-9]{3})\°\;[ ]([0-9]{2})'[ ]([0-9\.]{5})\"\;", $longitude, $longitudeparts);
$decimallatitude = $latitudeparts[2]+$latitudeparts[3]/60+$latitudeparts[4]/(60*60);
$decimallongitude = $longitudeparts[2]+$longitudeparts[3]/60+$longitudeparts[4]/(60*60);
$caption = "Pondering something.... sure don't know what...";
$location = "Toiyabe National Forest";
if ($location != " ")
$location .= ", ";
$city = " ";
if ($city != " ")
$city .= ", ";
$state = "Nevada";
?>
Las Vegas And Zion Trip
';
}
?>
Switch to topography map.";
else
print "Switch to satellite photograph.";
echo '';
}
?>