日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

DeepEarth更新到Silverlight 4了

發(fā)布時間:2024/4/11 编程问答 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 DeepEarth更新到Silverlight 4了 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

  很久沒有關注DeepEarth的更新進展了,昨晚上CodePlex看發(fā)現(xiàn)DeepEarth已經(jīng)更新到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,在幾何框架中并通過新創(chuàng)建的LocationBase類替換了原來在Silverlight版本中的PointBase基類,并使用了經(jīng)度(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啟用了硬件加速的支持,另外還優(yōu)化了DeepEarth的內置控件,升級到Silverlighg 4后我們可以在VS2010或是Blend4中設計更佳美觀、炫麗的UI效果。

?

推薦資源:

  DeepEarth開發(fā)文章匯總

?????【Silverlight】Bing Maps系列文章

???? http://deepearth.codeplex.com/

?

總結

以上是生活随笔為你收集整理的DeepEarth更新到Silverlight 4了的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內容還不錯,歡迎將生活随笔推薦給好友。