コード例 #1
0
 private void OnLoaded(object sender, RoutedEventArgs e)
 {
     vectorLayer = new C1VectorLayer();
     Map.Source  = new VirtualEarthRoadSource();
     Map.Layers.Add(vectorLayer);
     if (!MainPage.IsWindowsPhoneDevice())
     {
         scaleLayer      = new C1VectorLayer();
         ScaleMap.Source = new VirtualEarthRoadSource();
         ScaleMap.Layers.Add(scaleLayer);
     }
     collectionView          = DataService.GetService().ProductWiseSaleCollection;
     ProductList.ItemsSource = DataService.GetService().ProductList;
     RegionList.ItemsSource  = DataService.GetService().RegionList;
     ProductList.SelectAll();
     RegionList.SelectAll();
 }