- App check if running on device or emulator

- LocationString on update
- web app markers icons
This commit is contained in:
2011-05-09 13:20:44 +03:00
parent 72c1bbdcfc
commit 1f79fa6349
9 changed files with 72 additions and 118 deletions
@@ -46,13 +46,16 @@ namespace MyFriendsAround.Web.Controllers
FriendsRepository.GetFriends().ForEach(f =>
{
string imageUrl = string.Format("https://myfriendsaround.blob.core.windows.net/profiles/profile_{0}.jpg", f.Id);
Marker marker = new Marker
{
html = f.FriendName,
lat = f.Latitude.ToString(),
lng = f.Longitude.ToString(),
label = f.FriendName
};
{
html = f.FriendName,
icon = imageUrl,
lat = f.Latitude.ToString(),
lng = f.Longitude.ToString(),
label = f.FriendName,
lastUpdated = f.LastUpdated.ToString()
};
list.markers.Add(marker);
});