Thursday 15 April 2010

c# - How plot polylines Bing Map Silverlight Control -


I am using Bing Maps controls for Windows Phone 7 and my polyline only plots in the emulator. Nothing happens when I go to the device ...

  XDocument doc = XDocument.Parse (getRoute1 ()); // Private string getRoute1 () Returns GPX file var ns = doc.Root.GetDefaultNamespace (); (==================================================================== (trkpt.Attribute ( "Lat"). Value, longitude = double. Mercury (trkpt.Attribute ("lon"). Value)}). ToLocationCollection (); MapPolyline.Locations = loc; Maps.Children.Add (mapPolyline);    

  public manpage () {InitializeComponent (); Double [] latitudes = {50.21934078740, 33.563511, 19.51171 9, 25.3125}; Double [] long time = {23.0518068854053, 35.36825 9, -14.43468, 67.542167}; this. Drepoline (latitudes, regiments); } Private Zero DrawPolyLine (double [] latitude, double [] long) {Mapopolynline = new mapPollline (); Line. Stroke = new SolidColorBrush (colors.Brown); line. Trunkchod = 3; Line. Location = new locationcollection (); For (int i = 0; i    

No comments:

Post a Comment