internal void addPolyline(IMapPolyline polylineSource, Color color, double width)
        {
            // Does it already exist?
            if (polylines.ContainsKey(polylineSource))
                return;

            LocationCollection lc = new LocationCollection();
            foreach (Location loc in polylineSource.Locations)
                lc.Add(loc);

            // Add to the UI
            MapPolyline pl = new MapPolyline() { Locations = lc, Color = color, Width = width };
            polylinesLayer.Shapes.Add(pl);
            // And add to our location collection
            polylines.Add(polylineSource, pl);
        }
 public void removePolyline(IMapPolyline polylineSource)
 {
     polylineManager.removePolyline(polylineSource);
 }
 public void addPolyline(IMapPolyline polylineSource, Color color, double width)
 {
     polylineManager.addPolyline(polylineSource, color, width);
 }
 internal void removePolyline(IMapPolyline polylineSource)
 {
     throw new NotImplementedException();
 }