zoukankan      html  css  js  c++  java
  • DeepEarth更新到Silverlight 4了

      很久没有关注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/

  • 相关阅读:
    原则之读书笔记(生活篇)
    为 Nginx 添加 HTTP 基本认证(HTTP Basic Authentication)
    Linux搜索所有文件中的内容
    Js实现Table动态添加一行的小例子
    Android必学之数据适配器BaseAdapter
    技术共享之常见的6中种方法检测手机是否是虚拟机
    修改MySql数据库的默认时
    space.php
    self.location.href
    宝塔搭建laravel所需要的lnmp环境linux-nginx-mysql-php-composer-git
  • 原文地址:https://www.cnblogs.com/beniao/p/1734924.html
Copyright © 2011-2022 走看看