【原创翻译】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和问题修复(不详细翻译了)

 

posted @ 2014-10-08 10:32  江海不系舟  阅读(2849)  评论(0编辑  收藏  举报