Builder for creating a luciad::MgrsGridLayer.
More...
#include <luciad/layers/grids/mgrs/MgrsGridLayer.h>
Builder for creating a luciad::MgrsGridLayer.
Configuration on how to display the MGRS grid is done using a luciad::MgrsGrid which can be created using a luciad::MgrsGrid::Builder.
- Since
- 2023.1
◆ Builder() [1/2]
luciad::MgrsGridLayer::Builder::Builder |
( |
const Builder & |
other | ) |
|
◆ Builder() [2/2]
luciad::MgrsGridLayer::Builder::Builder |
( |
Builder && |
other | ) |
|
|
noexcept |
◆ ~Builder()
luciad::MgrsGridLayer::Builder::~Builder |
( |
| ) |
|
◆ build()
std::shared_ptr< MgrsGridLayer > luciad::MgrsGridLayer::Builder::build |
( |
| ) |
const |
Returns the MGRS layer.
- Returns
- a layer, based on the properties set on this builder.
- Exceptions
-
◆ grid()
Sets the MGRS grid settings.
- Parameters
-
grid | the MGRS grid settings. |
- Returns
- this builder.
◆ labeled()
Builder & luciad::MgrsGridLayer::Builder::labeled |
( |
bool |
labeled | ) |
|
Sets whether the layer should display labels initially.
Default is true
.
- Parameters
-
labeled | whether the layer should display labels initially. |
- Returns
- this builder.
◆ operator=()
◆ title()
Builder & luciad::MgrsGridLayer::Builder::title |
( |
std::string |
title | ) |
|
Sets the title to use for the layer.
If not set, the title defaults to 'MGRS'.
- Parameters
-
title | the title for the layer. |
- Returns
- this builder.
◆ visible()
Builder & luciad::MgrsGridLayer::Builder::visible |
( |
bool |
visible | ) |
|
Sets whether the layer should be visible initially.
Default is true
.
- Parameters
-
- Returns
- this builder.