Summary
In this chapter you learned that graphics are often used to represent information that is generated as the result of actions performed within a working application. Frequently these graphics are returned as the result of a task, such as an attribute or spatial query. Graphics include points, lines, polygons, and text. These are temporary objects, displayed only during the current browser session. Each graphic can be composed of geometry, symbology, attributes, and an Infotemplate
, and is added to the map through the use of a GraphicsLayer
which sits on top of all the map service layers to ensure that the contents of the GraphicsLayer
are always visible. In the next chapter we'll introduce you to the FeatureLayer
, which can do everything that a GraphicsLayer
can do and more!