Grid layers don’t contain actual data. Their main purpose is to provide a visual, usually uniform reference that makes it easier to locate data. You can add such layers to the view using a layer builder.
Creating a predefined military grid
LuciadLightspeed offers these grid layer builders:
-
TLspMGRSGridLayerBuildercreates an MGRS grid. If necessary, you can change what grid lines and labels are displayed and how they are visualized, by configuring aTLspMGRSGridStyleobject on the layer builder. -
TLspGARSGridLayerBuildercreates a GARS grid. If necessary, you can change what grid lines and labels are displayed and how they’re visualized, by configuring aTLspGARSGridStyleobject on the layer builder. -
TLspCGRSGridLayerBuildercreates a CGRS grid. If necessary, you can change what grid lines and labels are displayed and how they’re visualized, by configuring aTLspCGRSGridStyleobject on the layer builder.
For a demonstration of these grid types, see the Lightspeed military grid sample.
Creating a custom military grid
The TLspXYGridLayerBuilder creates custom Cartesian grids. You can define it in the current world reference of the view, which results in an axis-aligned
grid, or in any reference of your choosing.