翻译不当和错误之处敬请指出

更新内容官方描述

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

10.2.4的版本注释

本主题介绍Android版本的SDK10.2.4ArcGIS运行时的变化。

如果你使用的是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和问题修复(不详细翻译了)

更多相关文章

  1. 为Android内核添加新驱动,并添加到menuconfig菜单【实践简记】
  2. android studio打包apk时遇见的一些问题
  3. android ListView中添加ImageButton按钮并绑定事件
  4. Activity去除标题栏和状态栏
  5. android添加广告之--有米
  6. Android(安卓)Studio 2.0 Preview发布,附下载地址,支持即时运行和
  7. androidmanifest.xml高级属性解析
  8. android 有关怎么自己添加系统级服务 java层 重点aidl
  9. Android(安卓)Studio之编译t提示Invoke-customs are only suppor

随机推荐

  1. Android(安卓)Tutorial: Optimizing for
  2. Android(安卓)seekbar 滑动时上方显示进
  3. Android(安卓)多媒体录制
  4. android屏幕解锁
  5. 老外写的在桌面添加快捷方式(DELPHI XE5 A
  6. Android(安卓)WebView加载本地Html文件
  7. Android监听键盘上的确定键等
  8. Android(安卓)Studio批量打包
  9. Android(安卓)BaseAdapter使用及listview
  10. 【Android】高德地图2DMap,隐藏“高德地图