Mapview
Mapview is a subclass of ViewGroup in Android and a map container in ArcGIS Runtime SDK for Android, as is the case with the map, Mapcontrol classes in many ArcGIS APIs.
Mapview you can add one or more layers, and the layers are only added to the Mapview container for display.
Layer
Layers are a very important concept in GIS, and layers are the carrier of spatial data, which can be used to load various types of map data, but only if the layer is added to the Mapview object.
- Arcgistiledmapservicelayer
- The Arcgistiledmapservicelayer layer corresponds to the tiling service in the ArcGIS for Server service, and the slices are done in advance, and Arcgistiledmapservicelayer cannot make changes to the data in the layer. Unless the service cache is updated, this type of data query is not allowed on ArcGIS for Android, and is typically used as a basemap.
- Arcgisdynamicmapservicelayer
- The Arcgisdynamicmapservicelayer layer corresponds to the dynamic service in the ArcGIS for Server service, and the map data for the dynamic map service is read according to the mobile device scope, usage and Arcgistiledmapservicelayer Layers are the same. Arcgisdynamicmapservicelayer layers typically contain multiple layers, which are rendered by the server on request and returned as Rasterimage, and the raster returned does not contain additional information feature. Its feature is the update is very convenient, and can be presented to the user in a timely manner, while the visibility of the layer and the spatial reference can be changed, you can add a separate layer definition, arcgisserver for each image dynamic projection. The spatial reference of a map is determined by the first loaded layer.
- Its performance characteristics: its rendering time depends on the number and complexity of the requested data, so it is generally slower than tiled map server, so it is suitable for data changes often, or need to be different users to present different data, and feature information (such as attributes, Geometry,symbol, etc.) do not need the situation.
- Arcgisfeaturelayer
- The layer can be a spatial layer or a non-spatial table that contains information about many features and each feature is rendered separately.
Basic concepts of Arcgis Android-talking about