bing map for wpf 怎么显示中文地图

添加一下代码:

 string suriFormat = "http://r2.tiles.ditu.live.com/tiles/r{quadkey}.png?g=41";

            Microsoft.Maps.MapControl.WPF.TileSource tileSource = new Microsoft.Maps.MapControl.WPF.TileSource(suriFormat);

            Microsoft.Maps.MapControl.WPF.MapTileLayer tileLayer = new Microsoft.Maps.MapControl.WPF.MapTileLayer(); //初始化一个图层

            tileLayer.TileSource = tileSource;

            tileLayer.Opacity = 0.9;

            this.bingmap1.Children.Add(tileLayer);

            this.bingmap1.Mode = new Microsoft.Maps.MapControl.WPF.MercatorMode();

 

你可能感兴趣的:(bing)