ArcGIS has the concept of layers.
Layers are good, what tile layers, dynamic layers, graphics layers, imagery layers, and KML layers for Google.
Arcgistiledmapservicelayer Tile Layers
Arcgisdynamicmapservicelayer Dynamic Layers
Graphicslayer Graphics Layers
Featurelayer feature Layer
A tile layer is a static layer, which the server can cut first, or pre-cut with the cache. The goal is to display it quickly.
A dynamic layer is a server that instantly generates picture returns without pre-caching. Based on user request, calculation, instant generation. Data is updated in a timely manner, but at a slower pace.
A basemap can be either a tile layer or a dynamic layer.
Graphicslayer (graphics layer), a layer filled with various geometries. This is the most used layer we have. This layer is drawn by the client and, of course, the data may come from the server. But is drawn by the client. This is different from the tile layer and the dynamic layer. Tile layers, dynamic layers are drawn on the server side, and are sent back as pictures, and Graphicslayer comes back with a bunch of data. Featurelayer (feature layer) belongs to a graphics layer.
Image layer (Mapimagelayer), not very clear.
For layers, it's easy to understand where Photoshop is used. A map may be added by the base Basemap + a variety of diagram stacks. Although the layer is a logical concept, but the performance control, it is really like a transparent plastic, all kinds of graphics are drawn on it.
——————————————-2018.1.6
Layers, it is easy to confuse dynamic layers (Arcgistiledmapservicelayer) and feature layers (featurelayer). I now know that there are two ways to load a layer:
1. Use dynamic layers to load the entire map service, and then control the display of the layers in it, thus achieving the seemingly loaded effect of a layer.
2. Use the feature layer to load the specified layer separately.
What difference does it have. For now, as a faithful display of the layer, it should be done in the first way. As previously understood, dynamic layers are returned from the server with pictures, front-end impressions, and feature layers, which return data from the server and are drawn at the front. So, loading with a feature layer, you might miss something because the server only returns features or features that are unique to that layer (Feature).
When do you use Featurelayer? Drawing, when the layer is painting.