DeepEarth更新到Silverlight 4了

DeepEarth已升级至Silverlight4版本,包括新增SL4分支文件夹、更新GeoAPI和NetTopologySuite等。核心控件如MapControl、TileProvider等均升级至Silverlight4,优化了UI设计和硬件加速支持。同时,引入了新的LocationBase类替换PointBase类,并使用经纬度坐标。推荐资源包含DeepEarth开发文章汇总及Silverlight系列文章。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  很久没有关注DeepEarth的更新进展了,昨晚上CodePlex看发现DeepEarth已经更新到Silverlight 4版本了,并且做了许多的改变,主要包括如下:

  Added SL4 branch folders.
  Added upgraded SL4 GeoAPI, NetTopologySuite.
  Added SL4 Silverlight toolkit library dlls (April 2010).

  Upgraded DeepEarth MapControl to Silverlight 4
  Upgraded all DeepEarth TileProviders to Silverlight 4
  Upgrade DeepEarth MapControl to use Silverlight 4 inbuilt MouseWheel Events
  Create new LocationBase class to replace the PointBase class, and uses Latitude & Longitude
  Enable Hardware Acceleration for the MapControl
  Upgraded the core controls (navigation, coordinates etc) to Silverlight 4 & integrate with map project.
  Fixed Styles for controls and C# code to allow Styles/Templates to display correctly at design time in both VS2010 & Blend 4 RC
  Remove the dependicy/referance to NetopologySuite Project and include the relevant parts in our code, upgraded to SL4 code.
  Provide an example of a separate control that is a separate project interacting with the map = eg, layer control.
  Tested everything works in Out of Browser Mode (OOB)

 

  DeepEarth从Silverlight 3升级到了Silverlight 4,在几何框架中并通过新创建的LocationBase类替换了原来在Silverlight版本中的PointBase基类,并使用了经度(Longitude)和纬度(Latitude)替换了旧版本PointBase中使用的X,Y。

        /// <summary>
        
///  The Latitude coordinate of the point
        
/// </summary>

        public double  Longitude
        {
            
get { return
 Point.X; }
            
set

            {
                _Point.X 
=  value;
                Point 
=
 _Point;
            }
        }

        
/// <summary>

        
///  The Longitude coordinate of the point
        
/// </summary>

        public double  Latitude
        {
            
get { return
 Point.Y; }
            
set
 
            {
                _Point.Y 
=
 value;
                Point 
=
 _Point;
            }
        }

 

 

  同时还为MapControl启用了硬件加速的支持,另外还优化了DeepEarth的内置控件,升级到Silverlighg 4后我们可以在VS2010或是Blend4中设计更佳美观、炫丽的UI效果。

 

推荐资源:

  DeepEarth开发文章汇总

     【Silverlight】Bing Maps系列文章

     http://deepearth.codeplex.com/

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值