public GeoRSSLayer()
     : base()
 {
     loader = new GeoRSSLoader();
     loader.LoadCompleted += loader_LoadCompleted;
     loader.LoadFailed += loader_LoadFailed;
 }
 private void loader_LoadCompleted(object sender, GeoRSSLoader.RssLoadedEventArgs e)
 {
     this.Features.Clear();
     foreach (Feature f in e.Features)
     {
         f.Style = Style;
         this.Features.Add(f);
     }
     if (!IsInitialized)
         base.Initialize();
 }
 private void loader_LoadFailed(object sender, GeoRSSLoader.RssLoadFailedEventArgs e)
 {
     this.Error = e.ex;
     if (!IsInitialized)
         base.Initialize();
 }