internal void UpdateOverviewWindow(ViewerControl viewerControl) { if (this.sourceMap == null) { return; } viewerControl.ClearLayers(); viewerControl.SetBaseLayer(this.mapTileSourceFactory.CreateDisplayableUnwarpedSource(this.sourceMap)); viewerControl.setPinList(new List <PositionAssociationView>()); }
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)); }
internal void UpdateOverviewWindow(ViewerControl viewerControl) { if (this.sourceMap == null) { return; } viewerControl.ClearLayers(); viewerControl.SetBaseLayer(this.mapTileSourceFactory.CreateDisplayableUnwarpedSource(this.sourceMap)); viewerControl.setPinList(new List<PositionAssociationView>()); }