Background Grid
A background grid defines the default color and context grid for display behind a map or scene surface. The background grid determines what an empty MapView or scene Surface looks like. An instance of this class can be used to set a default backdrop that an ArcGISMap or ArcGISScene will display on top of.
Since
200.1.0
See also
Constructors
Creates a background grid with the specified properties. In a LocalSceneView, gridLineWidth and gridSize properties are not configurable.
Properties
True if grid lines are visible on the BackgroundGrid.color, false otherwise. In the context of MapView, this value indicates if the BackgroundGrid.lineColor is visible. In the context of SceneView and LocalSceneView, this value indicates if both the BackgroundGrid.color and the BackgroundGrid.lineColor are visible. The default value is true.
The width of the grid lines in device-independent pixels (DIP). This value must be greater than or equal to 0. Setting the grid line width to 0 will make grid lines invisible. The default value is 0.1. In a LocalSceneView, gridLineWidth is not configurable.
The size of each grid square in device-independent pixels (DIP). The default value is 20 x 20 pixels. In a LocalSceneView, gridSize is not configurable.