带有本地图像的ArcGISTiledMapServiceLayer

时间:2015-09-01 19:07:30

标签: android gis arcgis

我是GIS和ArcGIS框架的新手。我正在查看适用于Android的ArcGIS Runtime SDK。我理解ArcGISTiledMapServiceLayer使用缓存的图像作为基础层将其呈现在屏幕上。这些图像需要通过REST服务提供。是否可以将此类与本地存储的图像一起使用,比如SD卡?

1 个答案:

答案 0 :(得分:0)

您可以这样做,但不能使用ArcGISTiledMapServiceLayer课程。改为使用RasterLayer类。

ArcGISTiledMapServiceLayer仅适用于ArcGIS缓存地图服务。如果要显示本地图像,请改用RasterLayersample codemore documentation)。如果要显示本地磁贴包或压缩缓存,请改用ArcGISLocalTiledLayer。如果您不确定要使用哪种类型的图层,请查看documentation on layer types