Virtual Earth Silverlight地图控件CTP版发布

it2022-05-05  143

这几天由于MIX 09的召开,微软给我们带来不少好消息

比如Silverlight 3 Beta的发布,IE8正式版的发布

今天我们迎来另外一个好消息

基于Deep Zoom的Virtual Earth Silverlight地图控件CTP版也发布了

获取这个CTP版本的方式如下

登录Microsoft Connect网站填写一份强制性的调查

 

这样你就可以进入下载页面了

大家可以在这里体验下这个Control的一个做出来的效果

要使用它的方式如下:

下载并安装Microsoft Virtual Earth Silverlight Map Control CTP到一个目录引用Microsoft.VirtualEarth.MapControl.dll(在安装目录\CTP\Libraries\下可以找到)到Silverlight工程中

引用Map Control Assembly如下 1: <UserControl x:Class="SL3Beta.VEarth.MainPage" 2: xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 3: xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 4: xmlns:VE="clr-namespace:Microsoft.VirtualEarth.MapControl;assembly=Microsoft.VirtualEarth.MapControl"> 5: <Grid x:Name="LayoutRoot"> 6: </Grid> 7: </UserControl> 添加地图元素到Grid中如下 1: <UserControl x:Class="SL3Beta.VEarth.MainPage" 2: xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 3: xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 4: xmlns:VE="clr-namespace:Microsoft.VirtualEarth.MapControl;assembly=Microsoft.VirtualEarth.MapControl"> 5: <Grid x:Name="LayoutRoot"> 6: <VE:Map/> 7: </Grid> 8: </UserControl>   这样我们就获得了初始化的Virtual Earth的地图界面了

转载于:https://www.cnblogs.com/ibillguo/archive/2009/03/22/1418732.html

相关资源:各显卡算力对照表!

最新回复(0)