- 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
@@ -67,7 +67,7 @@ namespace MyFriendsAround.Data.BLL
locateFriend.FriendName = friend.FriendName;
locateFriend.FriendImageUrl = friend.FriendImageUrl;
locateFriend.LastUpdated = friend.LastUpdated;
locateFriend.LocationStr = friend.LocationStr;
locateFriend.LocationStr = string.Format("POINT({0} {1})", friend.Latitude, friend.Longitude);
ctx.ObjectStateManager.ChangeObjectState(locateFriend, System.Data.EntityState.Modified);
}