mirror of
https://github.com/farcasclaudiu/myfriendsaround.git
synced 2026-06-29 15:01:45 +03:00
init commit
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user