Summary
The FeatureLayer
class is used for working with client-side graphics features. The FeatureLayer
inherits from the GraphicsLayer
, but it also offers additional capabilities such as the ability to perform queries and selections and supports definition expressions. The FeatureLayer
can also be used for web editing. A FeatureLayer
differs from tiled and dynamic map service layers because the feature layers bring geometry and attribute information across to the client computer to be drawn by the web browser. This can reduce the round trips to the server, and thereby improve the performance of your application. A client can request the features it needs, and perform selections and queries on those features without having to request more information from the server. The FeatureLayer
is especially useful for layers that respond to user interactions such as mouse clicks or hovers. The ability to handle all that in the browser without making multiple requests of the server makes your application...