LuciadCPillar 2024.0.08
|
The MGRS grid class represents how to visualize the MGRS grid on a map. More...
#include <luciad/layers/grids/mgrs/MgrsGrid.h>
Classes | |
class | AdvancedBuilder |
Advanced builder for a MGRS grid. More... | |
class | Builder |
Builder for a MGRS grid. More... | |
Public Member Functions | |
MgrsGrid (const MgrsGrid &other) | |
MgrsGrid (MgrsGrid &&other) noexcept | |
~MgrsGrid () | |
const std::vector< MgrsGridSetting > & | getSettings () const |
Returns the MgrsGridSettings used to create this grid. More... | |
MgrsGrid & | operator= (const MgrsGrid &other) noexcept |
MgrsGrid & | operator= (MgrsGrid &&other) noexcept |
Static Public Member Functions | |
static AdvancedBuilder | newAdvancedBuilder () |
Creates a new builder with the default values. More... | |
static Builder | newBuilder () |
Creates a new builder with the default values. More... | |
The MGRS grid class represents how to visualize the MGRS grid on a map.
It combines one or more settings which determine which MGRS levels are displayed and how they are styled.
Create a default MGRS grid with predefined scale ranges and styling.
Create a default MGRS grid, with some tweaks to the default styling and scale ranges.
Start from an empty MGRS grid and add custom scale ranges and styling for a few MGRS levels.
The style settings in the grid may not overlap. Overlap occurs when the new style setting has the same type, same level and an overlapping scale range with an existing style setting.
luciad::MgrsGrid::MgrsGrid | ( | const MgrsGrid & | other | ) |
|
noexcept |
luciad::MgrsGrid::~MgrsGrid | ( | ) |
const std::vector< MgrsGridSetting > & luciad::MgrsGrid::getSettings | ( | ) | const |
Returns the MgrsGridSettings used to create this grid.
|
static |
Creates a new builder with the default values.
This builder allows you to configure the MGRS grid styling for every level, type, and scale range.
|
static |
Creates a new builder with the default values.
This builder comes with pre-defined settings for MGRS levels, types, and scale ranges. It allows you to customize the styling, for example the line style to use.