LuciadCPillar C# 2023.1.04
|
Builder for a LonLat grid. More...
Creates a LonLat grid with predefined scale ranges and default (customizable) styling. 2023.1
|
inline |
|
inline |
Returns the LonLat grid.
luciad::LonLatGrid for information on the constraints for a LonLat grid.
the LonLat grid.
luciad::LogicException
when the settings are invalid.
|
inline |
|
inline |
This specifies the offset of the label, away from the edges of the view, in device independent pixels.
This is applied to all style settings in the grid. This is optional. Defaults to 6.
labelEdgeOffset
the edge offset value. Must be >= 0.
this builder.
luciad::InvalidArgumentException
when an invalid value is passed.
luciad::LonLatGridSetting::Builder::labelEdgeOffset
|
inline |
This specifies the offset of the label, in device independent pixels, away from the grid line to which it is attached.
This is applied to all style settings in the grid. This is optional. Defaults to 3.
labelGridOffset
the grid offset value. Must be >= 0.
this builder.
luciad::InvalidArgumentException
when an invalid value is passed.
luciad::LonLatGridSetting::Builder::labelGridOffset
|
inline |
This specifies the label orientation with respect to the line.
This is applied to all style settings in the grid. This is optional. Defaults to AlongLine.
labelOrientation
the label orientation.
this builder.
luciad::LonLatGridSetting::Builder::labelOrientation
|
inline |
This specifies the label position with respect to the view.
They can for example be placed at the left or at the right edge of the view. For example, when a label is placed at the east or south side of a line, it is placed at the left or lower edge of the view when using a rectangular projection like Mercator. This is applied to all style settings in the grid. This is optional. Defaults to AllSides.
labelPosition
the label position.
this builder.
luciad::LonLatGridSetting::Builder::labelPosition
|
inline |
Indicates the label style to use for the LonLat grid.
labelStyle
the label style.
this builder.
|
inline |
This specifies the label position (with respect to the line) to use for the line labels.
They can for example be placed at the left or at the right of the line. This is applied to all style settings in the grid. This is optional. Defaults to AboveOrLeft.
lineLabelPosition
the line label position.
this builder.
luciad::LonLatGridSetting::Builder::lineLabelPosition
|
inline |
Indicates the line style to use for the LonLat grid.
lineStyle
the line style.
this builder.
|
inline |
Indicates the origin label style to use for the LonLat grid.
labelStyle
the label style.
this builder.
|
inline |
Indicates the origin latitude.
This is optional. Defaults to 0.
originLat
the origin latitude.
this builder.
luciad::InvalidArgumentException
when the origin latitude is smaller than -90 or larger than 90.
|
inline |
Indicates the origin line style to use for the LonLat grid.
lineStyle
the line style.
this builder.
|
inline |
Indicates the origin longitude.
This is optional. Defaults to 0.
originLon
the origin longitude.
this builder.
luciad::InvalidArgumentException
when the origin longitude is smaller than -180 or larger than 180.
|
inline |
Indicates the scale multiplier to use for the LonLat grid scale ranges.
The value must be within the range [0.1, 10.0]. A value larger than 1 makes the grid lines appear later when zooming in. This results in a coarser grid. A value below 1 makes the grid lines appear sooner when zooming in. This results in a finer grid.
scaleMultiplier
the scale multiplier.
this builder.
luciad::InvalidArgumentException
when an invalid value is passed.