init commit

This commit is contained in:
2011-03-23 11:58:56 +02:00
commit 356079222a
315 changed files with 71380 additions and 0 deletions
@@ -0,0 +1,10 @@
@{
ViewBag.Title = "About My Friends Around";
}
<h2>About this site</h2>
<p>
My Friend Around website aims to show users map geolocation.<br />
It is a proof of concept sample used in Windows Phone 7 integration presentation.
</p>
@@ -0,0 +1,24 @@
@using GoogleMaps.Models
@{
ViewBag.Title = "My Friends Around - Home Page";
}
<div>
<h2>@ViewBag.Message</h2>
</div>
<p>
@Html.Raw(Html.DrawMap("ABQIAAAAksAhKXCpVW3aANz3gzuv4xT2yXp_ZAY8_ufC3CFXhHIE1NvwkxRJW_HFuarMuHR-nqN1g7x09OKIPQ", "/Home/GetMarkers?timestamp=" + DateTime.Now.Ticks.ToString(), "1000", "500"))
<script type="text/javascript">
function getTimeFromserver() {
var now = new Date();
$.ajax({
url: '/Home/GetMarkers',
success: function (html) {
processmarkers(html);
}
});
}
$(document).ready(function () {
setInterval('getTimeFromserver();', 3000);
});
</script>
</p>