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

更新内容官方描述

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 sdk
  2. android高版本系统源码下载和编译刷机
  3. 在Android Studio更改现有项目里的SDK版本
  4. 在4.0以上系统中应用出现2.3版本的系统UI
  5. Android中NDK各版本下载
  6. Android获取apk的版本及包名等信息
  7. android SDK编译版本修改
  8. Android学习笔记之——Android Studio的安装(3.6版本)、Java的基本
  9. Android开发学习总结(一)——搭建最新版本的Android开发环境

随机推荐

  1. android gesture检测
  2. Phonegap软键盘遮挡输入框问题
  3. 漫谈Android安全框架
  4. Android开发者指南(11) ―― Optimizing
  5. Android NDK环境搭建
  6. Android(安卓)Lifecycle 生命周期管理
  7. HelloWorld-----Google手机操作系统Andro
  8. android客户端与服务端交互的三种方式
  9. android browser 的几个小feature (一)
  10. Android(安卓)地区语言和简写对照表