Пример #1
0
 internal void UpdateOverviewWindow(ViewerControl viewerControl)
 {
     if (this.sourceMap == null)
     {
         return;
     }
     viewerControl.ClearLayers();
     viewerControl.SetBaseLayer(this.mapTileSourceFactory.CreateDisplayableUnwarpedSource(this.sourceMap));
     viewerControl.setPinList(new List <PositionAssociationView>());
 }
Пример #2
0
        private void SetVEMapStyle(string s)
        {
            if (!VirtualEarthWebDownloader.StyleIsValid(s))
            {
                return;
            }

            VEroadView.Checked   = s == VirtualEarthWebDownloader.RoadStyle;
            VEaerialView.Checked = s == VirtualEarthWebDownloader.AerialStyle;
            VEhybridView.Checked = s == VirtualEarthWebDownloader.HybridStyle;
            viewer.SetBaseLayer(new VETileSource(cachePackage, s));
        }
Пример #3
0
 internal void UpdateOverviewWindow(ViewerControl viewerControl)
 {
     if (this.sourceMap == null)
     {
         return;
     }
     viewerControl.ClearLayers();
     viewerControl.SetBaseLayer(this.mapTileSourceFactory.CreateDisplayableUnwarpedSource(this.sourceMap));
     viewerControl.setPinList(new List<PositionAssociationView>());
 }