Windows phone 7 如何应用两个图钉之间的时间?

Windows phone 7 如何应用两个图钉之间的时间?,windows-phone-7,Windows Phone 7,我对wp7很陌生 要求:当日期值更改时,在bing地图上显示数据,当数据显示在bing地图上时,然后在特定位置创建一个新的图钉按钮。单击按钮时,它应该在消息框中显示位置、纬度和经度 但这项工作已经完成。现在我有一个播放按钮;当按下播放按钮时,数据会自动出现在bing地图上,但需要一些时差。那么,我如何给出两个图钉之间的时间呢 我的C代码是: for (int i = 0; i <= ClsGetDeviceMap.lstLongLatitude.Count-1; i++) {

我对wp7很陌生

要求:当日期值更改时,在bing地图上显示数据,当数据显示在bing地图上时,然后在特定位置创建一个新的图钉按钮。单击按钮时,它应该在消息框中显示位置、纬度和经度

但这项工作已经完成。现在我有一个播放按钮;当按下播放按钮时,数据会自动出现在bing地图上,但需要一些时差。那么,我如何给出两个图钉之间的时间呢

我的C代码是:

 for (int i = 0; i <= ClsGetDeviceMap.lstLongLatitude.Count-1; i++)
 {
     string lat, lon;
     lat = ClsGetDeviceMap.lstLatitude.ElementAt<string>(i).Trim();
     lon = ClsGetDeviceMap.lstLongLatitude.ElementAt<string>(i).Trim();
     Latitude = Convert.ToDouble(lat);
     LongLatitude = Convert.ToDouble(lon);
     GpsSpeed = 44.21811;

     map1.Center = new GeoCoordinate(Latitude, LongLatitude, GpsSpeed);
     map1.ZoomLevel = 17;
     map1.ZoomBarVisibility = Visibility.Visible;

     pin[i] = new Pushpin();
     pin[i].Location = new GeoCoordinate(Latitude, LongLatitude);



     map1.Children.Add(pin[i]);
     myCoorditeWatcher = new GeoCoordinateWatcher(GeoPositionAccuracy.High);
     myCoorditeWatcher.MovementThreshold = 20;


     var gl = GestureService.GetGestureListener(pin[i]);
     gl.Hold += new EventHandler<GestureEventArgs>(GestureListener_Hold);
     gl.Tap += new EventHandler<GestureEventArgs>(GestureListener_Stack_Tap);