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. LuciadLightspeed allows you to add such grid layers to your GXY view.

Creating a predefined military grid

LuciadLightspeed offers these grid layer implementations:

  • TLcdMGRSGridLayer: based on the MGRS coordinate system. As opposed to a longitude-latitude grid block, a block in an MGRS grid always covers an area of the same size, independent of its location on earth. If necessary, you can change what grid lines and labels are displayed and how they’re visualized by configuring a TLcdMGRSGridStyle object on the layer builder.

  • GARSGridLayer: a sample layer implementation that creates a GARS grid.

  • CGRSGridLayer a sample layer implementation that creates a CGRS grid.

For a demonstration of these grid types, see the GXY military grid sample.

Creating a custom military grid

The How to display a grid in your GXY view article contains more information about defining custom grids.