- A graphics overlay is a client-side, temporary container of graphics
A graphic is a visual element composed of a geometry, symbol, and attributes that is displayed on a map or scene. to display on a map viewA map view is a user interface that displays map layers and graphics in 2D. It controls the area (extent) of the map that is visible and supports user interactions such as pan and zoom. or scene viewA scene view is a user interface that displays scene layers and graphics in 3D. It uses a camera to control the visible area of the scene and supports user interactions such as pan, zoom, tilt, and rotate. . Graphics overlays (and the graphics they contain) are created dynamically and are available only while the application is running. Unlike a feature layerA feature layer (client-side) is a data layer that can access and display features from a feature service that has the same type of geometry and attribute fields. , which stores only those features that share a geometry type, a graphics overlay can store graphics with differing geometry types, such as a combination of pointsA point is a type of geometry containing a single set of , linesx,ycoordinates and a spatial reference.A polyline is a type of geometry containing ordered point coordinates and a spatial reference. , and polygonsA polygon is a type of geometry containing an array of rings and a spatial reference. Each ring contains an array of point coordinates, where the first and last point are the same. . Graphics in a graphics overlay can also have differing sets of attributesAttributes are fields and values for a single feature or non-spatial record. They are typically stored in a database or service such as a feature service. . For example, a graphics overlay can contain a point graphic representing a location with one attribute, a line graphic representing a train track with two attributes, and a polygon graphic representing an area boundary with three attributes.
Also known as
- graphics layer
Related terms
- graphic
A graphic is a visual element composed of a geometry, symbol, and attributes that is displayed on a map or scene.