Class MgrsGridTextProvider

java.lang.Object
com.luciad.layers.grids.mgrs.MgrsGridTextProvider
All Implemented Interfaces:
AutoCloseable

public final class MgrsGridTextProvider extends Object implements AutoCloseable
An MGRS text provider that notifies callbacks whenever the currently visible zone/square of a given Map changes.

Typically used to update a UI element in combination with an MGRS grid on the map, although this is not mandatory.

The text is formatted with a maximum precision of 100km squares.

MgrsGridTextProvider must be instantiated on the UI thread, and its registered ICallbacks are only called on the UI thread.

See the Working with MGRS article for more information.

Since:
2023.1