【原創翻譯】ArcGis Android 10.2.4更新內容簡介


翻譯不當和錯誤之處敬請指出

更新內容官方描述

https://developers.arcgis.com/android/guide/release-notes-10-2-4.htm

10.2.4的版本注釋

本主題介紹Android版本的SDK 10.2.4 ArcGIS運行時的變化。

如果你使用的是Eclipse或ADT作為你的開發環境,你可以使用Upgrade ArcGIS projects工具,提供的SDK,更新你的ArcGIS項目最新安裝的版本。

最低支持的android api版本

10.2.4支持的最低android版本改為android 4.0.1了(API level 14)。

向量和柵格數據的本地直接支持

Shapefile,kml,geopackages現在可以在地圖上顯示了(終於支持shapefile了,WTF!!)

支持的柵格數據格式:

  • ASRP/USRP
  • CIB1,5,10
  • DTED0, 1, 2
  • GeoPackage
  • GeoTIFF
  • HFA
  • HRE
  • IMG
  • JPEG
  • JPEG2000
  • NITF
  • PNG
  • RPF
  • SRTM1, 2

Ps:存儲在getodatabases中的柵格數據不支持

空間分析功能(測試)

不支持x86的android設備

支持wmts服務

Web map加強

支持圖片服務圖層和WMTS服務

離線api效率提升

地圖操作和性能提升

新的放縮手勢(雙擊拖動),例如雙擊之后向上滑可以放大,雙擊之后向下滑可以縮小。第二次點擊之后不能離開屏幕,直接向下滑動。這個手勢動作可以重寫,放縮程度取決於滑動的距離。只考慮豎直方向的距離,水平方向的距離不計算。

Callout加強

Callout的大小最大可以和mapview一般大

現在callout的大小由內部的view決定(通過px或者dp來設置)

增強callout的顯示/隱藏的動畫效果

API breaking changes

  • AttachmentManager.retrieveAttachmentInfos behavioral change: The attachmentListener now calls back on worker thread while previously called back on UI thread.

(這個功能沒用過我翻譯不到),好像是某個方法的回調函數的所在線程改為worker線程了

新增功能

l  新增地圖長按事件(MapOnTouchListener.onLongPressUp event),簡化工作流程。

l  添加了 點擊拖動和雙擊拖動事件到 MapOnTouchListener

l  添加一個清除緩存認證的方法,用於解決apachehttp服務器緩存的認證授權。

l  添加新的mapview構造函數,用於離線地圖的構造。允許在線和離線底圖(tpk)切換。

l  添加底圖切換方法(MapView.switchBasemap )

l  ded async methods createPopupInfo, fetchPopupInfo, and fetchLayerServiceInfo to ArcGISTiledMapServiceLayer and ArcGISDynamicMapServiceLayer. Also added simple getter for getLayerServiceInfo to the ArcGISDynamicMapServiceLayer.

l  Added get/setDefinitionExpression methods on a FeatureLayer to filter out features to be displayed.

l  添加新的方法來設置最大callout的高寬和offset,通過px或dp。可以通過設置決定是否讓callout上的事件傳遞到mapview上

l  添加 getTimeExtent, getTimeInfo, getTimeInterval and isTimeAware方法到 ArcGISImageServiceLayer 來支持時間感知的場景。

l  添加 setBufferEnabled可以設置是否緩存瓦片圖層

l  添加KMLLayer用來支持網絡和本地kml數據文件。

廢棄功能(感覺是些無關緊要的,就不翻譯了)

  • The MapGestureDetector class and OnGestureListener interface have been deprecated since they are intended for internal use only; use the MapOnTouchListener or other listeners in the com.esri.android.map.event package instead.
  • Deprecated the synchronous createPopupInfo and getPopupInfo in ArcGISTiledMapServiceLayer and ArcGISDynamicMapServiceLayer; use the alternative methods with callback parameters instead.
  • Deprecated the fetchLayerInfo method on the ArcGISPopupInfo class; refer to the new alternative methods on the ArcGISTiledMapServiceLayer and ArcGISDynamicMapServiceLayer classes instead.
  • Deprecated CalloutPopupWindow in favor of Callout (which has been enhanced as described in the section above).
  • Deprecated the get and set methods for title text attributes in CalloutStyle (for example, get/setTitleTextColor), as callout titles were removed in a previous release.
  • Deprecated the KMLLayer class in the com.esri.android.map.ogc package; this is superseded by the new KMLLayer class in the com.esri.android.map.ogc.kml package.

SDK中添加和更新的內容

l  添加了幾個sample(GeoJSONEarthquakeMap, ClassBreaksRenderer, UniqueValueRenderer, and DynamicLayerRenderer).)

l  所有sample的最低支持的android版本都修改為api level 15,有些例子中修改為使用fragment的架構,更加新的用戶使用界面

l  添加了一些使用幫助文檔

Bug和問題修復(不詳細翻譯了)

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM